Hi Jacopo,

This was done on purpose, because now it is possible to show the
information with a right mouse click in  a separate window. If we use
parameters, then this is not possible. Please also note that these links
do not update any info, they just show.

Thanks anyway taking the time to look at it.

Regards,
Hans

On Fri, 2011-01-28 at 10:19 +0100, Jacopo Cappellato wrote:
> 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, [email protected] 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>
> > 
> > 
> 

-- 
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Myself on twitter: http://twitter.com/hansbak
Antwebsystems.com: Quality services for competitive rates.

Reply via email to