Re: How to use resource bundle in attributes

2004-05-03 Thread 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.

Re: How to use resource bundle in attributes

2004-05-03 Thread 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}/

Re: How to use resource bundle in attributes

2004-05-03 Thread Ralf Schneider
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 tdfmt: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

Re: How to use resource bundle in attributes

2004-05-03 Thread bOOyah
Ralf Schneider wrote: how can a use internationalized text strings stored in a resource bundle as values of attributes? html:text property=username title=login.tooltip.username/ Hi Ralf Have you tried html:text property=username titleKey=login.tooltip.username/ I use the 'titleKey'

Re: How to use resource bundle in attributes

2004-05-03 Thread Ralf Schneider
Yes! That's exactly what I was looking for. Thanks a lot! I missed this attribute when looking through the endless list of attributes of the HTML taglib. Ralf. Am Montag, 3. Mai 2004 18:28 schrieb bOOyah: Ralf Schneider wrote: how can a use internationalized text strings stored in a