Issue with xxforms:get-request-parameter()

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

Issue with xxforms:get-request-parameter()

rovsh
Hello,

Recently we came across an issue with xxforms:get-request-parameter() call in Orbeon. The issue is that when request parameter is specified in the URL, a call to xxforms:get-request-parameter() returns its value, however, when a parameter is specified in code as: request.setAttribute('parameter name', 'value'), a call to xxforms:get-request-parameter() returns nothing. It does not see this request parameter.
We are using Orbeon version: 4.0.0.m10.201208212303 PE.
Is it a bug in Orbeon? Or are we doing something wrong?

Thanks a lot in advance.

Best regards,
Ravshan
Reply | Threaded
Open this post in threaded view
|

Re: Issue with xxforms:get-request-parameter()

gabri124
Try to see this page may be it can help u, cause i didnt use orbeon since 6 month and i dont remeber nothing about this problem.

http://wiki.orbeon.com/forms/how-to/logic/load-initial-form-data

But i think that the problem is if you code request.setAttribute ("parameter name",value) you must use
xxforms:get-request-parameter("parameter-name")

Follow the link example.

you are wellcome

Gabriel

On Mon, Oct 29, 2012 at 2:47 PM, rovsh <[hidden email]> wrote:
Hello,

Recently we came across an issue with xxforms:get-request-parameter() call
in Orbeon. The issue is that when request parameter is specified in the URL,
a call to xxforms:get-request-parameter() returns its value, however, when a
parameter is specified in code as: request.setAttribute('parameter name',
'value'), a call to xxforms:get-request-parameter() returns nothing. It does
not see this request parameter.
We are using Orbeon version: 4.0.0.m10.201208212303 PE.
Is it a bug in Orbeon? Or are we doing something wrong?

Thanks a lot in advance.

Best regards,
Ravshan




--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Issue-with-xxforms-get-request-parameter-tp4655929.html
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Issue with xxforms:get-request-parameter()

koenvdk
hi;

Parameter is different from request:
I think there is also a "get-request-attribute" function.

bye,



Koen Vanderkimpen
Research/Recherche/Onderzoek

Connect: Twitter

"there are two hard things in computer science: cache invalidation, naming things, and off-by-one errors" (Phil Karlton et al)





From:        Gabriel Moreno <[hidden email]>
To:        [hidden email]
Date:        29/10/2012 14:59
Subject:        [ops-users] Re: Issue with xxforms:get-request-parameter()




Try to see this page may be it can help u, cause i didnt use orbeon since 6 month and i dont remeber nothing about this problem.

http://wiki.orbeon.com/forms/how-to/logic/load-initial-form-data

But i think that the problem is if you code request.setAttribute ("parameter name",value) you must use
xxforms:get-request-parameter("parameter-name")

Follow the link example.

you are wellcome

Gabriel

On Mon, Oct 29, 2012 at 2:47 PM, rovsh <uzrovsh@...> wrote:
Hello,

Recently we came across an issue with xxforms:get-request-parameter() call
in Orbeon. The issue is that when request parameter is specified in the URL,
a call to xxforms:get-request-parameter() returns its value, however, when a
parameter is specified in code as: request.setAttribute('parameter name',
'value'), a call to xxforms:get-request-parameter() returns nothing. It does
not see this request parameter.
We are using Orbeon version: 4.0.0.m10.201208212303 PE.
Is it a bug in Orbeon? Or are we doing something wrong?

Thanks a lot in advance.

Best regards,
Ravshan




--
View this message in context:
http://orbeon-forms-ops-users.24843.n4.nabble.com/Issue-with-xxforms-get-request-parameter-tp4655929.html
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.


--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
sympa@...?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe:
[hidden email]
For general help:
[hidden email]
OW2 mailing lists service home page:
http://www.ow2.org/wws








Overeenkomstig de bepalingen inzake de vertegenwoordiging van de vzw in haar statuten, kan enkel de gedelegeerde bestuurder, de algemeen directeur of zijn uitdrukkelijke lasthebber verbintenissen aangaan namens Smals.
Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te vernietigen.

Conformément aux dispositions relatives à la représentation de l'asbl dans ses statuts, seul l'administrateur délégué, le directeur général ou son mandataire exprès est habilité à souscrire des engagements au nom de Smals.
Si ce message ne vous est pas destiné, nous vous prions de nous le signaler immédiatement et de détruire le message.

According to the provisions regarding representation of the non profit association in its bylaws, only the chief executive officer, the general manager or his explicit agent can enter into engagements on behalf of Smals.
If you are not the addressee of this message, we kindly ask you to signal this to us immediately and to delete the message.





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Issue with xxforms:get-request-parameter()

Erik Bruchez
Administrator
Exactly! -Erik

On Mon, Oct 29, 2012 at 7:06 AM, <[hidden email]> wrote:
hi;

Parameter is different from request:
I think there is also a "get-request-attribute" function.

bye,



Koen Vanderkimpen
Research/Recherche/Onderzoek

Connect: Twitter

"there are two hard things in computer science: cache invalidation, naming things, and off-by-one errors" (Phil Karlton et al)





From:        Gabriel Moreno <[hidden email]>
To:        [hidden email]
Date:        29/10/2012 14:59
Subject:        [ops-users] Re: Issue with xxforms:get-request-parameter()




Try to see this page may be it can help u, cause i didnt use orbeon since 6 month and i dont remeber nothing about this problem.

http://wiki.orbeon.com/forms/how-to/logic/load-initial-form-data

But i think that the problem is if you code request.setAttribute ("parameter name",value) you must use
xxforms:get-request-parameter("parameter-name")

Follow the link example.

you are wellcome

Gabriel

On Mon, Oct 29, 2012 at 2:47 PM, rovsh <[hidden email]> wrote:
Hello,

Recently we came across an issue with xxforms:get-request-parameter() call
in Orbeon. The issue is that when request parameter is specified in the URL,
a call to xxforms:get-request-parameter() returns its value, however, when a
parameter is specified in code as: request.setAttribute('parameter name',
'value'), a call to xxforms:get-request-parameter() returns nothing. It does
not see this request parameter.
We are using Orbeon version: 4.0.0.m10.201208212303 PE.
Is it a bug in Orbeon? Or are we doing something wrong?

Thanks a lot in advance.

Best regards,
Ravshan




--
View this message in context:
http://orbeon-forms-ops-users.24843.n4.nabble.com/Issue-with-xxforms-get-request-parameter-tp4655929.html
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.


--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe:
[hidden email]
For general help:
[hidden email]
OW2 mailing lists service home page:
http://www.ow2.org/wws








Overeenkomstig de bepalingen inzake de vertegenwoordiging van de vzw in haar statuten, kan enkel de gedelegeerde bestuurder, de algemeen directeur of zijn uitdrukkelijke lasthebber verbintenissen aangaan namens Smals.
Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te vernietigen.

Conformément aux dispositions relatives à la représentation de l'asbl dans ses statuts, seul l'administrateur délégué, le directeur général ou son mandataire exprès est habilité à souscrire des engagements au nom de Smals.
Si ce message ne vous est pas destiné, nous vous prions de nous le signaler immédiatement et de détruire le message.

According to the provisions regarding representation of the non profit association in its bylaws, only the chief executive officer, the general manager or his explicit agent can enter into engagements on behalf of Smals.
If you are not the addressee of this message, we kindly ask you to signal this to us immediately and to delete the message.






--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws