incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeanne Waldman (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Updated: (ADFFACES-153) RenderAccessKeyText in AccessKeyUtils class currently uses HTML element to decorate accessKey, rather than CSS
Date Tue, 03 Oct 2006 01:15:20 GMT
     [ http://issues.apache.org/jira/browse/ADFFACES-153?page=all ]

Jeanne Waldman updated ADFFACES-153:
------------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

> RenderAccessKeyText in AccessKeyUtils class currently uses HTML element to decorate accessKey,
rather than CSS
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-153
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-153
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Yee-Wah Lee
>         Assigned To: Jeanne Waldman
>            Priority: Minor
>         Attachments: trunk.patch, trunk.patch
>
>
> The method RenderAccessKeyText in org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.AccessKeyUtils
currently takes a string argument, "highlightElement". It uses the highlightElement to create
a HTML tag around the AccessKey character, e.g.  
> RenderAccessKeyText (fc, "Go to sitemap",1,"b") produces 
> <b>G</b>o to sitemap
> Propose changing the usage of the highlightElement to be the name of a CSS class instead
for flexibility. Also, the most common convention is to underline the access key, but the
<U> element, which would be produced with existing code, is deprecated in HTML 4.0.
With the change, output would then be:
> RenderAccessKeyText (fc, "Go to sitemap",1,"AccessKeyClass") produces 
> <span class="AccessKeyClass">G</span>o to sitemap
> The other overloads in the class which did not specify any value for highlightElement
will be modified to pass a default class, which has style "text-decoration:underline" and
is defined in base-desktop.xss

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

        

Mime
View raw message