[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=17355673#comment-17355673 ]

Olivier Heintz commented on OFBIZ-11810:
----------------------------------------

This commit generate a bug, currently I  don't understand why, I'm just able to describe it.

Description: RequestSubTabBar in OrderMenus.xml, => button "Create Quote From Request"

Before this patch, it works, now not

+Before, the generate link is+ : javascript:document.RequestSubTabBar_createQuoteFromRequest_LF_7_.submit()

+After, the generate link is :+ javascript:ajaxSubmitFormUpdateAreas('RequestSubTabBar_createQuoteFromRequest_LF_6_', '/ordermgr/control/createQuoteFromCustRequest?custRequestId=10000')

> 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
>            Assignee: Nicolas Malin
>            Priority: Major
>              Labels: screen, widget
>             Fix For: Upcoming Branch
>
>         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)