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 <[email protected]>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