thanks. Fixed in cvs
Juergen
On 2/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Seems to me that traverseResourceLoaders() in wicket.Localizer has a bug:
>
> prefix = Strings.beforeLast(prefix, '.');
>
> ... should be:
>
> prefix = Strings.afterFirst(prefix, '.');
>
> The iteration goes f
Seems to me that traverseResourceLoaders() in wicket.Localizer has a bug:
prefix = Strings.beforeLast(prefix, '.');
... should be:
prefix = Strings.afterFirst(prefix, '.');
The iteration goes from the page down to the component so that component-path
prefix should be shortened from the head in
Thanks for the answer, but I had already looked at that page. The
problem is that the page shows a sample that is not like my case. Let
me explain:
In the page you sent you have the following component hierarchy:
APage
->BForm id="b"
-->XPanel id="x"
>RequiredTextField id="foo"
-
Please see http://www.wicket-wiki.org.uk/wiki/index.php/Validation_Messages
Juergen
On 2/22/06, Andre Matheus <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am using the wicket-1.2-20060216.jar
>
> I have a panel called PersonFormPanel where I add a form with id=personForm
> In this form I add an Req
Hi all,
I am using the wicket-1.2-20060216.jar
I have a panel called PersonFormPanel where I add a form with id=personForm
In this form I add an RequiredTextField with id=name
I created a properties file in the same folder with an entry like this:
personForm.name.RequiredValidator=Name is a Mand
Hi all,
I have a panel called PersonFormPanel where Ii add a form with id=personForm
In this form I add an RequiredTextField with id=name
I created a properties file in the same folder with an entry like this:
personForm.name.RequiredValidator=Name is a Mandatory field
The problem is that when I
Wicket tries to load the message with key: form + fieldname +
'RequiredValidator'. You can put messages like that in a properties file
that can be found by the resource loader. E.g. you have Page1, then you
create Page1.properties (and in it inputForm.username.RequiredValidator
= your message h
Hi
I am getting a java.util.MissingResourceException
exception when i add a RequiredTextField and try to submit.
The error message says Unable to find "resource:
inputForm.username.RequiredValidator".
Thanks
Dipu