[ http://issues.apache.org/jira/browse/TAPESTRY-711?page=comments#action_12356288 ]
Howard M. Lewis Ship commented on TAPESTRY-711: ----------------------------------------------- Not sure when having a Submit component take focus is a bad idea. Fortunately, it is very simple to make sure that disabled components never register for focus. > Do not give focus to disabled fields. > ------------------------------------- > > Key: TAPESTRY-711 > URL: http://issues.apache.org/jira/browse/TAPESTRY-711 > Project: Tapestry > Type: Bug > Components: Framework > Versions: 4.0 > Reporter: Claus Nielsen > Assignee: Howard M. Lewis Ship > > I have a Form in which the first field is a disabled TextField. > The page generated by Tapestry contains this JavaScript statement: > Tapestry.set_focus('number'); > It tries to give focus to the disabled field. It should instead give focus to > the first non-hidden, non-disabled field in the form. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
