Re: [Wicket-user] java.util.MissingResourceException with wicket-1.2-20060216.jar

2006-02-22 Thread Juergen Donnerstag
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

Re: [Wicket-user] java.util.MissingResourceException with wicket-1.2-20060216.jar

2006-02-22 Thread sven
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

Re: [Wicket-user] java.util.MissingResourceException with wicket-1.2-20060216.jar

2006-02-22 Thread Andre Matheus
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" -

Re: [Wicket-user] java.util.MissingResourceException with wicket-1.2-20060216.jar

2006-02-22 Thread Juergen Donnerstag
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

[Wicket-user] java.util.MissingResourceException with wicket-1.2-20060216.jar

2006-02-22 Thread Andre Matheus
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

[Wicket-user] java.util.MissingResourceException

2006-02-17 Thread Andre Matheus
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

Re: [Wicket-user] java.util.MissingResourceException

2005-07-04 Thread Eelco Hillenius
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

[Wicket-user] java.util.MissingResourceException

2005-07-04 Thread Dipu
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