http://wiki.apache.org/tapestry/HowTos

see the Resources / I18n section

On Wed, May 28, 2008 at 4:02 PM, Bastian Voigt <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Dear *,
>
> in my application I have lots of persistent objects (regions, cities,
> countries, etc), from the database which are used in
> PropertySelectionModels and other UI elements.
>
> My approach for localizing the names was to give them a "key" field
> which is then looked up in a resource bundle properties file by tapestry
> (the standard way tapestry does it).
>
> The problem is, each time I add a new city to the database I need to
> make a new version of my web app, add the german and english name of the
> city to some properties file and deploy it to the server. We have come
> to the point where this is becoming unacceptable.
>
> Is there a simple way to have tapestry reload these resource bundles
> maybe from an external file without redeploying the application? Or from
> a database table?
>
>
>
> - --
> Bastian Voigt
> J2EE Developer
> Hamburg, Germany
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFIPVgB9+lAHD7HULYRAnB9AJ9bDMSW5q2Bec1jfgYESvMqWF2kEACeM7OM
> YNp2eHaoKrdx+FpI5k4Ae7k=
> =NP9c
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to