You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Alexey Epishkin (JIRA)" <ta...@jakarta.apache.org> on 2005/03/02 12:09:55 UTC

[jira] Commented: (TAPESTRY-215) ValidField should not use client-side javascript if disabled

     [ http://issues.apache.org/jira/browse/TAPESTRY-215?page=comments#action_60037 ]
     
Alexey Epishkin commented on TAPESTRY-215:
------------------------------------------

Please, use this patch for Tapestry 3.1
The bug is still alive in 3.0.2

> ValidField should not use client-side javascript if disabled
> ------------------------------------------------------------
>
>          Key: TAPESTRY-215
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-215
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 3.0
>     Reporter: Raphael Jean
>     Priority: Minor
>  Attachments: ValidField-disabledPatch.txt
>
> If a ValidField is disabled, it shouldn't use client-side javascript to set the focus to the field or validate its content at form submit time. Doing so generates an error in IE6: "Can't move the focus to the control because it is invisible, not enabled, or of a type that does not accept the focus"
> In fact, ValidField should not use its validator at all if it is disabled (no decoration).

-- 
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
-
If you want more information on JIRA, or have a bug to report 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