[
http://jira.jboss.com/jira/browse/JBSEAM-2611?page=comments#action_12400440 ]
Nicklas Karlsson commented on JBSEAM-2611:
------------------------------------------
I use ICEFaces so I put in into an ice:inputText where it complained that parent was not a
form.
Put it into a form and used the focusedComponentId and that worked fine.
Nice work. I'll put it into our next test-app, there are people with IE6 testing
also...
<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