[jira] [Commented] (OFBIZ-5847) If define the & and combine with "part" that encode to ∂

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

[jira] [Commented] (OFBIZ-5847) If define the & and combine with "part" that encode to ∂

Nicolas Malin (Jira)

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

Nicolas Malin commented on OFBIZ-5847:
--------------------------------------

Hi Supachai, Francis,

The reason is that the parameters with present directly on the target value. It's better to use parameter element to set your values.

You can see the correction below :
{code}
-            <link target="${parameters._LAST_VIEW_NAME_}?portalPageId=${parameters.portalPageId}&amp;partyId=${parameters.partyId}&amp;editPartyRel=Y"/>
+            <link target="${parameters._LAST_VIEW_NAME_}">
+                <parameter param-name="partyId"/>
+                <parameter param-name="portalPageId"/>
+                <parameter param-name="editPartyRel" value="Y"/>
+            </link>
{code}



> If define the &amp; and combine with "part" that encode to ∂
> ------------------------------------------------------------
>
>                 Key: OFBIZ-5847
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5847
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL APPLICATIONS
>    Affects Versions: Trunk
>            Reporter: Supachai Chaima-ngua
>            Assignee: Nicolas Malin
>              Labels: encode, url
>             Fix For: Trunk, 12.04.06, 13.07.02
>
>
> XML widget problems: If define the &amp; and combine with "part" that encode to ∂
> Example >>>
> BEFORE: viewprofile?status=Y&amp;partyId=Demo
> AFTER: viewprofile?status=Y∂yId=Demo



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)