Re: Just handle java properties files with Apache Wicket

2018-05-26 Thread kyrindorx
Hi, The goal of the programm is the handling of properties files with excel and languages. The programm will create a config property file and database files into .locapp in your user home directory. * scan your project for *.properties files (cmd: f DIR) * import properties into the

Re: Just handle java properties files with Apache Wicket

2018-05-26 Thread Martin Grigorov
Hi, >From the project's README it is not very clear to me what your application does but it reminds me of https://github.com/pingunaut/wicketmessages-maven-plugin On Fri, May 25, 2018 at 8:13 PM, kyrindorx wrote: > Hey all, > > I have a idea to handle java properties files in

Just handle java properties files with Apache Wicket

2018-05-25 Thread kyrindorx
Hey all, I have a idea to handle java properties files in Apache Wicket. We use this little helper in our projects, too :) So check it out and test it: https://t.co/7RNgdC6VlD Bye Kyrindor PS: It's open source (MIT Li

Re: Translation of wicket properties files

2013-09-27 Thread Martin Grigorov
Hi, See http://stackoverflow.com/questions/7768997/software-for-managing-java-lang-properties-files-for-translation On Fri, Sep 27, 2013 at 7:42 PM, Filipe Roque < filipe.ro...@premium-minds.com> wrote: > Hi, are there any tools to review and translate all the messag

Translation of wicket properties files

2013-09-27 Thread Filipe Roque
Hi, are there any tools to review and translate all the messages in the *.properties.xml wicket files that we have created ? I am thinking something as Poedit for *.po files. flip - To unsubscribe, e-mail: users-unsubscr...@wi

Re: Escaping variable declaration/resolution in properties files

2010-01-18 Thread Joseph Pachod
kirillkh wrote: VariableInterpolator.java says: "$" is the escape char. Thus "$${text}" can be used to escape it (ignore interpretation). Thanks a lot, it works fine. -- Joseph Pachod IT THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 310 F + 49 761 3 85 59

Re: Escaping variable declaration/resolution in properties files

2010-01-18 Thread kirillkh
VariableInterpolator.java says: "$" is the escape char. Thus "$${text}" can be used to escape it (ignore interpretation). On Mon, Jan 18, 2010 at 10:46 AM, Joseph Pachod wrote: > Hi > > I would like to add some text containing ${variable} in a XML properties > file, for an error message. This te

Escaping variable declaration/resolution in properties files

2010-01-18 Thread Joseph Pachod
Hi I would like to add some text containing ${variable} in a XML properties file, for an error message. This text of a variable declaration should be rendered as it is. However, wicket always tries to resolve this variable, and thus I get this exception : WicketMessage: Exception 'java.lang.

Re: how to split application properties file into several properties files

2009-06-22 Thread Vladimir K
mir K wrote: > > I would like to split the application properties file into several > properties files. > I know that I can share resources of base component and page among their > descendants and at that I can use package propeties files. I just don't > want > to go this w

how to split application properties file into several properties files

2009-06-19 Thread Vladimir Kovalyuk
I would like to split the application properties file into several properties files. I know that I can share resources of base component and page among their descendants and at that I can use package propeties files. I just don't want to go this way because most of messages are organiz

Re: properties files search efficiency

2008-08-06 Thread Igor Vaynberg
e it better in its own local properties file for my own ease of > development + modularity, but was wondering if there's any performance > difference to worry about. > > Thanks for any input! > > LBB > -- > View this message in context: > http://www.nabble.com/prope

properties files search efficiency

2008-08-06 Thread lesterburlap
context: http://www.nabble.com/properties-files-search-efficiency-tp18858597p18858597.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Adding custom resource properties files

2008-06-30 Thread Lorenzo Bolzani
2008/6/30 Scott Swank <[EMAIL PROTECTED]>: > The ComponentStringResourceLoader uses an Iterator named something > like (no code in front of me) "ResourceNameIterator". This iterator > is used to find resources and markup. You can't just set it on the > Application.getResourceSettings (though I sh

Re: Adding custom resource properties files

2008-06-30 Thread Igor Vaynberg
why not put these common messages into yourapplication.properties ? -igor On Mon, Jun 30, 2008 at 3:49 AM, Lorenzo Bolzani <[EMAIL PROTECTED]> wrote: > Hi, > we have two pages sharing the same set of user messages so we would > like to be able to share the same file. > The two pages are different

Re: Adding custom resource properties files

2008-06-30 Thread Scott Swank
The ComponentStringResourceLoader uses an Iterator named something like (no code in front of me) "ResourceNameIterator". This iterator is used to find resources and markup. You can't just set it on the Application.getResourceSettings (though I should create a jira & patch for that...), so you hav

