I thank you very much!
----- Ursprüngliche Mail ---- Von: Pedro Santos <[email protected]> An: [email protected] Gesendet: Freitag, den 16. Oktober 2009, 14:13:46 Uhr Betreff: Re: AW: Null Model Error at javadoc: IModel<java.util.Collection<T>> model But how can I create / define such a model ? I have used org.apache.wicket.model.Model in one project for example like: new ListMultipleChoice("id", new Model(), choises, render) On Fri, Oct 16, 2009 at 9:00 AM, Peter Arnulf Lustig <[email protected]>wrote: > wow - great information > > But how can I create / define such a model -- I can't find anything in the > wicket examples! > > > > ----- Ursprüngliche Mail ---- > Von: Pedro Santos <[email protected]> > An: [email protected] > Gesendet: Freitag, den 16. Oktober 2009, 13:24:45 Uhr > Betreff: Re: AW: 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/markup/html/form/ListMultipleChoice.html#ListMultipleChoice%28java.lang.String,%20org.apache.wicket.model.IModel,%20org.apache.wicket.model.IModel,%20org.apache.wicket.markup.html.form.IChoiceRenderer%29 > > On Fri, Oct 16, 2009 at 6:52 AM, Peter Arnulf Lustig <[email protected] > >wrote: > > > can anyone tell me how to use the list-component model properly? > > > > > > > > ----- Ursprüngliche Mail ---- > > Von: Peter Arnulf Lustig <[email protected]> > > An: [email protected] > > Gesendet: Freitag, den 16. Oktober 2009, 9:55:19 Uhr > > Betreff: AW: Null Model Error > > > > yes -- I do this here: > > choices = Model.of((List<Integer>) new > > ArrayList<Integer>(tagging.keySet())); > > > > > > > > > > ----- Ursprüngliche Mail ---- > > Von: Md. Jahid Shohel <[email protected]> > > An: [email protected] > > Gesendet: Freitag, den 16. Oktober 2009, 9:53:01 Uhr > > Betreff: Re: Null Model Error > > > > you need to set the model for the list. > > > > On Fri, 2009-10-16 at 07:33 +0000, Peter Arnulf Lustig wrote: > > > choices, > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > -- > Pedro Henrique Oliveira dos Santos > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Pedro Henrique Oliveira dos Santos --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
