aspose file tools*
The moose likes Struts and the fly likes s:submit key 's i18n problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "s:submit key Watch "s:submit key New topic
Author

s:submit key 's i18n problem

walter wang
Ranch Hand

Joined: Jun 02, 2001
Posts: 154
in struts2

if i use
<s:text name="key.update" /> to get value from message properties for german characters "ä,ö,ü" , it works without problem
<s:submit kez="key.update" /> to get value from message properties for german characters "ä,ö,ü" , it could not display correctly
<sx:submit kez="key.update" /> to get value from message properties for german characters "ä,ö,ü" , it works without problem

above test case all works on same envoirment (charSet=UTF-8, pageEncoding=UTF-8)
what is the reason?

could I assign <s:text name="key.update" /> to a variable , then give this variable to s:submit 's label ?


public class Walter { public boolean is_Working_Now (boolean is_boss_Coming) { return is_boss_Coming; }
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: s:submit key 's i18n problem