Christian Carlow created OFBIZ-6453:
---------------------------------------

             Summary: <menu-item> <link> does not handle more than one of the 
same named <parameter>
                 Key: OFBIZ-6453
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6453
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: Trunk
            Reporter: Christian Carlow
            Priority: Minor


Multi-dropdown widget fields cannot be set to multiple values using <menu-item> 
<link> <parameters> because parameters with the same name get rendered as 
whatever what last defined.  For example:

{code}
         <menu-item name="customerRequest" title="Customer Quote Requests">
            <link target="/ordermgr/control/FindRequest" url-mode="inter-app">
                <parameter param-name="custRequestTypeId" value="RF_QUOTE"/>
                <parameter param-name="fromPartyId" value="Company"/>
                <parameter param-name="statusId" value="CRQ_DRAFT"/>
                <parameter param-name="statusId" value="CRQ_SUBMITTED"/>
            </link>
        </menu-item>
{code}

gets rendered as 
https://localhost:8443/ordermgr/control/FindRequest?externalLoginKey=EL632504860157&fromPartyId=Company&statusId=CRQ_SUBMITTED&custRequestTypeId=RF_QUOTE

A workaround is to define same named parameters in the target string but its 
insufficient for other link-types like hidden-form.




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

Reply via email to