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.
Eelco On 7/25/06, JK <[EMAIL PROTECTED]> wrote: > Hi, > > This might be stupid question but I can't find out how to do it... A > form has DropDownChoice and many TextFields. When choice is made, rest > of the form is filled with ajax depending the choice. Should I call > some update method or what? (Wicket 1.2.1) > > ------------------------------------------------------------------------- > 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 > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
