hi,
Im trying to implement a simple form component that accepts List of Strings

*public class AccountsPanel extends FormComponentPanel<List<String>>
{
**    **public AccountsPanel(String id, ArrayList<String> accounts) {
**    **    **super(id, new Model(accounts));
        buildComponents();
    }
}

*and I am using RepeatingView to create as many TextField as many Strings
are in the List, and this is fine but how then convert each edited value of
the TextField back to List of Strings???

using convertInput would be a good choice I guess but I have no idea how to
iterate over panel's components and read value
*
@Override
protected void convertInput()
{
    List<String> accounts = getModelObject();*
    ????
    *setConvertedInput(accounts);
}*

or maybe this is happening automagically :D ????

pozdrawiam
Paweł Kamiński

[email protected]
[email protected]
______________________

Reply via email to