Login profile is lost when submit an XForm with method="post"

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

Login profile is lost when submit an XForm with method="post"

quinquin2209
Hi,

I am using version 3.6 and have use separate deployment. In my application, I have restrict access to the whole application using web.xml.

When user visits the application, a dialog will be shown prompting for user name and password. When the validation passes, user can browse through the whole application without re-login.

However, if user updates an xform and submit,

<xforms:submission id="save-submission" ref="instance('doc-instance')"
action="<s:url value="%{saveXForm}" />"
method="post">


error message prompt with HTTP Error 401 - Unauthorized. It seems that the login profile is missing after submit.

Anyone has idea on how to solve this problem?

Queenie
Reply | Threaded
Open this post in threaded view
|

Re: Login profile is lost when submit an XForm with method="post"

Alessandro Vernet
Administrator
Queenie,

On Mon, Mar 31, 2008 at 2:44 AM, quinquin2209
<[hidden email]> wrote:
>  <xforms:submission id="save-submission" ref="instance('doc-instance')"
>  action="<s:url value="%{saveXForm}" />"
>  method="post">
>
>
>  error message prompt with HTTP Error 401 - Unauthorized. It seems that the
>  login profile is missing after submit.

What is the URL you see in the browser after the submission?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.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
Reply | Threaded
Open this post in threaded view
|

Re: Login profile is lost when submit an XForm with method="post"

quinquin2209
Hi Alex,

The URL I see in browser is http://localhost:8080/ops/xforms-server-submit

Queenie


Alessandro Vernet wrote
Queenie,

On Mon, Mar 31, 2008 at 2:44 AM, quinquin2209
<quinquin2209-noip@yahoo.com.hk> wrote:
>  <xforms:submission id="save-submission" ref="instance('doc-instance')"
>  action="<s:url value="%{saveXForm}" />"
>  method="post">
>
>
>  error message prompt with HTTP Error 401 - Unauthorized. It seems that the
>  login profile is missing after submit.

What is the URL you see in the browser after the submission?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/


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


-----
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/