Hello Sven, 

Yes. I added this to the form, and a eventhandler to the button, but the
event handler of the button is always called before the submit. 

The problem is that I cannot process the onclick handler of the button
without the information of the form. 

So I think I need to submit it on the onclick handler, but how?

Thank you in advance.


El vie, 15-02-2013 a las 11:07 +0100, Sven Meier escribió:S
venO
n 02/15/2013 11:01 AM, Gonzalo Aguilar Delgado wrote:

> > Hello,
> >
> > We have just a situation were the information of the form needs to be
> > updated before handling an ajax "click" event.
> >
> > The page has a form, with a bean and some TextFields that update the
> > properties in the bean.
> > It has also an ajax component that also updates the bean.
> >
> > The problem is that we can fill in the form but if we do an event on the
> > ajax component every field filled in first step is lost because is not
> > submitted (and the bean updated) before handling the ajax click event.
> >
> >
> > So the question is:
> >
> > How can we submit the form before handling the click event?
> >
> > Any suggestion?
> >
> > Thank you in advance.
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

Reply via email to