Hello,
my goal is to display a table with dynamic number of columns (and of course
rows) based on my EntryData class.

ArrayList<EntryData> entries = ...;

public class EntryData implements Serializable
{
    private String                     entryID;
    private ArrayList<FieldData> entryFields;
[...]
}

where

public class FieldData implements Serializable
{
    private int       fieldId;
    private String   fieldLabel;
    private String   fieldValue;
[...]
}

I would like to have a table presenting entryID and values of all the fields
for each entry on the list.

Entry ID              | entryFields[0].fieldLabel                 | ... |
entryFields[x].fieldLabel
------------------------------------------------------------------------------------------------
entries[0].entryID | entries[0].entryFields[0].fieldValue  | ... |
entries[0].entryFields[x].fieldValue
...
entries[y].entryID | entries[y].entryFields[x].fieldValue  | ... |
entries[y].entryFields[x].fieldValue

I am not really experienced in Wicket and tried to find some Repeater class
example to use it as a base for building my own solution. Unfortunately I
didn't find anything that suits my needs.
I would like to know if it would be possible at all to use one of the
repeater control family member to display such data structure. I'll
appreciate any help and sample code.

Kind regards
R
-- 
View this message in context: 
http://www.nabble.com/Repeater-component-with-dynamic-column-list-tp22700806p22700806.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to