It's ok for ${returnHeader.fromPartyId}${externalKeyParam}

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

It's ok for ${returnHeader.fromPartyId}${externalKeyParam}

Jacques Le Roux
Administrator
Forgot the 1st mail about this issue, there was a typo in, and I found other cases where 2 string are concatenated like that, so
it's ok

In applications/order/webapp/ordermgr/return/ReturnForms.xml, it's migrated like that

        <field name="newCreditCard" widget-style="buttontext"
use-when="returnHeader!=null&amp;&amp;returnHeader.getString(&quot;fromPartyId&quot;)!=null">
            <hyperlink also-hidden="false" target="/partymgr/control/editcreditcard" target-window="partymgr"
description="${uiLabelMap.AccountingCreateNewCreditCard}" target-type="inter-app">
                <parameter param-name="partyId" value="${returnHeader.fromPartyId}${externalKeyParam}"/>
            </hyperlink>
        </field>


        <field name="fromPartyId" title="${uiLabelMap.OrderReturnFromParty}">
            <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName} ${firstName}
${lastName}">
                <sub-hyperlink link-style="buttontext" target-type="inter-app" description="${fromPartyId}"
target="/partymgr/control/viewprofile">
                    <parameter param-name="partyId" value="fromPartyId}${externalKeyParam"/>
                </sub-hyperlink>
            </display-entity>
        </field>


        <field name="destinationFacilityId" widget-style="buttontext" title="${uiLabelMap.OrderReturnDestinationFacility}">
            <hyperlink target-type="inter-app" description="${destinationFacilityId}" target="/facility/control/EditFacility">
                <parameter param-name="facilityId" value="destinationFacilityId}${externalKeyParam"/>
            </hyperlink>
        </field>

Jacques