Login  Register

Re: Re: Re: Re: default submission

Posted by Erik Bruchez-3 on Oct 31, 2009; 1:01am
URL: https://discuss.orbeon.com/default-submission-tp276138p302995.html

http://n4.nabble.com/default-submission-tp276138p277351.html

-Erik

On Wed, Oct 28, 2009 at 1:51 AM, Mats Eklund <[hidden email]> wrote:
Any progress on this issue? Anyone?
 
Thanks,
Mats

--- On Thu, 10/22/09, Mats Eklund <[hidden email]> wrote:

From: Mats Eklund <[hidden email]>
Subject: [ops-users] Re: Re: default submissionDate: Thursday, October 22, 2009, 10:31 AM


Eric,
 
I attach an easily reproducible sample that demonstrates the issue.
 
The zip contains an app that you can extract to the folder where the other orbeon apps reside, and then you just hit the following urls:
 
http://localhost:8080/orbeon/issue-1/?my-param=  (note: the equal sign is part of the url)
 
The expected behaviour for the second url is that the empty string parameter value should override the corresponding parameter value in the default xml submission, but it doesn't.
 
-Mats

--- On Thu, 10/22/09, Erik Bruchez <[hidden email]> wrote:

From: Erik Bruchez <[hidden email]>
Subject: [ops-users] Re: default submission
To: [hidden email]
Date: Thursday, October 22, 2009, 2:53 AM

Looking briefely at the code, it seems it should clear the value. Do you have an easily reproducible sample?

-Erik

On Wed, Oct 21, 2009 at 2:50 PM, Mats Eklund <mats.eklund@...> wrote:
Hi,
I am letting a default xml submission document be populated based on query parameters in the page-flow. When a query parameter has the value of an empty string (e.g. "http://example.org?param=") it seems that this does not override the default value of the corresponding element in the default xml submission document. I would expect the default value to be overridden with an empty string, and only keep the default value if the parameter name is missing on the query string!??
Thanks for any clarification,
Mats



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



-----Inline Attachment Follows-----


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


-----Inline Attachment Follows-----


--
You receive this message as a subscriber of the ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
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: 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