Hi Hans,

please use the <parameter> element for the parameters (like "partyId" and 
"productId") in the links.

Regards,

Jacopo

On Jan 28, 2011, at 6:53 AM, hans...@apache.org wrote:

> Author: hansbak
> Date: Fri Jan 28 05:53:29 2011
> New Revision: 1064466
> 
> URL: http://svn.apache.org/viewvc?rev=1064466&view=rev
> Log:
> make 2 more fields clickable to party and catalog info
> 
> Modified:
>    ofbiz/trunk/applications/order/widget/ordermgr/RequirementForms.xml
> 
> Modified: ofbiz/trunk/applications/order/widget/ordermgr/RequirementForms.xml
> URL: 
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/RequirementForms.xml?rev=1064466&r1=1064465&r2=1064466&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/order/widget/ordermgr/RequirementForms.xml 
> (original)
> +++ ofbiz/trunk/applications/order/widget/ordermgr/RequirementForms.xml Fri 
> Jan 28 05:53:29 2011
> @@ -314,9 +314,13 @@ under the License.
>         </field>
>         <field name="facilityId"><display/></field>
>         <field name="partyId" title="${uiLabelMap.ProductSupplier}">
> -            <display 
> description="${groovy:org.ofbiz.party.party.PartyHelper.getPartyName(delegator,
>  partyId, false);}"/>
> +            <display-entity entity-name="PartyNameView" 
> description="${LastName} ${firstName} ${middleName} ${groupName}">
> +                <sub-hyperlink 
> target="/partymgr/control/viewprofile?partyId=${partyId}" 
> description="[${partyId}]" target-type="inter-app"/>
> +            </display-entity>
> +        </field>
> +        <field name="supplierProductId" 
> title="${uiLabelMap.ProductSupplierProductId}">
> +            <hyperlink 
> target="/catalog/control/EditProductSuppliers?productId=${productId}" 
> description="${supplierProductId}" target-type="inter-app"/>
>         </field>
> -        <field name="supplierProductId" 
> title="${uiLabelMap.ProductSupplierProductId}"><display/></field>
>         <field name="idValue" 
> title="${uiLabelMap.ProductUPCA}"><display/></field>
>         <field name="minimumOrderQuantity" 
> widget-area-style="align-text"><display/></field>
>         <field name="lastPrice" widget-area-style="align-text"><display 
> type="currency" currency="${currencyUomId}"/></field>
> 
> 

Reply via email to