Refresh unique id when changing between cases

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

Refresh unique id when changing between cases

rhyno0315
Hi!

In our application we have used Struts2 actions with Orbeon XForms. In initial case (request) to form is linked hidden parameter (eg uniqueId) from Struts2, and when submitting the form (basically it means switching from request to response case) it stays the same, that is ok.

It is allowed to switch from response form to request and when we do that this parameter stays the same, but we want it to be generated again, because cannot allow to submit the form with the same parameter twice.

Basically I think it is better to refresh the whole page and let the Struts2 generate this parameter again. Or maybe there are some ways to refresh this parameter with Orbeon support?

Thanks in advance,
Michael
Reply | Threaded
Open this post in threaded view
|

Re: Refresh unique id when changing between cases

Erik Bruchez
Administrator
You will need to provide more details as I don't understand your question. Note that I don't know anything about Struts 2.

-Erik

On Tue, Feb 15, 2011 at 6:59 AM, rhyno0315 <[hidden email]> wrote:

Hi!

In our application we have used Struts2 actions with Orbeon XForms. In
initial case (request) to form is linked hidden parameter (eg uniqueId) from
Struts2, and when submitting the form (basically it means switching from
request to response case) it stays the same, that is ok.

It is allowed to switch from response form to request and when we do that
this parameter stays the same, but we want it to be generated again, because
cannot allow to submit the form with the same parameter twice.

Basically I think it is better to refresh the whole page and let the Struts2
generate this parameter again. Or maybe there are some ways to refresh this
parameter with Orbeon support?

Thanks in advance,
Michael
--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Refresh-unique-id-when-changing-between-cases-tp3306904p3306904.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