RE: merge all properties file into one file

2012-11-05 Thread Paul Bors
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:ova...@gmail.com] 
Sent: Sunday, October 28, 2012 10:30 AM
To: users@wicket.apache.org
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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: merge all properties file into one file

2012-10-24 Thread Carl-Eric Menzel
 Is there any way that i can merge all my properties file into one big
 properties file ?

If you application class is MyApplication then you can put everything
into MyApplication.properties if you want.

Carl-Eric

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org