[ https://issues.apache.org/jira/browse/TRINIDAD-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759785#action_12759785 ]
Jeanne Waldman commented on TRINIDAD-1554: ------------------------------------------ The patch is for org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.OutputLabelRenderer. This is the code: // BlackBerry browsers underline the entire text instead of just // the accessKey character in cases where the accessKey character // happens to be the first character in the text. Rendering an // empty span element before rendering the text fixes this problem. Agent agent = arc.getAgent(); if ((accessKeyIndex == 0) && Agent.AGENT_BLACKBERRY.equals(agent.getAgentName())) { rw.startElement("span", null); // Since an empty span element is not rendered, lets // include some attribute to the span element rw.writeAttribute("style", "display:inline", null); rw.endElement("span"); } > BlackBerry browsers incorrectly handles accessKey attribute of > <tr:outputLabel> > ------------------------------------------------------------------------------- > > Key: TRINIDAD-1554 > URL: https://issues.apache.org/jira/browse/TRINIDAD-1554 > Project: MyFaces Trinidad > Issue Type: Bug > Components: Components > Affects Versions: 1.2.11-core > Environment: BlackBerry 4.7 > Reporter: Mamallan Uthaman > Priority: Minor > Attachments: TRINIDAD-1554.patch > > > If accessKey happens to be the first character of outputLabel's value, > BlackBerry browsers underlines the entire outputLabel's value instead of just > the accessKey character. Example, problem occurs if accessKey = "S" and value > = "Some Text". Also, this problem manifest only if you set any background for > outputLabel. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.