Good morning folks,

I'm wondering if there is any possibility to decorate the column header
itself?

It's because of I am using the titleKey Attribute of the <display:column>
Tag to retrieve the Columnheader from a property file
Unfortunately some special characters (like ä, ö, ü in the german language)
in the property file are html encoded like & auml; (without the whitespace).

So I assumed that I could create a Decorator Class to modify the header and
replace some characters in the title string. But the only Interface i found
was the Displaytag ColumnDecorator. With the given "decorate" Method it
seems that you can only modify the columnValue but not the columnHeader.

If anyone of you has an idea how to encounter my problem, please let me
know.

By the way, for better understanding: this is a snippet of my current
implementation

{...}
     <fmt:setBundle basename="i18nProperty" />
     <display:table name="assetTreeBeans" export="true" requestURI=""
decorator="path.to.my.displaytag.TableDecorator">
            <display:setProperty name="export.modifiedcsv.include_header"
value="true" />
            <display:column property="Id" titleKey="property_id"/>
            <display:column property="productKey"
titleKey="property_productKey"/>
{...}
     </display:table>

Thanks in advance & kind regards,
Bastian
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to