struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Neè <mario....@xmoon.org>
Subject Re: MessageResources.properties escape character
Date Wed, 09 Nov 2005 08:19:23 GMT
Ok i understand why it doesn't work. The error appear only if i use this 
label with

<html:submit property="button.prop">
    <bean:message key="button.text"/>
</html:submit>

Yujun Liang wrote:

>To display
>
>test=hello "world" !!!
>
>you just config
>
>the.key=test=hello "world" !!!
>
>to display
>
>hello "world" !!!
>
>you just config
>
>the.key=hello "world" !!!
>
>I solved it by an experiment. :)
>
>Regards
>
>On 11/9/05, Laurie Harper <laurie@holoweb.net> wrote:
>  
>
>>Mario Neè wrote:
>>    
>>
>>>How can i display this label with an escape character ?
>>>
>>>test=hello "world" !!!
>>>      
>>>
>>What do you mean 'with an escape character'? Are you trying to use the
>>resource string in a context where it is quoted? If so, try surrounding
>>it with single quotes instead of double quotes.
>>
>>L.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>    
>>
>
>
>--
>Yujun Liang
>yujun.liang@acm.org
>
>  
>
if i

-- 
Mario Nee'
Brescia Italy
mario.nee@xmoon.org
http://www.xmoon.org


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


Mime
View raw message