But this is not the way I want to use it. This way, I could use it to put a translated text into the body of a tag like
<td><fmt:message key="login"></td> But how can I use the translated text as an attribute value as written before? Ralf. Am Montag, 3. Mai 2004 17:12 schrieb Nathan Maves: > I am not 100% sure but I believe that you just use the <fmt:message> > tag. > > Just use something like... > > > <fmt:message key="login.tooltip.username" /> > > if you need to send parameters just put them in the body of the tag. > > <fmt:message key="login.tooltip.username" > > <fmt:param value="${username}"/> > </fmt:message> > > > Nathan > > On May 3, 2004, at 8:44 AM, Ralf Schneider wrote: > > Could you give a short example of how this can be done with JSTL or > > point me > > to an example? > > > > I looked into the Java Web Services Tutorial, but the chapter about > > internationalization with JSTL only describes the use of > > internationalized > > strings in the body of a tag (e.g. <fmt:message ...>). > > > > Ralf. > > > > Am Montag, 3. Mai 2004 15:37 schrieb Nathan Maves: > >> Use jstl! > >> > >> On May 3, 2004, at 6:51 AM, Ralf Schneider wrote: > >>> Hi, > >>> > >>> how can a use internationalized text strings stored in a resource > >>> bundle as > >>> values of attributes? > >>> > >>> For example: > >>> > >>> <html:text property="username" title="login.tooltip.username"/> > >>> > >>> I know, this will not work, but how can it be done? > >>> > >>> Ralf. > > > > --------------------------------------------------------------------- > > 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] -- ## Ralf Schneider ## Fürstenallee 14 - 34454 Bad Arolsen ## Tel. +49-5691-625994 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]