Simple == good.

Eelco


On 7/25/06, JK <[EMAIL PROTECTED]> wrote:
> Thak you very much! My code:
>
> drop.add(new AjaxEventBehavior("onchange") {
> public void onEvent(AjaxRequestTarget target) {
>           // Update form model
>         target.addComponent(form);
> }
> } );
>
> 2006/7/25, Eelco Hillenius <[EMAIL PROTECTED]>:
> > You could add the form to the AjaxRequestTarget, so that the whole
> > form is re-displayed. Of course, make sure you updated the relevant
> > models of the text fields. Another approach is to update those fields
> > with a javascript function you execute with your ajax response. See
> > AjaxRequestTarget#appendJavascript. You need to record the markup ids
> > of the text fields you want to update in that javascript. But the rest
> > should be fairly simple.
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to