On 4/26/06, Juergen Donnerstag <[EMAIL PROTECTED]
> wrote:
I've added WicketBundleResourceStringLoader to core which implements
the behavior, but it is not activated by default. You need to add it
to the application like
getResourceSettings().addStringResourceLoader(new
WicketBundleStringResourceLoader(application, ...));
Juergen
On 4/26/06, Ari Suutari <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
> > But java ResourceBundles don't know about styles and variations as fas
> > as I know. I know only about locales.
>
> True. I meant that when ResourceBundles, if you have msgs_fi.properties and
> msgs.properties the system falls back to msgs.properties if requested message
> is not found in msgs_fi.properties.
>
> Ari S.
>
> >
> > Juergen
> >
> > On 4/26/06, Ari Suutari < [EMAIL PROTECTED]> wrote:
> >> Hi,
> >>
> >> > What i (and presumably Ari) wanted tried to achieve, is to have some
> >> > style-specific bundle wich only contains some keys with style-specific
> >> > values and thus not having to maintain a bunch of property files if we
> >> > add another key, eventhough it's value would be the same across all styles.
> >> >
> >> > But since this behaviour is *not* how java usually deals with
> >> > .properties, i'm not sure if this is a bug.
> >>
> >> I think that this is the way how java handles ResourceBundles: lookup
> >> falls back to parent bundle if key is not found. Because of this I assumed
> >> that wicket's .properties would work same way.
> >>
> >> Ari S.
> >>
> >>
> >>
> >> -------------------------------------------------------
> >> Using Tomcat but need to do more? Need to support web services, security?
> >> Get stuff done quickly with pre-integrated technology to make your job easier
> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >> _______________________________________________
> >> Wicket-user mailing list
> >> Wicket-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>
> >
> >
> > -------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd_______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user