You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/08/24 01:22:09 UTC

[jira] Closed: (TAPESTRY-581) Tapestry attempts to invoke focus() on client-side objects that don't implement it

     [ http://issues.apache.org/jira/browse/TAPESTRY-581?page=all ]
     
Howard M. Lewis Ship closed TAPESTRY-581:
-----------------------------------------

    Fix Version: 4.0
     Resolution: Fixed

> Tapestry attempts to invoke focus() on client-side objects that don't implement it
> ----------------------------------------------------------------------------------
>
>          Key: TAPESTRY-581
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-581
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>  Environment: t4 beta 4, ie6sp1
>     Reporter: sorphi
>     Assignee: Howard M. Lewis Ship
>      Fix For: 4.0

>
> Form.js
> function focus(field)
> {
> ++    if(field.type && field.type != "hidden")
>  	field.focus();
>     if (field.select)
>         field.select();
> }
> when field type is hidden type, field.focus() will occur a error in IE, except for mozila firefox.
> when some field have the same name, for example, group checkbox, field.focus() will occur a error.
> More, if developer develops some form component , for example, composited base form component.  The modification can make such components to avoid to wrong focus.

-- 
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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org