Hi,

We need to know the location of the i18n file, the package structure and
the component tree structure to be able to tell why Wicket cannot find it
...

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Aug 22, 2017 at 9:33 PM, Entropy <blmulholl...@gmail.com> wrote:

> 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: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to