Moqui - Issue retaining/passing the URL parameter -


i have referred similar issue on github (issue#18), nothing there worked me.

i trying use following transition/service:

<transition name="storecontactinfo">     <service-call name="mantle.party.contactservices.store#partycontactinfo" in-map="context" out-map="context" />     <default-response url="." /> </transition> 

the url parameter screen workeffortid, gets stripped url once transition run.

i tried, no avail:

<transition name="storecontactinfo">     <path-parameter name="workeffortid"/>     <service-call name="mantle.party.contactservices.store#partycontactinfo" in-map="context" out-map="context" /> <default-response url="." >     <parameter name="workeffortid" from="workeffortid" /> </default-response> </transition> 

and tried adding in action tag, saw resolved issue previously. didn't work either.

my other transitions screen work fine. there still issue there, or doing wrong?

i using 1.5.1.


update: assume problem doing , not previous issue #18.

following through maps , values passed through, seems there significant complexity understand - evolving through get#partycontactinfo through stupidutilities.flattennestedmap (creates single map fields passed in map , nested maps , removes entries null value map) through store#partycontactinfo called in transition utilises number of conditions passed through drive partyforms.xml#contactinfo.

i have tried pass value through right first service call:

<set field="partyid" from="facility.ownerpartyid" /> <service-call name="mantle.party.contactservices.get#partycontactinfo" out-map="projectsitecontactinfo" in-map="[partyid:partyid, workeffortid:workeffortid, postalcontactmechpurposeid:'postalshippingdest', telecomcontactmechpurposeid:'phoneshippingdest', emailcontactmechpurposeid:'emailshippingdest']" /> 

... way through, reason it's not coming out other side.

the solution add workeffortid field (hidden) in /mantle-usl/template/party/partyforms.xml#contactinfo widget component called in container dialogue before transition.

i see once added:

<parameter name="workeffortid" value="${workeffortid}" /> 

to transition, workeffort indeed null, , must getting stripped out somewhere.

adding workeffortid contactinfo form resolved issue.


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -