Xform trigger action event

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

Xform trigger action event

rameshkancherla
Hi,
   This is Ramesh. I am implementing orbeon x-forms in my application. I am validating xform using XSD. I have to redirect to another page when submit the form with valid data.

   i inserted trigger into form with action tag. in this action element i am writing two actions.
one action for submitting and second action for redirect page(xform load tag).
but page is redirecting with out valid submit.

can any one please tell  me how to redirect to another page with valid submition

Thanks & Regards
Ramesh K
Reply | Threaded
Open this post in threaded view
|

Re: Xform trigger action event

Erik Bruchez
Administrator
Run xforms:load upon receiving the xforms-submit-done event. E.g.:

<xforms:submission ...>
   <xforms:load ev:event="xforms-submit-done" .../>

-Erik

On Nov 21, 2008, at 5:08 AM, rameshkancherla wrote:

>
> Hi,
>   This is Ramesh. I am implementing orbeon x-forms in my  
> application. I am
> validating xform using XSD. I have to redirect to another page when  
> submit
> the form with valid data.
>
>   i inserted trigger into form with action tag. in this action  
> element i am
> writing two actions.
> one action for submitting and second action for redirect page(xform  
> load
> tag).
> but page is redirecting with out valid submit.
>
> can any one please tell  me how to redirect to another page with valid
> submition
>
> Thanks & Regards
> Ramesh K
> --
> View this message in context: http://www.nabble.com/Xform-trigger-action-event-tp20620692p20620692.html
> Sent from the ObjectWeb 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
--
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
Reply | Threaded
Open this post in threaded view
|

Re: Xform trigger action event

Arun Batchu
In reply to this post by rameshkancherla
Ramesh, a submission fires a done or error event. Make your redirect  
happen only on done event. Look up the actual event and syntax on the  
xforms wikibook and xforms spec. Events are essential to understand.

On Nov 21, 2008, at 7:08 AM, rameshkancherla <[hidden email]>  
wrote:

>
> Hi,
>   This is Ramesh. I am implementing orbeon x-forms in my  
> application. I am
> validating xform using XSD. I have to redirect to another page when  
> submit
> the form with valid data.
>
>   i inserted trigger into form with action tag. in this action  
> element i am
> writing two actions.
> one action for submitting and second action for redirect page(xform  
> load
> tag).
> but page is redirecting with out valid submit.
>
> can any one please tell  me how to redirect to another page with valid
> submition
>
> Thanks & Regards
> Ramesh K
> --
> View this message in context: http://www.nabble.com/Xform-trigger-action-event-tp20620692p20620692.html
> Sent from the ObjectWeb 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