Two Laptop Bag*
The moose likes Struts and the fly likes Locale message for <s:textfield> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Locale message for <s:textfield>" Watch "Locale message for <s:textfield>" New topic

Locale message for <s:textfield>

James Peter
Ranch Hand

Joined: Sep 15, 2010
Posts: 115
Hi all,

I have below two controls and only one locale file English. When i change locale to English, text field and select control captions,messages are getting displayed in English properly. When I change to French locale select control caption is displaying as I.UI.C.Student (which is correct) but student caption is getting displayed in English language word (Student). It should also display IMT$.UI.C.Student. Please let me know where i am doing mistake.

It is sorta covered in the JavaRanch Style Guide.
subject: Locale message for <s:textfield>
Similar Threads
Problem With I18n feature of Struts2
how to get back bean value in javascript
Bad cascade
Bug in code
i need help on java database arithemetic