Login  Register

Re: default submission

Posted by Alessandro Vernet on Oct 31, 2009; 8:41pm
URL: https://discuss.orbeon.com/default-submission-tp276138p360522.html

Mats,

Great; thanks for confirming this.

Alex

On Saturday, October 31, 2009, Mats Eklund <[hidden email]> wrote:

> Excellent, it works now!  Thanks!
>
> --- On Sat, 10/31/09, Erik Bruchez <[hidden email] <javascript:_e({}, 'cvml', '[hidden email]');>> wrote:
>
> From: Erik Bruchez <[hidden email] <javascript:_e({}, 'cvml', '[hidden email]');>>
> Subject: [ops-users] Re: Re: Re: Re: default submission
> To: [hidden email] <javascript:_e({}, 'cvml', '[hidden email]');>
> Date: Saturday, October 31, 2009, 2:01 AM
>
> http://n4.nabble.com/default-submission-tp276138p277351.html
> -Erik
>
> On Wed, Oct 28, 2009 at 1:51 AM, Mats Eklund <[hidden email] <http://mc/compose?to=mats.eklund@...>> wrote:
> Any progress on this issue? Anyone?
>
>
>
> Thanks,
> Mats
>
> --- On Thu, 10/22/09, Mats Eklund <[hidden email] <http://mc/compose?to=mats.eklund@...>> wrote:
>
>
> From: Mats Eklund <[hidden email] <http://mc/compose?to=mats.eklund@...>>
> Subject: [ops-users] Re: Re: default submission
>
>
> To: [hidden email] <http://mc/compose?to=ops-users@...>
> Date: 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/
> http://localhost:8080/orbeon/issue-1/?my-param=  (note: the equal sign is part of the url)
> http://localhost:8080/orbeon/issue-1/?my-param=my-value
>
> 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] <http://mc/compose?to=ebruchez@...>> wrote:
>
>
> From: Erik Bruchez <[hidden email] <http://mc/compose?to=ebruchez@...>>
> Subject: [ops-users] Re: default submission
> To: [hidden email] <http://mc/compose?to=ops-users@...>
> 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 <[hidden email] <http://us.mc590.mail.yahoo.com/mc/compose?to=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= <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 [hidden email] <http://us.mc590.mail.yahoo.com/mc/compose?to=ops-users@...> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email] <http://us.mc590.mail.yahoo.com/mc/compose?to=sympa@...>?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet