You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Claus Nielsen (JIRA)" <ta...@jakarta.apache.org> on 2005/10/19 12:13:44 UTC
[jira] Created: (TAPESTRY-711) Do not give focus to disabled fields.
Do not give focus to disabled fields.
-------------------------------------
Key: TAPESTRY-711
URL: http://issues.apache.org/jira/browse/TAPESTRY-711
Project: Tapestry
Type: Bug
Components: Framework
Versions: 4.0
Reporter: Claus Nielsen
I have a Form in which the first field is a disabled TextField.
The page generated by Tapestry contains this JavaScript statement:
Tapestry.set_focus('number');
It tries to give focus to the disabled field. It should instead give focus to the first non-hidden, non-disabled field in the form.
--
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-711) Do not give focus to disabled fields.
Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-711?page=comments#action_12356288 ]
Howard M. Lewis Ship commented on TAPESTRY-711:
-----------------------------------------------
Not sure when having a Submit component take focus is a bad idea.
Fortunately, it is very simple to make sure that disabled components never register for focus.
> Do not give focus to disabled fields.
> -------------------------------------
>
> Key: TAPESTRY-711
> URL: http://issues.apache.org/jira/browse/TAPESTRY-711
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Reporter: Claus Nielsen
> Assignee: Howard M. Lewis Ship
>
> I have a Form in which the first field is a disabled TextField.
> The page generated by Tapestry contains this JavaScript statement:
> Tapestry.set_focus('number');
> It tries to give focus to the disabled field. It should instead give focus to the first non-hidden, non-disabled field in the form.
--
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-711) Do not give focus to disabled fields.
Posted by "Norbert Sándor (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-711?page=comments#action_12332557 ]
Norbert Sándor commented on TAPESTRY-711:
-----------------------------------------
In beta 11 Submit buttons may have such autofocus, which is not good I think.
BR,
Norbi
> Do not give focus to disabled fields.
> -------------------------------------
>
> Key: TAPESTRY-711
> URL: http://issues.apache.org/jira/browse/TAPESTRY-711
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Reporter: Claus Nielsen
>
> I have a Form in which the first field is a disabled TextField.
> The page generated by Tapestry contains this JavaScript statement:
> Tapestry.set_focus('number');
> It tries to give focus to the disabled field. It should instead give focus to the first non-hidden, non-disabled field in the form.
--
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] Assigned: (TAPESTRY-711) Do not give focus to disabled fields.
Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-711?page=all ]
Howard M. Lewis Ship reassigned TAPESTRY-711:
---------------------------------------------
Assign To: Howard M. Lewis Ship
> Do not give focus to disabled fields.
> -------------------------------------
>
> Key: TAPESTRY-711
> URL: http://issues.apache.org/jira/browse/TAPESTRY-711
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Reporter: Claus Nielsen
> Assignee: Howard M. Lewis Ship
>
> I have a Form in which the first field is a disabled TextField.
> The page generated by Tapestry contains this JavaScript statement:
> Tapestry.set_focus('number');
> It tries to give focus to the disabled field. It should instead give focus to the first non-hidden, non-disabled field in the form.
--
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] Closed: (TAPESTRY-711) Do not give focus to disabled fields.
Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-711?page=all ]
Howard M. Lewis Ship closed TAPESTRY-711:
-----------------------------------------
Fix Version: 4.0
Resolution: Fixed
> Do not give focus to disabled fields.
> -------------------------------------
>
> Key: TAPESTRY-711
> URL: http://issues.apache.org/jira/browse/TAPESTRY-711
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Reporter: Claus Nielsen
> Assignee: Howard M. Lewis Ship
> Fix For: 4.0
>
> I have a Form in which the first field is a disabled TextField.
> The page generated by Tapestry contains this JavaScript statement:
> Tapestry.set_focus('number');
> It tries to give focus to the disabled field. It should instead give focus to the first non-hidden, non-disabled field in the form.
--
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