You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/03/02 15:10:27 UTC

[jira] Created: (PIVOT-424) Inserting form sections, table rows, etc. does not preserve tab order

Inserting form sections, table rows, etc. does not preserve tab order
---------------------------------------------------------------------

                 Key: PIVOT-424
                 URL: https://issues.apache.org/jira/browse/PIVOT-424
             Project: Pivot
          Issue Type: Bug
          Components: wtk
            Reporter: Greg Brown
             Fix For: 1.4.1


When components are inserted into a form rather than appended, the default focus traversal policy causes focus to jump around in a seemingly random way. Containers with special-purpose component sequences (Form, TabPane, TablePane, etc.) should insert components at the appropriate point in the base container so that the default tab order is preserved.


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


[jira] Updated: (PIVOT-424) Inserting form sections, table rows, etc. does not preserve tab order

Posted by "A.J. (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

A.J. updated PIVOT-424:
-----------------------

    Attachment: TablePaneFocusTraversalPolicy.java

Got exactly the same problem.
I worked around this by creating a custom FocusTraversalPolicy as suggested.
In case anyone else is interested, I uploaded the implementation as attachment to this issue.

cheers
a.j.

> Inserting form sections, table rows, etc. does not preserve tab order
> ---------------------------------------------------------------------
>
>                 Key: PIVOT-424
>                 URL: https://issues.apache.org/jira/browse/PIVOT-424
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>            Reporter: Greg Brown
>         Attachments: TablePaneFocusTraversalPolicy.java
>
>
> When components are inserted into a form rather than appended, the default focus traversal policy causes focus to jump around in a seemingly random way. Containers with special-purpose component sequences (Form, TabPane, TablePane, etc.) should insert components at the appropriate point in the base container so that the default tab order is preserved.

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


[jira] Resolved: (PIVOT-424) Inserting form sections, table rows, etc. does not preserve tab order

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown resolved PIVOT-424.
------------------------------

    Resolution: Invalid

Since skins may install additional components as needed, there is no way to establish a rule by which containers themselves can reliably manage the z-order of inserted components. Instead, it is either the responsibility of the skin or the caller to apply an appropriate focus traversal policy.


> Inserting form sections, table rows, etc. does not preserve tab order
> ---------------------------------------------------------------------
>
>                 Key: PIVOT-424
>                 URL: https://issues.apache.org/jira/browse/PIVOT-424
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>            Reporter: Greg Brown
>             Fix For: 1.4.1
>
>
> When components are inserted into a form rather than appended, the default focus traversal policy causes focus to jump around in a seemingly random way. Containers with special-purpose component sequences (Form, TabPane, TablePane, etc.) should insert components at the appropriate point in the base container so that the default tab order is preserved.

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


[jira] Updated: (PIVOT-424) Inserting form sections, table rows, etc. does not preserve tab order

Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Volkert updated PIVOT-424:
-------------------------------

    Fix Version/s:     (was: 1.5)

> Inserting form sections, table rows, etc. does not preserve tab order
> ---------------------------------------------------------------------
>
>                 Key: PIVOT-424
>                 URL: https://issues.apache.org/jira/browse/PIVOT-424
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>            Reporter: Greg Brown
>
> When components are inserted into a form rather than appended, the default focus traversal policy causes focus to jump around in a seemingly random way. Containers with special-purpose component sequences (Form, TabPane, TablePane, etc.) should insert components at the appropriate point in the base container so that the default tab order is preserved.

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