[jira] [Commented] (OFBIZ-11810) Element link can update partial area

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-11810) Element link can update partial area

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-11810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17285986#comment-17285986 ]

ASF subversion and git services commented on OFBIZ-11810:
---------------------------------------------------------

Commit 5229d572df72f23601253a32b565c50c72b6bd19 in ofbiz-framework's branch refs/heads/trunk from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=5229d57 ]

Implemented: Element link can update partial area
(OFBIZ-11810)

   Currently when you want to display an information easily on sub-screen
dynamically (example as related element) is currently not possible without
write specific js code.
   To simplify it, we introduce a new link type: update-area, to indicate
to the theme that we want to refresh  a local area with the call result.

   Example :
       <link target="ListCategoryProductMembers" link-type="update-area" target-window="detail">
           <parameter param-name="productCategoryId"/>
       </link>

For this example we indicate that the display result of target 'ListCategoryProductMembers' is going
on the area identify by 'detail'. Pleasure to the theme to manage it.


> Element link can update partial area
> ------------------------------------
>
>                 Key: OFBIZ-11810
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11810
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework/widget
>    Affects Versions: Trunk
>            Reporter: Nicolas Malin
>            Priority: Major
>              Labels: screen, widget
>         Attachments: OFBIZ-11808-OFBIZ-11810.patch
>
>
> Currently when you want to display an information easily on sub-screen dynamically (example as related element) is currently not possible without write specific js code. A easy step would be add a new link type: update-area, to indicate to the theme that we want to refresh after the call only a local area.
> {code:xml}
>             <link target="ListCategoryProductMembers" link-type="update-area" target-window="detail">
>                 <parameter param-name="productCategoryId" from-field="productCategory.productCategoryId"/>
>             </link>
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)