On Wed, Jul 9, 2008 at 9:29 PM, m_salman <[EMAIL PROTECTED]> wrote:
> The funny
> thing was that class tested fine to be serializable   "if (p2 instanceof
> Serializable)"  in Test code but not when run with Wicket on the server.

This is not enough to be serializable. All non-transient, non-static
fields of the class need to implement Serializable as well. Wicket's
serializable check tests this requirement so you won't run into
problems during production use of your site. Nothing gets a customer
more angry than a website that doesn't work.

Martijn

-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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

Reply via email to