[
https://issues.apache.org/jira/browse/OFBIZ-4249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erwan de FERRIERES reassigned OFBIZ-4249:
-----------------------------------------
Assignee: Erwan de FERRIERES
> error in pagination target with on-event-update-area parameters
> ---------------------------------------------------------------
>
> Key: OFBIZ-4249
> URL: https://issues.apache.org/jira/browse/OFBIZ-4249
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Gaudin Pierre
> Assignee: Erwan de FERRIERES
> Attachments: MacroFormRenderer.java.patch
>
>
> In forms, when we use the tag "on-event-update-area" with parameters, in
> certain case the parameters of the tag are not taken back in the links of
> pagination.
> This is due to the fact that in certain case the url of pagination contains
> an anchor at the end of the link and parameters of the tag
> "on-event-update-area" are added after this anchor.
> This patch corrects this problem by adding the parameters of the tag
> "on-event-update-area" before parameter of the form and thus before those of
> the anchor.
> This is the old url : portalPortletId is a parameter of tag
> "on-event-update-area"
> javascript:ajaxUpdateAreas('hhh,/myportal/control/ggg,portalPageId=MYPORTAL_EMPLOYEE1&parentPortalPageId=MYPORTAL_EMPLOYEE&partyId=admin&noConditionFind=N&VIEW_SIZE_2=3&VIEW_INDEX_2=1#portalPortletId=ListProduct')
> This is the url patched :portalPortletId is a parameter of tag
> "on-event-update-area"
> javascript:ajaxUpdateAreas('hhh,/myportal/control/ggg,portalPortletId=ListProduct&portalPageId=MYPORTAL_EMPLOYEE1&parentPortalPageId=MYPORTAL_EMPLOYEE&partyId=admin&noConditionFind=N&VIEW_SIZE_2=3&VIEW_INDEX_2=1#')
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira