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

[jira] Created: (TAPESTRY-1268) setting focus=false on EventListener doesn't prevent focus from being claimed on form elements

setting focus=false on EventListener doesn't prevent focus from being claimed on form elements
----------------------------------------------------------------------------------------------

                 Key: TAPESTRY-1268
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1268
             Project: Tapestry
          Issue Type: Bug
          Components: XHR/dhtml/Ajax
    Affects Versions: 4.1.2
         Environment: browser
            Reporter: Jesse Kuhnert
            Priority: Minor
             Fix For: 4.1.2


setting the focus attribute to false on the EventListener annotation should prevent any focus from being claimed on a form unless client validation is on.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Resolved: (TAPESTRY-1268) setting focus=false on EventListener doesn't prevent focus from being claimed on form elements

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Kuhnert resolved TAPESTRY-1268.
-------------------------------------

    Resolution: Fixed
      Assignee: Jesse Kuhnert

Doh! Was using the internal IRequestCycle.setAttribute() logic to set the focusing value but those attributes are cleared just after rewind. Introduced new "global to cycle" value that can be checked/set independently of rewind/normal render.

> setting focus=false on EventListener doesn't prevent focus from being claimed on form elements
> ----------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1268
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1268
>             Project: Tapestry
>          Issue Type: Bug
>          Components: XHR/dhtml/Ajax
>    Affects Versions: 4.1.2
>         Environment: browser
>            Reporter: Jesse Kuhnert
>         Assigned To: Jesse Kuhnert
>            Priority: Minor
>             Fix For: 4.1.2
>
>
> setting the focus attribute to false on the EventListener annotation should prevent any focus from being claimed on a form unless client validation is on.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org