I need access to the getRootModel(IModel) method in my code because I'm
writing an instrospective form component validator which needs to know what
type the compound model is at attach time.  Can we make this method
protected instead of private?  (I haven't got commit access still...
hopefully someone at Apache will rescue me soon).

Also, it would be nice if ValidationError had a toString method.  Currently
I see this in my application:

   Could not locate error message for error:
[EMAIL PROTECTED]

I see there's a TODO.  I'd fix if I could commit.

BTW, it's a bummer that the new arrangement of things requires a wrapper for
all the compound property model accessing children.  The whole point of
compound property models in the first place was to do dynamic lookup and
avoid the overhead of associating a model with most form children at all. 
Is there no way around this?  (expect answer is no)




-- 
View this message in context: 
http://www.nabble.com/getRootModel-and-tf3476307.html#a9703410
Sent from the Wicket - Dev mailing list archive at Nabble.com.

Reply via email to