We have a javascript widget on our page that doesn't have a wicket form
component bound to it.  We just get the value from the request.  We have a
ComponentFeedbackPanel (CFP) because that's what we do with all of our
messages.  We fed a WebMarkupContainer (WMC) that is around the CFP in as
the Component for the CFP to relate to.  We add the validation message to
that WMC, and the error DOES show.

However, for some reason it's not finding the validation key from the
property file.  Every other error done the same way DOES, so i have to guess
that it's because we are binding to the WMC that it's not working?

Properties File line:
CaptchaRequired=The CAPTCHA verification is required. Please complete it to
continue.

Where we add the key (in an abstractformvalidator):
((WebMarkupContainer) form.get("wmcCaptchaError")).error(new
ValidationError().addKey("CaptchaRequired"));

Ideas?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Validation-messages-from-properties-file-not-working-tp4678575.html
Sent from the Users forum mailing list archive at Nabble.com.

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

Reply via email to