Null Model Error

2009-10-16 Thread Peter Arnulf Lustig
I have a List-Component and after sending a Form-Request it shows me the error: java.lang.IllegalStateException: Attempt to set model object on null model of component: mainPanel:taggingBereich:addTagging:taggingList at org.apache.wicket.Component.setDefaultModelObject(Component.java:3038)

Re: Null Model Error

2009-10-16 Thread Md. Jahid Shohel
you need to set the model for the list. On Fri, 2009-10-16 at 07:33 +, Peter Arnulf Lustig wrote: choices, - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

AW: Null Model Error

2009-10-16 Thread Peter Arnulf Lustig
yes -- I do this here: choices = Model.of((ListInteger) new ArrayListInteger(tagging.keySet())); - Ursprüngliche Mail Von: Md. Jahid Shohel ja...@outscore.se An: users@wicket.apache.org Gesendet: Freitag, den 16. Oktober 2009, 9:53:01 Uhr Betreff: Re: Null Model Error you need to set

AW: AW: Null Model Error

2009-10-16 Thread Peter Arnulf Lustig
can anyone tell me how to use the list-component model properly? - Ursprüngliche Mail Von: Peter Arnulf Lustig u...@yahoo.de An: users@wicket.apache.org Gesendet: Freitag, den 16. Oktober 2009, 9:55:19 Uhr Betreff: AW: Null Model Error yes -- I do this here: choices = Model.of

Re: AW: Null Model Error

2009-10-16 Thread Pedro Santos
-component model properly? - Ursprüngliche Mail Von: Peter Arnulf Lustig u...@yahoo.de An: users@wicket.apache.org Gesendet: Freitag, den 16. Oktober 2009, 9:55:19 Uhr Betreff: AW: Null Model Error yes -- I do this here: choices = Model.of((ListInteger) new ArrayListInteger

AW: AW: Null Model Error

2009-10-16 Thread Peter Arnulf Lustig
-component model properly? - Ursprüngliche Mail Von: Peter Arnulf Lustig u...@yahoo.de An: users@wicket.apache.org Gesendet: Freitag, den 16. Oktober 2009, 9:55:19 Uhr Betreff: AW: Null Model Error yes -- I do this here: choices = Model.of((ListInteger) new ArrayListInteger

Re: AW: Null Model Error

2009-10-16 Thread Pedro Santos
: Null Model Error You have a list of tagging keys that user can select and a render to it, but you don't have an model to receive the selection made on component. Consider to use this contructor parsing an putTheUserSelectionHereModel http://wicket.apache.org/docs/1.4/org/apache/wicket

AW: AW: Null Model Error

2009-10-16 Thread Peter Arnulf Lustig
I thank you very much! - Ursprüngliche Mail Von: Pedro Santos pedros...@gmail.com An: users@wicket.apache.org Gesendet: Freitag, den 16. Oktober 2009, 14:13:46 Uhr Betreff: Re: AW: Null Model Error at javadoc: IModeljava.util.CollectionT model But how can I create / define