Hi, I'm stepping through my code that uses PropertyModel and noticed that it is called every time the object is required - which on my page is hundreds of time. I know that the model object will not change so I am about to create a caching wrapper model that store the object in a transient field and sets it to null on detach.
Do I need to implement IChainingModel? I cannot find anywhere in Wicket that IChainignModel.getChainedModel() is used. Have I overlooked something there? What about IWrapModel? That makes me uncomfortable as it seems to expose more implementation than needed. But my question is - is there already a way to do this or is it a bad idea? Thanks, John -- View this message in context: http://www.nabble.com/wrapping-models-tp18953465p18953465.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
