Re: T4.1 :: async form auto-submit

2007-08-24 Thread Marcelo C. de Freitas
Thanks Patrick,

It didn't work as expected (well, at all), but I saw some
javascript written in the HTML output. I'll just have to dig a little
deeper; at least now I have the right directions.


Regards.

2007/8/24, Patrick Klein <[EMAIL PROTECTED]>:
> Hello,
> >  How can I make a PropertySelection auto-submit an async form when 
> > changed?
> >
> Create an EventListener in your java file listening for the onchange
> event for this element or target. Inside this method you can trigger an
> async update of the page using
> getRequestCycle().getRepsonseBuilder().updateComponent(id)
>
> Regards,
> Patrick
> >  I tried the ordinary "onChange=this.form.submit()" but it causes
> > the entire page to reload and I just want parts of it to do so.
> >
> >  Thanks.
> >
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Marcelo C. Freitas

IM's:
MSN: [EMAIL PROTECTED]
ICQ: 24263609
Jabber: [EMAIL PROTECTED]
GTalk: [EMAIL PROTECTED]
Yahoo: baterausp

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T4.1 :: async form auto-submit

2007-08-24 Thread Patrick Klein
Hello,
>  How can I make a PropertySelection auto-submit an async form when 
> changed?
>   
Create an EventListener in your java file listening for the onchange
event for this element or target. Inside this method you can trigger an
async update of the page using
getRequestCycle().getRepsonseBuilder().updateComponent(id)

Regards,
Patrick
>  I tried the ordinary "onChange=this.form.submit()" but it causes
> the entire page to reload and I just want parts of it to do so.
>
>  Thanks.
>
>
>   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



T4.1 :: async form auto-submit

2007-08-23 Thread Marcelo C. de Freitas
Hey there,

 How can I make a PropertySelection auto-submit an async form when changed?

 I tried the ordinary "onChange=this.form.submit()" but it causes
the entire page to reload and I just want parts of it to do so.

 Thanks.


-- 
Marcelo C. Freitas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]