You can always identify the specific component given the dotted path
notation but it would make it harder to maintain your code as refactoring
and moving things on your page will also require refactoring your keys in
your properties file.

You can also simply override the resourceKey() method for your own validator
and return the key string you want to use.

~ Thank you,
  Paul Bors

-----Original Message-----
From: oliver.stef [mailto:[email protected]] 
Sent: Sunday, October 28, 2012 10:30 AM
To: [email protected]
Subject: Re: merge all properties file into one file

Thanks for the answer!
It succeeded!

I have one last thing - on my application, i used the 'setRequired' and
'RequiredTextField' method, and now, when i merge all my properties file
into one file - how can I config that Wicket will know which stringId to
take for the validator?

Thanks!



--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/merge-all-properties-file-into-on
e-file-tp4653304p4653417.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]



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

Reply via email to