James McGill wrote:
On Fri, Jun 4, 2010 at 11:51 AM, Jacques Le Roux < [email protected]> wrote:Ha yes, you need to feed facilityId from parm0 in the lookup screen Something like <set field="parameters.facilityId " from-field="parameters.parm0" default-value="${parameters.facilityId }"/> HTH JacquesI don't believe the usage of target-parameter is documented anywhere,
Wrong, it is into widget-form.xsd for years. I just improved the documentation at http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/dtd/widget-form.xsd?r1=951672&r2=951671&pathrev=951672
but there is one example in applications/marketing/widget/ContactListScreens.xml#LookupPreferredContactMech I thought the idea was that you could use target-parameter to inject named parameter/values into the query. It turns out that you have to change the lookup screen to accept "paramN" parameters explicitly.
Yes, I must say I got caught by this one too the 1st time I used it. We are like spoiled child, no not all is magic in OFBiz (some volunteers work underneath ;o) Jacques
