[
http://jira.jboss.com/jira/browse/JBSEAM-2611?page=comments#action_12399951 ]
Pete Muir commented on JBSEAM-2611:
-----------------------------------
Ok attach the changes in diff format against trunk and I can take a look. I still think
this would be a better contribution to RichFaces, but lets see.
<s:prefocus/> tag for setting focus on page entry
-------------------------------------------------
Key: JBSEAM-2611
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2611
Project: JBoss Seam
Issue Type: Feature Request
Components: JSF Controls
Reporter: Nicklas Karlsson
Attachments: jboss-seam-ui-focus-beta1.jar, jboss-seam-ui.jar, ui-src-v1.zip
It might be convenient to have a <s:prefocus/> tag that could be e.g. nested inside
an inputText field you would like to have focused when the page is loaded.
It could be implemented with a simple document.getElementById('...').focus(); (or
other browser-compatible code) at the end of the page.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira