"get-request-attribute" is not returning the value.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

"get-request-attribute" is not returning the value.

sanjeet
<xforms:action ev:event="xforms-model-construct-done">

        <xforms:setvalue ref="instance('test-intance')/testpath1"
value="concat(xxforms:get-request-parameter('param1'),'')" />
        <xforms:setvalue ref=&quot;instance('test-intance')/param2&quot;
value=&quot;concat(xxforms:&lt;b>get-request-attribute*('param2'),'')" />
               
        <xforms:send submission="load-data-submission" />
               
</xforms:action>

Hi,

In the above code the value of *param2* is not returning using
"*get-request-attribute*" . *How to get the value of param2 ?*

Note : The value of "param2" attribute has been set in one of the /Filter/.
The param1 is working good with "get-request-parameter".


--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: "get-request-attribute" is not returning the value.

Alessandro  Vernet
Administrator
Hi Sanjeet,

I'm really unable to decipher the code you have in your message because it
has been all mixed up including quotes replaced by:



It is possible that you have a syntax error in there, but I can't tell.
Could you re-post that code as a file attachement instead?

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet