Re: [Wicket-user] Help:Dynamic Form Elements

2006-12-16 Thread Ayodeji Aladejebi

Wicket is sure fun...

On 12/7/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:


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






--
Aladejebi Ayodeji A.,

DabarObjects Solutions
Phone: 234 9 273 2 555
Mobile: +234 803 589 1780
Email: [EMAIL PROTECTED]
Web: www.dabarobjects.com
Blog: blog.dabarobjects.com

Participate, Collaborate, Innovate
Join Community:
http://www.cowblock.net/

Get A Free Blog:
http://blogs.cowblock.net/


DynamicFormFields.rar
Description: Binary data
-
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


Re: [Wicket-user] Help:Dynamic Form Elements

2006-12-07 Thread Igor Vaynberg

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


[Wicket-user] Help:Dynamic Form Elements

2006-12-07 Thread Ayodeji Aladejebi

In an application where one needs to make users create dynamic elements.
For example, in our back end model we have a List 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