You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Cyril Godefroy <cy...@ecomposite.fr> on 2004/10/15 11:04:05 UTC
Localizing selection model
Is there a shortcut to localize values from a selection model?
What I am planning to do (and sweat) is to set the locale of the
propertySelection on the
pageBeginRender() of my pages and load the values from
a .properties ResourceBundle.
It would be something like:
public class StatusSelectionModel implements
IPropertySelectionModel {
public void finishLoad(IPage page){
ResourceBundle myResources =
ResourceBundle.getBundle("MyResources", page.getLocale());
....
}
Or is it too late?
Tia,
Cyril
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org