You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Greg Lindholm <gl...@yahoo.com> on 2009/04/09 21:16:30 UTC

Re: It's a struts2 bug? or just I miss something or configuration error

Can you do a view source on the page from your browser and post what the form
looks like.


gordian yuan wrote:
> 
> I forgot to say that I am using Struts 2.1.6
> 
> On Thu, Apr 9, 2009 at 6:14 PM, Gordian Yuan <go...@gmail.com>
> wrote:
> 
>> Hi all,
>>
>> I encountered the issue of international and I don't know this is a bug
>> or
>> just I miss something or configuration error.
>>
>> The issue is
>>
>> I have a simple page like this
>>
>> <s:form action="saveCampaign">
>>    <s:textfield id="name" name="name" key="createCampaign.name"/>
>>    <s:submit key="createCampaign.create"/>
>> </s:form>
>>
>> and i have two properties
>>
>> #en_US properties
>> createCampaign.name=Name
>> createCampaign.submit=Create
>>
>> #zh_CN properties
>> createCampaign.name=名称
>> createCampaign.submit=创建
>>
>> In english version everything is fine, but in chinese version the
>> s:textfield is fine, but s:submit tag is some messy code!
>>
>> I have change the page like this
>>
>> <s:form action="saveCampaign">
>>    <s:textfield id="name" name="name" key="createCampaign.name"/>
>>    <s:submit key="createCampaign.name"/>
>> </s:form>
>>
>> But the submit button still messy code ..
>>
>> Is it a bug?
>>
>> Any input will be welcome .. thx
>>
>> Gordian
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/It%27s-a-struts2-bug--or-just-I-miss-something-or-configuration-error-tp22968079p22977533.html
Sent from the Struts - User mailing list archive at Nabble.com.


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