request-parameter('parameter name') not working in orbeon embedded

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

request-parameter('parameter name') not working in orbeon embedded

fabio_barion
i have embedded orbeon into iframe but the request parameter not working?
Why?

<property as="xs:string" name="oxf.fr.detail.process.save.*.*">
                require-valid
                then save
                then confirm
                then suspend
                then send(
       
       
uri="http://111.33.13.214:90/api/V1.0/Orbeon/PostFormValues/{xxf:instance('fr-parameters-instance')/app}/{xxf:instance('fr-parameters-instance')/form}/{xxf:instance('fr-parameters-instance')/document}/{xxf:instance('fr-parameters-instance')/form-version}/{xxforms:get-request-parameter('idFormRelease')}/{xxforms:get-request-parameter('idUser')}/{xxforms:get-request-parameter('userRole')}/{xxforms:get-request-parameter('idService')}/{xxforms:get-request-parameter('idCall')}/{xxforms:get-request-parameter('idEmployee')}",
                        method="POST",
                        content="xml",
                        content-type="application/xml"
                )
               
               
        </property>

--
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: request-parameter('parameter name') not working in orbeon embedded

Alessandro  Vernet
Administrator
Hi Fabio,

I notice that you are using `xxforms:get-request-parameter()` with the
`xxforms` prefix,  but also have calls to `xxf:instance()` with the `xxf`
prefix. If you really want to do that, you can, but need to make sure you
declare both prefixes. Instead, I'd recommend you use `xxf` in all cases,
and make sure that you have a namespace defined for that prefix
(`xmlns:xxf="…"`) in your `properties-local.xml`.

You'll let me know if this helps.

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
Reply | Threaded
Open this post in threaded view
|

Re: request-parameter('parameter name') not working in orbeon embedded

Alessandro  Vernet
Administrator
Fabio, did you get a chance trying to use the `xxf` prefix everywhere? If so,
did that solve the issue?

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