[ http://issues.apache.org/jira/browse/TAPESTRY-581?page=all ]

Howard M. Lewis Ship updated TAPESTRY-581:
------------------------------------------

    Summary: Tapestry attempts to invoke focus() on client-side objects that 
don't implement it  (was: Form.js  focus() occurs errors when field type is 
hidden or some other)

Also, it would be nice if Tapestry didn't try to focus on hidden fields ever!

> 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

>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to