You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Massimo Lusetti (Assigned) (JIRA)" <ji...@apache.org> on 2011/12/07 10:06:40 UTC

[jira] [Assigned] (TAP5-1773) FormFieldFocus mixin passes control name, not client id, to JavaScriptSupport.autofocus()

     [ https://issues.apache.org/jira/browse/TAP5-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Massimo Lusetti reassigned TAP5-1773:
-------------------------------------

    Assignee: Massimo Lusetti
    
> 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
>            Assignee: Massimo Lusetti
>              Labels: fields, forms
>
> 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