[ 
http://jira.codehaus.org/browse/DISPL-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_90908
 ] 

Mike Calmus commented on DISPL-34:
----------------------------------

The title attribute as a part of the header is an important accessibility issue 
for our project. Besides simply being able to put a (more or less) static 
attribute into the header from a jsp, we actually need to have the title show 
something like "sort by Column in ascending order" which would obviously change 
dynamically based upon the current (if it exists) and default sort orders of a 
column.

The suggested fix will work fine for the first step, but because it's 
effectively impossible to subclass HeaderCell (it's created in a private method 
of ColumnTag), there is no way to do anything truly dynamic with this patch. 
DISPL-456 has been created as a subtask of this issue to address this need.

> title attribute in TH tag
> -------------------------
>
>                 Key: DISPL-34
>                 URL: http://jira.codehaus.org/browse/DISPL-34
>             Project: DisplayTag
>          Issue Type: New Feature
>          Components: Tag Library
>    Affects Versions: 1.0 RC1
>            Reporter: fabrizio giustina
>            Priority: Minor
>             Fix For: TBD
>
>         Attachments: changes-to-1.0rc2.zip
>
>
> ====
> imported from sf tracker
> id 1014368 
> submitted by Joost den Boer - joostdenboer
> http://sourceforge.net/support/tracker.php?aid=1014368 
> ====
>  Hi,
> For a project I added functionality to the Displaytag
> version 1.0-rc2 to support the title-attribute of the TH-
> tag. I renamed the current 'title' attribute of the
> ColumnTag to 'name' and added a new title attribute. I
> made sure that if no name was given, the title is used
> for backwards compatibility.
> I attached the sources I modified. Maybe you want to
> include this in the next release.
> Changes made :
> -ColumnTag: renamed title to name and added a new
> title attribute with get\set methodes
> -HeaderCell : added name property
> -TableTag and BaseExportView : use getName() in stead
> of getTitle for the tagcontent.
> -displaytag-12.tld and displaytag-el-12.tld : added
> name property from ColumnTag
> Regards,
> Joost

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to