No it looks like it is the same instance, Its constructor is only being called once. I can watch the model object and see when it gets set to null, though I am not sure what I am looking for as far as what is setting it to null. It gets set to null on the way back to the page from the login. The model object is a ValueMap that I store in the Application object. I am also using wicket-security. Here is how my model is being created.

super(name, new CompoundPropertyModel<ValueMap>(getScanManApp().getAppProperties())
           {

               @Override
               public ValueMap getObject()
               {
                   return getScanManApp().getAppProperties();
               }

           });


Johan Compagner wrote:
isnt your page not just a brand new shiny new instance?
place a breakpoint in your constructor

On 14/12/2009, Warren Bell <warr...@clarksnutrition.com> wrote:
Does Any body have any ideas, I am stuck and can't figure this out.

I have a page with about 10 text fields. The model for the page is a
ValueMap. All of the values in the ValueMap get set to null when a user
gets redirected back to the original page after a
RestartResponseAtInterceptPageException. All of the keys in the ValueMap
are still there.

What do I need to do to fix this?

Warren

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



--
Thanks,

Warren Bell


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to