render javascript focus() instead of plain href-anker in links of tr:messages
box.
----------------------------------------------------------------------------------
Key: TRINIDAD-2065
URL: https://issues.apache.org/jira/browse/TRINIDAD-2065
Project: MyFaces Trinidad
Issue Type: Wish
Components: Components
Affects Versions: 1.2.14-core
Environment: Browser with enabled javascript
Reporter: Markus Reichert
The tr:messages-Tag-Renderer "MessageBoxRenderer._renderMessageAnchor(...) "
renders an anker like that:
<a href="#_msgAnc_ComponentId" class="OraLink">LabelOfComponent</a>
The Anker isn't very handy for the user because when the link above is clicked
the only thing happens is that the browser scrolls to the label of the
input-field affected.
In cases of enabled javascript on the browser it would there a better solution
instead which focuses the affected input-field directly:
<a href="javascript:document.getElementById('ComponentId').focus();"
class="OraLink">LabelOfComponent</a>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira