Switching languages doesn't work correctly due to initialized member variable rb in UseMenuDisplayerTag class
-------------------------------------------------------------------------------------------------------------
Key: SM-100
URL:
http://issues.appfuse.org/browse/SM-100 Project: Struts Menu
Issue Type: Bug
Components: i18n
Affects Versions: 2.4.3
Environment: tested with Struts 1 and Tomcat 5.5
Reporter: Josef Cacek
Assignee: Matt Raible
Attachments: UseMenuDisplayerTag.java.patch
Switching languages doesn't work correctly in struts-menu. Problem is caused by member variable ResourceBundle rb in class net.sf.navigator.taglib.UseMenuDisplayerTag. If it's once initialized it's not changed anymore (translations will not change).
Quick-fix: set the rb variable to null at the end of doStartTag() method.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.appfuse.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
struts-menu-devel mailing list
struts-menu-devel@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-devel