I wouldn't necessarily say that CPMs are the "wicket way". On Sat, Feb 4, 2012 at 11:32 AM, Sam Barrow <s...@sambarrow.com> wrote: > > 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" <s...@sambarrow.com> 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: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org