struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Bosmans <peter.bosm...@khlim.be>
Subject Re: why no message resources for value
Date Wed, 16 Jul 2003 13:55:22 GMT
Vangelis, the following works fine here :
<html:submit titleKey="stageadmin.titleviewlink"><bean:message 
key="stageadmin.valueviewlink"/></html:submit>

so why make it so difficult, i've not enough experience to understand 
your proposition. (especially title="<%="["+xxxx+"]"%>" ")

But thanks anyway for your helpfull hand.

Konstadinis Euaggelos wrote:
> Peter if you want to set alt, title in struts-tag then <bean:message
> key="app.title"/> want work
> you must do:
> 
> <bean:define id="xxxx"><bean:message key='app.title'></bean:define>
> 
> than you can use it as scriptlet ...
> 
> <html:button property="previous" styleClass="Button"
> title="<%="["+xxxx+"]"%>" ">
>             <bean:message bundle="BUTTON_RESOURCE_KEY"
> key="button.previous"/>
> </html:button>
> 
> 
> ----- Original Message -----
> From: "Peter Bosmans" <peter.bosmans@khlim.be>
> To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> Sent: Wednesday, July 16, 2003 2:48 PM
> Subject: Re: why no message resources for value
> 
> 
> 
>>That works great. Thank u
>>
>>Prashanth.S wrote:
>>
>>>Hi,
>>>I thing below code works for u.
>>>
>>><html:submit><bean:message key="app.title"/></html:submit>
>>>where
>>>app.title
>>>[u define in resource bundle]
>>>
>>>Thanks
>>>Prashanth
>>>
>>>Peter Bosmans <peter.bosmans@khlim.be> wrote:
>>>I was wondering why the value in a html:submit couldn't be set with a
>>>message resource value (like titleKey and altKey).
>>>This means that i could never use i18n for the submit button ?
>>>
>>>greetings
>>>
>>>Peter
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>---------------------------------
>>>Do you Yahoo!?
>>>SBC Yahoo! DSL - Now only $29.95 per month!
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 



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


Mime
View raw message