Hi,

The key in properties file should look like:
myForm.myField.SomeValidator=Error message
I.e. it starts with the relative path and ends with the class name of the
used validator.


On Fri, Mar 15, 2013 at 2:47 PM, yka <i...@jcoder.de> wrote:

> Hi all,
>
> I have problems to find the correct path of my component to place it in the
> properties file.
> In particular validation retrieves the name of the component through the
> properties file to display it in the browser if validation fails.
> I did "component.getPath()" and "component.getRelativePath()" in the code
> and put the result of both in properties file like:
>
> myPopupForm.myAttr=test1
> templateContent.myPopupForm.myAttr=test2
>
> But this didnt work.
> Is there a way how to find out the string which is the key for an entry in
> the properties file?
>
> Regards,
>
> yka
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/How-to-get-correct-path-of-component-for-put-it-in-properties-file-tp4657273.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
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to