Wicket 6.16 release date

2014-05-28 Thread Igor Dvorzhak
Hi all, When Wicket 6.16 will be released? Best, Igor

Re: Errors in data view , req for help to fix the error in code

2014-05-28 Thread kumar ramanathan
Martin, I tried in the same way as before , again wicket id not referred error comes.Please help me to correct my code below. public class DemoHomePage extends WebPage { public ListDataProviderDemoBean listDataProvider; ListDemoBean list = new ArrayList();

TextArea and Collection as Model

2014-05-28 Thread Oliver B. Fischer
Hi, I use a |TextArea| component in a form so that users can enter a set of IP addresses. The target model is of type |CollectionString|. I have written a validator to validate the raw user input an a converter to convert the string input into a collection of strings (|CollectionString|).

Re: TextArea and Collection as Model

2014-05-28 Thread Oliver B. Fischer
I solved now this problem by subclassing TextArea and over-writing convertInput(). But now Wicket complains if I reference this field as textarea ... in my HTML template. I must declare it as input... but I need a textarea/ Does someone know how to achive this? Bye, Oliver Am 28.05.14

Re: TextArea and Collection as Model

2014-05-28 Thread Sven Meier
Hi, Wicket calls validators after conversion, thus if you have TextAreaCollectionString, your validator has to be IValidatorCollectionString. Let your CripBlockConverter do the format checking, I don't see the need for your converter. But now Wicket complains 'Complains' means what?

Re: TextArea and Collection as Model

2014-05-28 Thread Oliver B. Fischer
Ok, I thought the validation happens before the conversion. So the converter must also validate the raw input. Feels a little bit strange but is ok. Complains meens that I get the following exception message: Component [cripsFld] (path =

Re: TextArea and Collection as Model

2014-05-28 Thread Sven Meier
cripsFld is a TextArea? TextArea#onComponentTag(): public void onComponentTagBody(final MarkupStream markupStream, final ComponentTag openTag) { checkComponentTag(openTag, textarea); The exception indicated you have some other component here. Sven On 05/28/2014 03:47 PM,

Re: TextArea and Collection as Model

2014-05-28 Thread Oliver B. Fischer
You are right. I used a TextField. Thx! Am 28.05.14 15:49, schrieb Sven Meier: cripsFld is a TextArea? TextArea#onComponentTag(): public void onComponentTagBody(final MarkupStream markupStream, final ComponentTag openTag) { checkComponentTag(openTag, textarea); The

Re: IModel-based multiple-selection DataTable

2014-05-28 Thread Sven Meier
Hi, AbstractTree uses a ProviderSubset to keep the expanded nodes. Item comparison is based on model#equals(). Regards Sven On 05/27/2014 06:29 PM, ChambreNoire wrote: Hello, I'm trying to roll my own paginated multiple-selection datatable and I'm not sure how to store the selected