You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by code runner <an...@fao.org> on 2007/08/10 13:40:18 UTC

How Can I Implement a Dynamic Table?

Hello,
I have to implement a dynamic table: depending on user choices or values of
fields in database, the number of columns could change.
e.g. In same case I can have 3 columns containing Labels or in other cases 5
containing Labels and form components(and so on).
To do that I'm using a ListView inside a WebMarkupContainer(I need to
implements some ajax behavior too)
The problems is that wicket require a exact match between components added
to the form object or page and markup items inside the relative html page
Someone of you has already faced that problems?
Any suggestion?

Many Thanks 
Andrea 

-- 
View this message in context: http://www.nabble.com/How-Can-I-Implement-a-Dynamic-Table--tf4248145.html#a12089650
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How Can I Implement a Dynamic Table?

Posted by Igor Vaynberg <ig...@gmail.com>.
you can use a listview inside a listview to achieve what you want.

but there is already a made component that fits the bill: datatatble. see
wicket-examples under repeaters

-igor


On 8/10/07, code runner <an...@fao.org> wrote:
>
>
> Hello,
> I have to implement a dynamic table: depending on user choices or values
> of
> fields in database, the number of columns could change.
> e.g. In same case I can have 3 columns containing Labels or in other cases
> 5
> containing Labels and form components(and so on).
> To do that I'm using a ListView inside a WebMarkupContainer(I need to
> implements some ajax behavior too)
> The problems is that wicket require a exact match between components added
> to the form object or page and markup items inside the relative html page
> Someone of you has already faced that problems?
> Any suggestion?
>
> Many Thanks
> Andrea
>
> --
> View this message in context:
> http://www.nabble.com/How-Can-I-Implement-a-Dynamic-Table--tf4248145.html#a12089650
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>