Your Code does not show where the PropertyValidator is added.
If you work with CompoundPropertyModels, you need to explicitely configure
the Property, since no Model is available to retrieve the Information.

Wicket expects a Model of Type IPropertyReflectionAwareModel to work.

Just do the following (Dummy Code)

...add(new PropertyValidator(new
Property(<YourClass>.class,"<AttributeName>"))));



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/BeanValidation-IllegalStateException-Could-not-resolve-Property-from-component-tp4655159p4655170.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to