Hi,

Use DataTable from wicket-extensions.
For the first row use a
custom 
org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractToolbar
implementation.
Add it
with 
org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable#getTopToolbars().add(...)
For the second row use IDataProvider.
Wicket-Examples have demos of all this.

Martin Grigorov
Wicket Training and Consulting


On Mon, Jan 27, 2014 at 10:29 AM, gerritqf <[email protected]>wrote:

> Hello Wicket users,
>
> I want to have a table (in html) which has the following look.
> A header table row with seperate columns each representing a day of a
> chosen
> month.
> Then the next row in each        a textField with wicket:id="insert or
> update
> value to hour column in database".
> In each column in this second row there must be a value for hours belonging
> to the corresponding day in the row above.
>
> What is the best solution? and which wicket components are best suitable
> for
> this?
> I think of using a listview to populate the rows but how can i specify
> different id's for wicket in these columns of the table?
> In the markup page i can use something like jstl but this is not wicket-way
> of doing!
>
> Gerrit
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/html-table-with-each-column-representing-a-day-in-a-month-tp4663955.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to