wicket-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mcgreg...@e-card.bg>
Subject Component (Page) read/writeObject
Date Tue, 06 May 2008 04:03:49 GMT
Hi,

Browsing the Wicket code I saw that o.a.w.Component has readObject and
writeObject methods which in their current implementation actually do
some specific serialization if the current instance is a Page.
Is there any specific reason to put this code in Component but in Page ?
Currently it breaks the OO design - the parent knows about the type of
its children and even more it knows about children's specifics -
read/writePageObject().

Regards
Martin


Mime
View raw message