Use java.util.ResourceBundle in JSP and use the variable in title
attribute.
Ex.,
...
<%
String colPersonStatus =
ResourceBundle.getBundle("LabelResources").getString("GetPersonForm.ColT
itle.Status")
%>
...
<display:column title="<%=colPersonStatus%>" headerClass="tableHeader
sortable" sortable="true"/>
...
Thanks & Regards,
Imphaa
"If anyone speaks badly of you, live so none will believe it."
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Chawla, Pawan M
Sent: Thursday, February 19, 2004 1:09 AM
To: [EMAIL PROTECTED]
Subject: [displaytag-user] how to include bean message tag in display
tag title attribute
Hi,
How can I include Struts bean:message tag to display the value in the
display-tag title attribute
------------------------------------------------
<display:column property="blNbr" title='<bean:message
key="shipment.tableHeader.blNbr"/>' sortable="true" />
-------------------------------------------------------
The above line does not print the title in HTML. But the view source
code of HTML displays
<th>
<a
href="/gff/shipment.jsp?d-132381-s=1&d-132381-o=2&username=GFFUS
ER1"><bean:message key="shipment.tableHeader.blNbr"/></a></th>
<th>
Thanks,
Pawan.
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=ick
_______________________________________________
displaytag-user mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user