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 |
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, -- 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 |
hi;
Parameter is different from request: I think there is also a "get-request-attribute" function. bye, Koen Vanderkimpen Research/Recherche/Onderzoek Connect: "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 -- 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 |
Administrator
|
Exactly! -Erik
On Mon, Oct 29, 2012 at 7:06 AM, <[hidden email]> wrote: hi; -- 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 |
Free forum by Nabble | Edit this page |