Re: [Wicket-user] Question on Serialization

2007-06-23 Thread Johan Compagner
with the current 1.3 if you hold page references in other pages the the main pag is not serialized as a whole. Every page reference we come across is saved by itself in its own file. So pages are not saved twice or multiply in more then one file. The only thing i dont know currenlty is if PageX is

Re: [Wicket-user] Question on Serialization

2007-06-23 Thread Johan Compagner
no, also normal serialization. 1 page instance (id/version) is never saved in more then 1 file johan On 6/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote: with the current 1.3 if you hold page references in other pages the the main pag is not serialized as a whole. Every page reference we

Re: [Wicket-user] Question on Serialization

2007-06-23 Thread Eelco Hillenius
with the current 1.3 if you hold page references in other pages the the main pag is not serialized as a whole. Every page reference we come across is saved by itself in its own file. So pages are not saved twice or multiply in more then one file. The only thing i dont know currenlty is if

Re: [Wicket-user] Question on Serialization

2007-06-23 Thread Eelco Hillenius
On 6/23/07, Johan Compagner [EMAIL PROTECTED] wrote: no, also normal serialization. 1 page instance (id/version) is never saved in more then 1 file Oh. See, I go on vacation for two weeks and I miss the serialization magic you've put into Page :) Nice job though! Eelco

Re: [Wicket-user] Question on Serialization

2007-06-23 Thread Matej Knopp
Two weeks? No, we started doing that on apache con :) -Matej On 6/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 6/23/07, Johan Compagner [EMAIL PROTECTED] wrote: no, also normal serialization. 1 page instance (id/version) is never saved in more then 1 file Oh. See, I go on vacation

Re: [Wicket-user] Question on Serialization

2007-06-23 Thread Iman Rahmatizadeh
On 6/23/07, Johan Compagner [EMAIL PROTECTED] wrote: with the current 1.3 if you hold page references in other pages the the main pag is not serialized as a whole. Every page reference we come across is saved by itself in its own file. So pages are not saved twice or multiply in more then one

[Wicket-user] Question on Serialization

2007-06-22 Thread Iman Rahmatizadeh
Does holding references to other Pages inside a Page make them be serialized twice ? Like : class MyPage extends Page { ListPage otherPages; } would it make any difference if it was inside another object, like : class MyPage extends Page { MyPageHolder pageHolder; //

Re: [Wicket-user] Question on Serialization

2007-06-22 Thread Eelco Hillenius
Does holding references to other Pages inside a Page make them be serialized twice ? Like : class MyPage extends Page { ListPage otherPages; } Yep, if you are using the SecondLevelCacheSessionStore, which is the default for Wicket 1.3, evry page will get serialized as a

Re: [Wicket-user] Question on Serialization

2007-06-22 Thread Iman Rahmatizadeh
On 6/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Does holding references to other Pages inside a Page make them be serialized twice ? Like : class MyPage extends Page { ListPage otherPages; } Yep, if you are using the SecondLevelCacheSessionStore, which is the default