We overwrite getModel() to allow components to return their own
implementation of IModel (JDK5 feature): quite handy, no ugly typecasts.


typecast? in 2.0 you didn't have to cast when using the model or
getModelObject()
where did you need to cast?


The initModel() is another story: I posted performance problems due to the
call to initModel() within getModel() before. For now, we have that code
commented on our side: no more recursive calls and gone are the
performance
problems.


this still is very odd. Because walking the parent tree and calling instance
of shouldn't cost
any time.  So if there is a test cast where i see with yourkit really a
performance penalty in that area
i would be looking into that.

johan

Reply via email to