it's not stored in your session like that. you must read Session.java and PageState.java to understand what i'm talking about.


Gili wrote:

On Tue, 08 Mar 2005 08:38:43 -0800, Jonathan Locke wrote:



actually that's true if you want to go implement XStreamPageState and use that in your own Session subclass (via Application session factory). just override newPageState(Page), call XStream to serialize the Page into a non-transient member variable of your anonymous subclass and when getPage() is called reconstitute it from that variable.



That is a *very* good idea. Ok, so we don't need to rely on readObject() - writeObject() at all anymore. We simply add a String variable to our session and it gets populated at load/save times (called XStream to populate its value or load from its value back to our actual session).

        This could really work and be portable! What do you think?

Gili



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to