On Sat, 2012-02-04 at 10:27 -0500, James Carman wrote:
> I would avoid cpms like the plague.  Too much "magic".
> On Feb 3, 2012 5:12 PM, "Sam Barrow" <[email protected]> wrote:
> 

Yeah, I know what you mean. I usually try to avoid them, I'm not too
fond of runtime reflection, loss of compile time type checking, etc. At
the same time though there is something to be said for doing things the
conventional way within a framework, and from everything I've seen this
is it.

I actually figured out the problem. When wicket tries to "initModel" it
searches parent components for their model, but it doesn't use getModel,
it uses getModelImpl, which does none of initModel magic. In effect,
it's incapable of handling chains of nested models in which more than
two links in a row are not manually specified.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to