Skip to end of metadata
Go to start of metadata

Wicket 6.0

Wicket 6.0 made it much easier to add common serialization checks to help development. A couple of the more frequently implemented checks were added as part of the core library. Adding new ones is simple:

Add this in your Application.init():

Note: The ObjectSerializationChecker is installed by the default JavaSerializer - you dont have to add the code above to get this functionality out of the box.

Adding your own custom checks is easy. Here's one we use that checks for PersistentObjects (our in house base class for DB entities) that have been persisted (an 'id' is assigned)

Earlier Wicket Versions

See http://wicketinaction.com/2011/11/detect-attached-models-and-entities/

  • No labels