Re: localizer and variables

2009-06-30 Thread OjO
? -- View this message in context: http://www.nabble.com/localizer-and-variables-tp16548684p24227247.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: localizer and variables

2009-06-29 Thread OjO
://www.nabble.com/localizer-and-variables-tp16548684p24227247.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail

Re: localizer and variables

2009-06-29 Thread Igor Vaynberg
Component's constructor. What would be the correct way to get a property resource when a String value is needed? -- View this message in context: http://www.nabble.com/localizer-and-variables-tp16548684p24227247.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: localizer and variables

2009-06-29 Thread OjO
a String value is needed? -- View this message in context: http://www.nabble.com/localizer-and-variables-tp16548684p24227247.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Re: localizer and variables

2009-06-29 Thread Igor Vaynberg
://www.nabble.com/localizer-and-variables-tp16548684p24227247.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: localizer and variables

2009-06-29 Thread OjO
are not calling Component#getString() inside your Component's constructor. What would be the correct way to get a property resource when a String value is needed? -- View this message in context: http://www.nabble.com/localizer-and-variables-tp16548684p24227247.html Sent from the Wicket

Re: localizer and variables

2009-06-29 Thread Igor Vaynberg
a property resource when a String value is needed? -- View this message in context: http://www.nabble.com/localizer-and-variables-tp16548684p24227247.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: localizer and variables

2009-06-29 Thread Luther Baker
to get a property resource when a String value is needed? -- View this message in context: http://www.nabble.com/localizer-and-variables-tp16548684p24227247.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: localizer and variables

2009-06-26 Thread OjO
resource returned. Make sure you are not calling Component#getString() inside your Component's constructor. What would be the correct way to get a property resource when a String value is needed? -- View this message in context: http://www.nabble.com/localizer-and-variables-tp16548684p24227247.html

Re: localizer and variables

2009-06-26 Thread Igor Vaynberg
is needed? -- View this message in context: http://www.nabble.com/localizer-and-variables-tp16548684p24227247.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: localizer and variables

2009-06-26 Thread OjO
: http://www.nabble.com/localizer-and-variables-tp16548684p24227247.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail

localizer and variables

2008-04-08 Thread Mathias P.W Nilsson
/localizer-and-variables-tp16548684p16548684.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: localizer and variables

2008-04-08 Thread Korbinian Bachl - privat
Hi, How can I use this in my wicket page? I have looked at getLocalizer() but there is no were to set the name variable. How can I use this in wicket? you could start using the search function on the mailinglist or browisng the wicket wiki as we had this question just 23 hours ago

Re: localizer and variables

2008-04-08 Thread Mathias P.W Nilsson
This is what I got so far new StringResourceModel( email.forgotlogin.body , Login.this, new Model(), new Object[]{ user.getUserName(), user.getPassWord() } ).getString(); must I really do this for every string? -- View this message in context: http://www.nabble.com/localizer-and-variables

Re: localizer and variables

2008-04-08 Thread Korbinian Bachl - privat
well, in your case its not an easy string, but one with 2 parameters - in case you have a plain string you can also use the wicket:message method that is quite better suited for this (e.g: 2 message blocks - 1 before, 1 after and in middle a simple label that spews out the user data); if you

Re: localizer and variables

2008-04-08 Thread Erik van Oosten
I thought that something like this would work also: email.subject=Hi {userName}! Here is your confirmation. getLocalizer().getString(email.subject, Login.this, new Model(user)); Regards, Erik. Mathias P.W Nilsson schreef: This is what I got so far new StringResourceModel(