You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Erwan de FERRIERES (JIRA)" <ji...@apache.org> on 2011/04/13 08:06:05 UTC

[jira] [Assigned] (OFBIZ-4249) error in pagination target with on-event-update-area parameters

     [ 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