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" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]