You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by ta...@jakarta.apache.org on 2004/10/10 11:01:51 UTC

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

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/TAPESTRY-215

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: TAPESTRY-215
    Summary: ValidField should not use client-side javascript if disabled
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Tapestry
 Components: 
             Framework
   Versions:
             3.0

   Assignee: 
   Reporter: Raphael Jean

    Created: Sun, 10 Oct 2004 2:01 AM
    Updated: Sun, 10 Oct 2004 2:01 AM

Description:
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).



---------------------------------------------------------------------
JIRA INFORMATION:
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


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

Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-215?page=all ]

Howard M. Lewis Ship reassigned TAPESTRY-215:
---------------------------------------------

    Assign To: Howard M. Lewis Ship

> 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
>     Assignee: Howard M. Lewis Ship
>     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
-
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


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

Posted by "Alexey Epishkin (JIRA)" <ta...@jakarta.apache.org>.
     [ 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


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

Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-215?page=all ]

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

    Assign To:     (was: Howard M. Lewis Ship)

> 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
-
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


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

Posted by "Brian K. Wallace (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-215?page=all ]

Brian K. Wallace updated TAPESTRY-215:
--------------------------------------

    Fix Version: 3.0.5

> 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
>      Fix For: 3.0.5
>  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
-
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


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

Posted by ta...@jakarta.apache.org.
The following issue has been updated:

    Updater: Raphael Jean (mailto:phtouz@wanadoo.fr)
       Date: Sun, 10 Oct 2004 2:04 AM
    Comment:
Patch to ValidField.java that doesn't generate client-side javascript or decorate the field if it is disabled.
    Changes:
             Attachment changed to ValidField-disabledPatch.txt
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/TAPESTRY-215?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/TAPESTRY-215

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: TAPESTRY-215
    Summary: ValidField should not use client-side javascript if disabled
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Tapestry
 Components: 
             Framework
   Versions:
             3.0

   Assignee: 
   Reporter: Raphael Jean

    Created: Sun, 10 Oct 2004 2:01 AM
    Updated: Sun, 10 Oct 2004 2:04 AM

Description:
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).



---------------------------------------------------------------------
JIRA INFORMATION:
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


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

Posted by "Brian K. Wallace (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-215?page=all ]
     
Brian K. Wallace resolved TAPESTRY-215:
---------------------------------------

    Resolution: Fixed

Added check for isDisabled() prior to adding code to set focus or add validation delegate.

> 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
>     Assignee: Brian K. Wallace
>     Priority: Minor
>      Fix For: 3.0.5
>  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
-
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


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

Posted by "Brian K. Wallace (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-215?page=all ]

Brian K. Wallace updated TAPESTRY-215:
--------------------------------------

    Assign To: Brian K. Wallace

> 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
>     Assignee: Brian K. Wallace
>     Priority: Minor
>      Fix For: 3.0.5
>  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
-
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