On Tue, 20 Aug 2013 23:01:29 +0000 Michael Chandler <[email protected]> wrote: > I'm led to believe that creating a > reference to any of my domain classes within a Wicket component (as a > field or in a method implementation) will expose me to a > serialization error unless I put it in a Wicket model. Am I correct > about this?
Basically yes. Any non-transient field in your Component will be serialized. That includes final local variables or final method/constructor parameters if you reference those from within an inner class. That will make the compiler generate a hidden field to keep that reference for the inner class. Carl-Eric --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
