you have a markup container called "parent" in that container you have a
repeater such as listview/repeatingview/etc

when your page loads the repeater is empty so nothing is shown

once the ajax link is clicked you add the components to the repeater and
then repaint the "parent" markup container via ajax

-igor


On 12/7/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:

In an application where one needs to make users create dynamic elements.
For example, in our back end model we have a List<Schools> and then a user
may have 2 schools, another user may have 5 schools and another may have 1
school

We intend to create a control such that when you click it, it will use
ajax to auto insert a new textfield for another entry.

Now how do I do this. And somehow i think in wicket ajax, a component that
must be ajaxed must have been created prior to page rendering. So should I
create a pool of textfield objects and then use the Ajax control to unhide
them one by one or what other technique can be used to solve this kind of
problem

Thanks


-------------------------------------------------------------------------
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