[ https://issues.apache.org/jira/browse/OFBIZ-11811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicolas Malin updated OFBIZ-11811: ---------------------------------- Summary: on-event-update-area on form inherit information from parent form (was: on-event-update-area on form inherit information from form parent) > on-event-update-area on form inherit information from parent form > ----------------------------------------------------------------- > > Key: OFBIZ-11811 > URL: https://issues.apache.org/jira/browse/OFBIZ-11811 > Project: OFBiz > Issue Type: Sub-task > Components: framework/widget > Affects Versions: Trunk > Reporter: Nicolas Malin > Priority: Major > Labels: screen, widget > Attachments: OFBIZ-11811.patch > > > 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. > {code:xml} > <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>{code} > 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 > {code:xml} > <form name="FindFacility" extends="CommonDynamicList" > extends-resource="component://common/widget/CommonForms.xml" > paginate-target="FindFacility"> > <actions>... > <field name="facilityId">.... > </form>{code} -- This message was sent by Atlassian Jira (v8.3.4#803005)