you must be making some mistake (probably conceptual).  can you create a
quickstart example of your problem and post it at some link where we can see
exactly what you're doing?


mfs wrote:
> 
> Well actually before posting this up, i did try this i.e. mounted the page
> using hybridurlcodingstrategy (with the assumption that since the pageId
> is there in the url doing a refresh would load the already instantiated
> page against the id) but at that time i had the page as bookmarkable (i.e.
> had public default and param constructors), so after reading maurice's
> post, i made it a non-bookmarkable one (by making both the constructors as
> protected) but unfortunately it still doesnt work, doing a refresh i still
> see the updated model..to be precise i am using a DataView which is a
> IDataProvider and am using non-detachable models.
> 
> Thanks for the follow up..
> 
> 
> 
> Johan Compagner wrote:
>> 
>> HybridUrlEnoding
>> 
>> On Sun, May 11, 2008 at 9:04 AM, mfs <[EMAIL PROTECTED]> wrote:
>> 
>>>
>>> Guys,
>>>
>>> Firstly, Is that a right understanding that doing a browser-refresh of
>>> the
>>> page would result in a new instance of the page being created everytime
>>> and
>>> similarly a new model instance would be binded to the page.
>>>
>>> Is there a way one can use the same version of the page/model (which
>>> wicket
>>> kept in the session) when the page was rendered the first time..
>>>
>>> I would want to avoid a hit to the database on refresh (since my model
>>> construction requires so)
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Load-serialized-%28or-in-session%29-page-model-on-refresh..-tp17170105p17170105.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Load-serialized-%28or-in-session%29-page-model-on-refresh..-tp17170105p17179035.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to