Yes, provided that the object returned by model implements java.io.Serializable. When you serialize an object (no matter if it is a Wicket page or a model or whatever else), you serialize also all its references. So when Wicket serializes a page or a component also its model and the object inside it are serialized.

On Mon, Feb 6, 2012 at 5:52 PM, Andrea Del Bene<adelb...@ciseonweb.it>wrote:

Wicket uses an implementation of org.apache.wicket.serialize.**ISerializer
to serialize all objects (pages, models, ecc...)


Thanks Andrea.

Meaning if I have a custom model that extends one of the IModel
implementing classes, I don't have to serialize the objects returned by the
model myself - Wicket does this by default?





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

Reply via email to