Thnaks for the hint; It is a good work around solution.

But I still say a 'titleKey' should be added to the library ASAP.

Fred.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of B�rd
Arve Evjen
Sent: mardi 16 d�cembre 2003 10:26
To: [EMAIL PROTECTED]
Subject: Re: [displaytag-user] Title key

This is not possible today as far as I know. But you can to this

Define a variable containing the string from the appl. resource file:

<bean:define id="lcompanyName"><bean:message
key="web.summarymargin.companyname.column"/></bean:define>

Use the variable in your displaytag:

<display:column title="<%=lcompanyName%>"
property="companyName" sort="true"
align="left" headerClass="sortable"
width="20%"/>

Cheers,
Bard

----- Original Message -----
From: "fredatwork" <[EMAIL PROTECTED]>
Date: Mon, 15 Dec 2003 17:55:46 +0100
To: "Display Tag Mailing List" <[EMAIL PROTECTED]>
Subject: [displaytag-user] Title key

> Is there an attribute for the <display :column> tag that references a
> string in a ressource bundle ?
>  
> What I understand is that there is only the "title" attribute that
> requires hardcoding of the heander column name in the JSP page.
>  
> If I've got it right, I would recommend an "urgent" change in order to
> make sure that there is also a "titleKey" attribute that would point
to
> a string in a resource bundle.
>  
> Fred

-- 
___________________________________________________
Check out the latest SMS services @ http://www.operamail.com, which
allows you to send SMS through your mailbox.

Powered by Outblaze


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for
IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys
admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to