Hi, I’m running a separate deployment where I have my own
Java webapp and use the Orbeon XForms engine. Therefore, my XForms is
wrapped in a JSP. After an xforms:submission to eXist I would like to check
that I get “xforms-submit-done”. If it successfully submitted,
I would like to redirect the user to another page (or even better, my
controller servlet). How can I do this? Thanks, Mike -- 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
|
What kind of submission is it? replace="all" or other?
-Erik On Mar 20, 2008, at 12:10 PM, Park, Michael wrote: > Hi, > > I’m running a separate deployment where I have my own Java webapp > and use the Orbeon XForms engine. Therefore, my XForms is wrapped > in a JSP. > > After an xforms:submission to eXist I would like to check that I get > “xforms-submit-done”. If it successfully submitted, I would like to > redirect the user to another page (or even better, my controller > servlet). > > How can I do this? > > > Thanks, > Mike > > -- > 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 Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 |
It's a replace="none".
<xforms:submission id="new-submission" ref="instance('mods-instance')" action="http://localhost:8080/ops/exist/rest/db/orbeon/test/{instance('r ecord-instance')/id}.xml" method="put" replace="none"> The problem is how I can redirect the user to another page after submission? -Mike -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] Sent: Thursday, March 20, 2008 3:27 PM To: [hidden email] Subject: [ops-users] Re: Redirect after submission What kind of submission is it? replace="all" or other? -Erik On Mar 20, 2008, at 12:10 PM, Park, Michael wrote: > Hi, > > I'm running a separate deployment where I have my own Java webapp > and use the Orbeon XForms engine. Therefore, my XForms is wrapped > in a JSP. > > After an xforms:submission to eXist I would like to check that I get > "xforms-submit-done". If it successfully submitted, I would like to > redirect the user to another page (or even better, my controller > servlet). > > How can I do this? > > > Thanks, > Mike > > -- > 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 Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 |
Administrator
|
Something like:
<xforms:submission id="new-submission" ...> <xforms:load ev:event="xforms-submit-done" resource="/my/new/page"/> </xforms:submission> -Erik On Mar 20, 2008, at 12:32 PM, Park, Michael wrote: > It's a replace="none". > > <xforms:submission id="new-submission" ref="instance('mods-instance')" > action="http://localhost:8080/ops/exist/rest/db/orbeon/test/ > {instance('r > ecord-instance')/id}.xml" method="put" replace="none"> > > The problem is how I can redirect the user to another page after > submission? > > -Mike > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] > Sent: Thursday, March 20, 2008 3:27 PM > To: [hidden email] > Subject: [ops-users] Re: Redirect after submission > > What kind of submission is it? replace="all" or other? > > -Erik > > On Mar 20, 2008, at 12:10 PM, Park, Michael wrote: > >> Hi, >> >> I'm running a separate deployment where I have my own Java webapp >> and use the Orbeon XForms engine. Therefore, my XForms is wrapped >> in a JSP. >> >> After an xforms:submission to eXist I would like to check that I get >> "xforms-submit-done". If it successfully submitted, I would like to >> redirect the user to another page (or even better, my controller >> servlet). >> >> How can I do this? >> >> >> Thanks, >> Mike >> >> -- >> 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 > > -- > Orbeon Forms - Web Forms for the Enterprise Done the Right Way > http://www.orbeon.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 Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 |
Free forum by Nabble | Edit this page |