Re: improved resource bundles in 1.4

2009-06-29 Thread Igor Vaynberg
no. i18n resources depend on the component hierarchy which is not known in a constructor of a component. -igor On Mon, Jun 29, 2009 at 12:40 PM, OjO wrote: > > I wonder if it is possible to simply make "getString" work for retrieving > localized string in constructor in the next patch. The code w

Re: improved resource bundles in 1.4

2009-06-29 Thread OjO
I wonder if it is possible to simply make "getString" work for retrieving localized string in constructor in the next patch. The code would be much cleaner without the "new ResourceModel" or "getLocalizer().getString...". igor.vaynberg wrote: > > i just committed a patch for WICKET-1103 which g

RE: improved resource bundles in 1.4

2008-10-30 Thread Kai Mütz
Igor Vaynberg wrote: > On Thu, Oct 30, 2008 at 5:13 AM, Kai Mütz <[EMAIL PROTECTED]> > wrote: >> package-level properties sounds good. This is what I am looking for >> currently. Is there a plan to port PackageStringResourceLoader to >> 1.3.x branch? > > no plan so far. t

Re: improved resource bundles in 1.4

2008-10-30 Thread Igor Vaynberg
On Thu, Oct 30, 2008 at 5:13 AM, Kai Mütz <[EMAIL PROTECTED]> wrote: > package-level properties sounds good. This is what I am looking for > currently. Is there a plan to port PackageStringResourceLoader to 1.3.x > branch? no plan so far. this is a new feature and we dont generally roll new featur

RE: improved resource bundles in 1.4

2008-10-30 Thread Kai Mütz
Igor Vaynberg wrote: > i just committed a patch for WICKET-1103 which greatly improves i18n > in wicket. > > first: you can have validators provide their own bundles. eg > MyValidator.properties that is next to MyValidator.java. These keys > are searched last - after the

Re: improved resource bundles in 1.4

2008-10-29 Thread Nino Saturnino Martinez Vazquez Wael
Yeah, really cool:) Igor Vaynberg wrote: i just committed a patch for WICKET-1103 which greatly improves i18n in wicket. first: you can have validators provide their own bundles. eg MyValidator.properties that is next to MyValidator.java. These keys are searched last - after the application.pro

Re: improved resource bundles in 1.4

2008-10-29 Thread Jeremy Thomerson
Awesome! Thanks!! -- Jeremy Thomerson http://www.wickettraining.com On Thu, Oct 30, 2008 at 1:00 AM, Igor Vaynberg <[EMAIL PROTECTED]>wrote: > i just committed a patch for WICKET-1103 which greatly improves i18n in > wicket. > > first: you can have validators provide their own bundles. eg > M