Hi, We have a rather large application that is "very" heavy on localization and will have quite a few action beans.
In our JSPs we define and use: <c:set var="resBean" value="${actionBean.class.simpleName}" /> Which allows us to access localized variables defined thus: ShareActionBean.pageTitle=Some Title vs. org.project.ui.web.action.content.ShareActionBean.pageTitle=Some Title Why do we do this? Well because: 1) The package names are quite long (alas in the real world "stripesbook.action" isn't sufficient ;-) 2) The class names of all of our Action Beans are guaranteed to be unique 3) It eliminates useless prefix information (due to 2) ), takes less memory for resource bundles, and should be more performant In any event... it works well. The problem now is within Stripes processing wherein it calls the static utility method from multiple locations: LocalizationUtility.getLocalizedFieldName(...) Which uses beanClass.getName() but we would like to have it instead use beanClass.getSimpleName() As the method is static and accessed from multiple locations it does not appear that we can plug-in a different implementation thus the only solution I see (besides dropping the above and letting it be) would be to modify the code and roll our own tweaked Stripes jar. However that is far from ideal. Thoughts??? --Nikolaos ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users