Re: [Wicket-user] java.lang.IllegalStateException: Attempt to set model object on null model of component

2007-01-10 Thread Johan Compagner
on of your components doesn't have a model where the data that comes from the browser can be stored into. so you use something like this: TextField field = new TextField("textfield") instead of this: TextField field = new TextField("textfield", new Model()) that constructor without the model

[Wicket-user] java.lang.IllegalStateException: Attempt to set model object on null model of component

2007-01-10 Thread snkr subedi
hi, all I have got a problem here. I have a modal window which contains a form. When i submit that form i get a error message as shown below: WicketMessage: Method onFormSubmitted of interface wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = messag