Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OFBIZ-11756 vue js renderer #169

Open
wants to merge 15 commits into
base: trunk
Choose a base branch
from

Commits on Aug 24, 2021

  1. Improved: area-id in event-update-area is now a stringExpander (OFBIZ…

    …-11757)
    
    It's now possible to use ${ for area-id
    holivier committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    dff7e08 View commit details
    Browse the repository at this point in the history
  2. Improved: add use-when for xxx-event-update-area (OFBIZ-11758)

    1. add "use-when" management in the xsd and in the modelForm.UpdateArea,
    2. add in modelForm a static method to return a valid list of updateArea
    from a list of updateArea and context
    3. duplicate all methods returning a list of updateArea, by same name
    but with context as parameters which return only valid updateArea list
    (ex: in formFieldBuilder for getOnClickUpdateAreas and
    getOnChangeUpdateAreas)
    holivier committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    8f0741d View commit details
    Browse the repository at this point in the history
  3. Improved: add toMap() method in updateArea class, it's needed to send…

    … a updateArea list in json format (OFBIZ-11759)
    holivier committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    a7f901b View commit details
    Browse the repository at this point in the history
  4. Improved: Manage http method in link and in on-field-event-update-are…

    …a (OFBIZ-11760)
    
    In link, added in url-mode and
    in on-field-event-update-area added in event-type.
    
    Add post,put, delete (get is the default)
    holivier committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    0a19db9 View commit details
    Browse the repository at this point in the history
  5. Improved: add parameters as children of on-field-event-update-area, s…

    …ame as for on-event-update-area (OFBIZ-11761)
    
    Not necessary to modify model*.java because it's manage by update-area
    object in the two case
    holivier committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    b5ed892 View commit details
    Browse the repository at this point in the history
  6. Improved: Add set-area and set-watcher for container level (OFBIZ-11763)

    * add attribute watcher-name for tag container
    * add in link-type enum set-area, refresh-area and set-watcher,
    refresh-watcher
    * add in xxx-event-update-area, in event-type enum set-area,
    refresh-area and set-watcher, refresh-watcher
    
    Concept is:
    1. container is the main piece of dynamics screen (update a part of
    screen on event), a new attribute is added watcher-name, and existing
    one auto-update-target is using as target
    
    2. There are two/four new "action" usable by link - hyperlink
     * set-area (and refresh-area)
     * set-watcher (and refresh-watcher)
    
    3. set-area is used to update a containerId, and, most of the time, uses
    only for included containerId
    set-watcher put some "parameters" in a watcher-name
    
    4. when the content of a whatcher-name change, all containerId which
    watch it, use their auto-update-target as target and watcher-name
    content as parameters to update the container content.
    
    5. refresh-area is similar with set-area but target used will be the
    auto-update-target define at the container level and, if a watcher-name
    is define for this container, it's content will be used as parameters
    (for solving {} in target or as parameters if no {} in target.
    holivier committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    42a487b View commit details
    Browse the repository at this point in the history
  7. Improved: on-field-event-update-area: add commit as event-type (OFBIZ…

    …-11764)
    
    it's a click event, when click the form is submitted
    holivier committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    ee3471b View commit details
    Browse the repository at this point in the history
  8. Improved: on-field-event-update-area: add set-field-in-form as event-…

    …type (OFBIZ-11765)
    
    it's a click event, when click the field is update, it's useful in
    lookup form to update field from which the lookup has been call
    
    No modification in renderer in this commit
    holivier committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    1ec4ad3 View commit details
    Browse the repository at this point in the history
  9. Improved: event-update-area (field and form level): add collapse as e…

    …vent-type (OFBIZ-11766)
    
    it's a click event, when click all the screenlet with the areaId are
    collapse
    
    No modification in renderer in this commit
    area-target can be used to detail action to do toggle, collapse or
    expand
    holivier committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    61f1711 View commit details
    Browse the repository at this point in the history
  10. Improved: event-update-area (field and form level): add close-modal a…

    …s event-type (OFBIZ-11767)
    
    it's a click event, when click one or all open modal area closed.
    it's use for lookup and for modal created with link with layered-modal
    
    No modification in renderer in this commit
    holivier committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    faa979e View commit details
    Browse the repository at this point in the history
  11. Improved: add vuejs as children tag of html tag in screen (OFBIZ-11768)

    this tag is used to call vuejs specifics component in the standard vuejs
    application (the vuejs renderer).
    vuejs specifics components are similar to ftl files in html standard
    renderer.
    holivier committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    8e46fd8 View commit details
    Browse the repository at this point in the history
  12. Improved: Add icon management, name and tooltips abstraction

    (OFBIZ-11769)
    
    two properties files, to be able to use a logical name not a "path"
    holivier committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    38f8537 View commit details
    Browse the repository at this point in the history
  13. Improved: Add watcherName as new field in PortalPagePortlet entity (O…

    …FBIZ-11770)
    
    When a watcherName is associated to a Portal - Portlet, it's used to
    created a container (with this watcher) "around" the portlet, and so be
    able to update it with a set-area, refresh-area, set-watcher,
    refresh-watcher
    holivier committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    11447fe View commit details
    Browse the repository at this point in the history
  14. Improved: add auto-parameters-portlet as children of (OFBIZ-11771) ev…

    …ent-update-area (field and form).
    
    auto-parameters-portlet add for parameters in parameters-map:
    - portalPageId
    - portalPortletId
    - portletSeqId
    - currentAreaId
    auto-parameters-portlet is used by showPortlet to be able to renderer
    only one portlet, because often, it's necessary to have the 4 parameters
    for a future other update (ex: button back)
    holivier committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    b110e2c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f59edde View commit details
    Browse the repository at this point in the history