FormFieldFocus mixin passes control name, not client id, to 
JavaScriptSupport.autofocus()
-----------------------------------------------------------------------------------------

                 Key: TAP5-1773
                 URL: https://issues.apache.org/jira/browse/TAP5-1773
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.3, 5.4
            Reporter: Howard M. Lewis Ship


Noticed this while writing up some documentation about dealing with form focus. 
This works in simple cases where the control name and the client id often are 
the same value, but won't work in other cases (especially Ajax ones).

In addition, it is not clear why this mixin is attached to a Form and takes a 
Field as a parameter rather than attaching to a Field and taking no parameters?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to