You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Gaudin Pierre (JIRA)" <ji...@apache.org> on 2011/04/12 22:42:05 UTC
[jira] [Created] (OFBIZ-4249) error in pagination target with
on-event-update-area parameters
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
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
[jira] [Commented] (OFBIZ-4249) error in pagination target with
on-event-update-area parameters
Posted by "Gaudin Pierre (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025414#comment-13025414 ]
Gaudin Pierre commented on OFBIZ-4249:
--------------------------------------
Many thanks Erwan !
> 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
> Fix For: SVN trunk
>
> 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
[jira] [Assigned] (OFBIZ-4249) error in pagination target with
on-event-update-area parameters
Posted by "Erwan de FERRIERES (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (OFBIZ-4249) error in pagination target with
on-event-update-area parameters
Posted by "Gaudin Pierre (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gaudin Pierre updated OFBIZ-4249:
---------------------------------
Attachment: MacroFormRenderer.java.patch
> 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
> 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
[jira] [Updated] (OFBIZ-4249) error in pagination target with
on-event-update-area parameters
Posted by "Gaudin Pierre (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gaudin Pierre updated OFBIZ-4249:
---------------------------------
Attachment: (was: MacroFormRenderer.java.patch)
> 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
> 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
[jira] [Closed] (OFBIZ-4249) error in pagination target with
on-event-update-area parameters
Posted by "Erwan de FERRIERES (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erwan de FERRIERES closed OFBIZ-4249.
-------------------------------------
> 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
> Fix For: SVN trunk
>
> 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
[jira] [Updated] (OFBIZ-4249) error in pagination target with
on-event-update-area parameters
Posted by "Gaudin Pierre (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gaudin Pierre updated OFBIZ-4249:
---------------------------------
Attachment: MacroFormRenderer.java.patch
> 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
> 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