if you call service through controller event, I think result map containing partyid_OUT_VariableName is set to request attribute.
On Fri, Dec 12, 2008 at 10:54 PM, Jacek Wagner <jacek_wag...@berkeley.edu>wrote: > createCustomer before change: > ....... > <call-service service-name="createPersonAndUserLogin" > in-map-name="personUserLoginContext"> > <result-to-field result-name="partyId" map-name="tempMap"/> > <result-to-field field-name="createdUserLogin" > result-name="newUserLogin"/> </call-service> > ......... > createCustomer after change: > ...... > <call-service service-name="createPersonAndUserLogin" > in-map-name="personUserLoginContext"> > <result-to-field result-name="partyId" map-name="tempMap"/> > <result-to-field field-name="createdUserLogin" > result-name="newUserLogin"/> </call-service> > <field-to-result map-name="tempMap" field-name="partyId" > result-name="partyId_OUT_VariableName"/> > ...... > > Result: any reference to tempMap, partyId or partyid_OUT_VariableName in > subsequent screen widget shows no data > > Jacek > > > Abhishake Agarwal wrote: > >> try <field-to-result map-name="tempMap" field-name="partyId" >> result-name="partyId_OUT_VariableName"/> >> >> On Fri, Dec 12, 2008 at 9:32 PM, Jacek Wagner <jacek_wag...@berkeley.edu >> >wrote: >> >> >> >>> CJay, >>> >>> I have already tried to use tempMap in the subsequent screen widget >>> >>> <set field="partyId" from-field="tempMap"/> ; did not work >>> >>> Jacek >>> >>> >>> >>> CJay Horton wrote: >>> >>> >>> >>>> Jacek, >>>> >>>> I am new to ofbiz, but perhaps what you are looking for is here and >>>> the lines below it in the method: >>>> >>>> <call-service service-name="createPersonAndUserLogin" >>>> in-map-name="personUserLoginContext"> >>>> <result-to-field result-name="partyId" map-name="tempMap"/> >>>> <result-to-field field-name="createdUserLogin" >>>> result-name="newUserLogin"/> >>>> </call-service> >>>> >>>> Calls the simple method createPersonAndUserLogin located in >>>> PartySimpleMethods.xml >>>> >>>> I hope this is what you are looking for. >>>> >>>> -CJ >>>> >>>> >>>> >>>> >>> >>> >> >> >> > >