struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Multi lingual web site
Date Thu, 31 May 2007 02:30:16 GMT
encode as UTF-16
Good Luck,

This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "wang huan" <fitzwilliam.aaron@gmail.com>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Wednesday, May 30, 2007 9:16 PM
Subject: Re: Multi lingual web site


> We usually have several resource files, and output fields with  tag
> <bean:message key="key_in_resource_file" />.  Instead of storing values, 
> we
> store those keys in DB.
>
> for instance:
> <html:select property="attributeStyle">
>              <html:option value="pagecontent.date"><bean:message key="
> pagecontent.date"/></html:option>
>              <html:option value="pagecontent.string"><bean:message key="
> pagecontent.string"/></html:option>
>              <html:option value="pagecontent.integer"><bean:message key="
> pagecontent.integer"/></html:option>
>             </html:select>
>
>
> -- 
> 北半球的狗几月份掉毛?
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message