Adding custom resource properties files

2008-06-30 Thread Lorenzo Bolzani
Hi, we have two pages sharing the same set of user messages so we would like to be able to share the same file. The two pages are different and cannot subclass a same parent. We cannot extract a common component because we have two different views on the same data. Maybe we could define an empty p

Re: How to access properties files outside of Wicket components?

2008-06-02 Thread Erik van Oosten
2008 10:32 PM > To: users@wicket.apache.org > Subject: Re: How to access properties files outside of Wicket > components? > > You should the other getResource*() methods, those on Class: > http://java.sun.com/javase/6/docs/api/java/lang/Class.html#getResourceAs > Stream(java.lang.S

RE: How to access properties files outside of Wicket components?

2008-06-02 Thread Michael Mehrle
ce bundles outside of Wicket components? Michael -Original Message- From: Erik van Oosten [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2008 10:32 PM To: users@wicket.apache.org Subject: Re: How to access properties files outside of Wicket components? You should the other getResource*

Re: How to access properties files outside of Wicket components?

2008-06-01 Thread Erik van Oosten
You should the other getResource*() methods, those on Class: http://java.sun.com/javase/6/docs/api/java/lang/Class.html#getResourceAsStream(java.lang.String) Regards, Erik. Michael Mehrle wrote: Right now I had to resort to the solution below, but I would very much like to know the standard

RE: How to access properties files outside of Wicket components?

2008-06-01 Thread Michael Mehrle
} public static String getProperty(String key) { return properties.getProperty(key); } -Original Message- From: Michael Mehrle [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2008 3:50 PM To: users@wicket.apache.org Subject: How to access propertie

How to access properties files outside of Wicket components?

2008-06-01 Thread Michael Mehrle
I just refactored one of my pages and externalized an inner class into an outer class that however still needs access to that page's property stings. Can I just treat that page's properties file as a resource bundle and retrieve the strings the old fashioned way? Or will there be problems? Than

Re: .properties files question

2008-05-19 Thread Igor Vaynberg
y Java classes? > -- > View this message in context: > http://www.nabble.com/.properties-files-question-tp13821533p17316712.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - >

Re: .properties files question

2008-05-19 Thread James Carman
d to do it in the HTML files, why would I > have to in my Java classes? > -- > View this message in context: > http://www.nabble.com/.properties-files-question-tp13821533p17316712.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > -

Re: .properties files question

2008-05-19 Thread Blackbird
pecify the path or even the name of the property file, I shouldn't have to: no need to do it in the HTML files, why would I have to in my Java classes? -- View this message in context: http://www.nabble.com/.properties-files-question-tp13821533p17316712.html Sent from the Wicket - User maili

Re: properties files

2008-04-29 Thread Martijn Dashorst
Use your MyApplication.properties On 4/29/08, Milan Křápek <[EMAIL PROTECTED]> wrote: > Hi, > I have one simple question. but I had no luck in finding an answer on > mailing list. I have web application with probably twenty pages. I am usisng > properties files (e.g. MyPag

properties files

2008-04-29 Thread Milan Křápek
Hi, I have one simple question. but I had no luck in finding an answer on mailing list. I have web application with probably twenty pages. I am usisng properties files (e.g. MyPage_en_US.properties) for localization. Because I am using a lot of forms on my pages, there are some common string

Re: Writing to .properties files and make changes happen?

2008-04-04 Thread unka_hahrry
ized. >> >> >> Johan Compagner wrote: >> > >> > thats very strange >> > writing a file in an editor or save it through java that shouldn't >> matter >> > But are you constantly writing properties

Re: Writing to .properties files and make changes happen?

2008-04-03 Thread Johan Compagner
; > Johan Compagner wrote: > > > > thats very strange > > writing a file in an editor or save it through java that shouldn't matter > > But are you constantly writing properties file from inside the webapp? > > > > johan > > > > > > > &g

Re: Writing to .properties files and make changes happen?

2008-04-03 Thread Azzeddine Daddah
the overwriting process won't be recognized. > > > Johan Compagner wrote: > > > > thats very strange > > writing a file in an editor or save it through java that shouldn't > matter > > But are you constantly writing properties file from i

Re: Writing to .properties files and make changes happen?

2008-04-03 Thread unka_hahrry
le from inside the webapp? > > johan > > > -- View this message in context: http://www.nabble.com/Writing-to-.properties-files-and-make-changes-happen--tp16447118p16484561.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Writing to .properties files and make changes happen?

2008-04-03 Thread Johan Compagner
into the database? > > > igor.vaynberg wrote: > > > > do they reload properly if wicket is running in development mode? > > > > -igor > > > > > > On Wed, Apr 2, 2008 at 7:51 AM, unka_hahrry <[EMAIL PROTECTED]> > > wrote: > >>

Re: Writing to .properties files and make changes happen?

2008-04-03 Thread unka_hahrry
text into the database? igor.vaynberg wrote: > > do they reload properly if wicket is running in development mode? > > -igor > > > On Wed, Apr 2, 2008 at 7:51 AM, unka_hahrry <[EMAIL PROTECTED]> > wrote: >> >> I'm using a BufferedWriter to

Re: Writing to .properties files and make changes happen?

2008-04-02 Thread Johan Compagner
> wrote: > > > > I'm using a BufferedWriter to change my .properties files dynamically, > the > > .properties files are updated well but the changes don't appear in my > > tag. Is there a possiblity to reload a .properties > file? > > -- > > V

Re: Writing to .properties files and make changes happen?

2008-04-02 Thread Igor Vaynberg
do they reload properly if wicket is running in development mode? -igor On Wed, Apr 2, 2008 at 7:51 AM, unka_hahrry <[EMAIL PROTECTED]> wrote: > > I'm using a BufferedWriter to change my .properties files dynamically, the > .properties files are updated well but the change

Writing to .properties files and make changes happen?

2008-04-02 Thread unka_hahrry
I'm using a BufferedWriter to change my .properties files dynamically, the .properties files are updated well but the changes don't appear in my tag. Is there a possiblity to reload a .properties file? -- View this message in context: http://www.nabble.com/Writing-to-.properties-file

RE: Can't Find/Load Properties Files

2008-01-02 Thread Shelli D. Orton
@wicket.apache.org Subject: Re: Can't Find/Load Properties Files not sure why it does that. PatternValidator already extends StringValidator. go ahead and override resourceKey() and return "MyPatternValidator" -igor On Dec 31, 2007 9:45 AM, Shelli D. Orton <[EMAIL PROTECTED]> wrote:

Re: Can't Find/Load Properties Files

2008-01-01 Thread Igor Vaynberg
PatternValidator a subclass of StringValidator, but would prefer to have > it subclass PatternValidator. > > Thanks again! > Shelli > > > -Original Message- > From: Igor Vaynberg [mailto:[EMAIL PROTECTED] > Sent: Friday, December 28, 2007 5:

RE: Can't Find/Load Properties Files

2007-12-31 Thread Shelli D. Orton
rnValidator a subclass of StringValidator, but would prefer to have it subclass PatternValidator. Thanks again! Shelli -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Friday, December 28, 2007 5:03 PM To: users@wicket.apache.org Subject: Re: Can't Find/Load Propert

Re: Can't Find/Load Properties Files

2007-12-28 Thread Igor Vaynberg
m.my.company.MyStringValidator > > where MyPatternValidator extends PatternValidator and MyStringValidator > extends StringValidator. I have also created properties files for each class > within a directory structure that match the classpath: > > com/my/company/MyPatternValidator.pr

Can't Find/Load Properties Files

2007-12-28 Thread Shelli D. Orton
tor where MyPatternValidator extends PatternValidator and MyStringValidator extends StringValidator. I have also created properties files for each class within a directory structure that match the classpath: com/my/company/MyPatternValidator.properties com/my/company/MyStringValidator.properties

Re: .properties files question

2007-11-18 Thread dtoffe
file the wicket way. >> I just need an easy way of getting initialization values that I don't >> want to be wired in MyApplication code, kind of what the .INI files are >> in >> the Windows world. >> >> Cheers, >> >> Daniel >

Re: .properties files question

2007-11-18 Thread Igor Vaynberg
INI files are in > the Windows world. > > Cheers, > > Daniel > > -- > View this message in context: > http://www.nabble.com/.properties-files-question-tf4831100.html#a13821533 > Sent from the Wicket - User mailing list archive at Nabble.com. > > >

SOLVED Re: .properties files question

2007-11-18 Thread dtoffe
; Cheers, > > Daniel > > -- View this message in context: http://www.nabble.com/.properties-files-question-tf4831100.html#a13821697 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

.properties files question

2007-11-18 Thread dtoffe
don't want to be wired in MyApplication code, kind of what the .INI files are in the Windows world. Cheers, Daniel -- View this message in context: http://www.nabble.com/.properties-files-question-tf4831100.html#a13821533 Sent from the Wicket - User mailing list archiv