Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-11808 Improve screen engine with decrease technology dependence
  3. OFBIZ-11811

on-event-update-area on form inherit information from parent form

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Implemented
    • Trunk
    • None
    • framework/widget

    Description

      When you write a form, if you want the dynamic interaction and style, you need to implement all on the form.
      The developer must know the style used, different area and rules support by the technology besides the really information/action that the form will do.

      <form name="FindFacility" type="list" list-name="listIt" paginate-target="FindFacility"
       odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
       <actions>...
       <field name="facilityId">....
       <on-event-update-area event-type="sort-column" area-id="search-results" area-target="FacilitySearchResults"/>
       <on-event-update-area event-type="paginate" area-id="search-results" area-target="FacilitySearchResults"/>
       </form>

      We can put all information on the theme and all dynamic refresh (for area) are related to the parent form and parent screen. Finally we obtains

      <form name="FindFacility" extends="CommonDynamicList" extends-resource="component://common/widget/CommonForms.xml"
       paginate-target="FindFacility">
       <actions>...
       <field name="facilityId">....
       </form>

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nmalin Nicolas Malin
            nmalin Nicolas Malin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment