You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Helmut Swaczinna (JIRA)" <de...@myfaces.apache.org> on 2007/11/14 10:36:43 UTC

[jira] Created: (TOBAGO-539) Accelerator keys don't work properly in tabGroup

Accelerator keys don't work properly in tabGroup
------------------------------------------------

                 Key: TOBAGO-539
                 URL: https://issues.apache.org/jira/browse/TOBAGO-539
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Themes
    Affects Versions: 1.0.12, 1.0.13
         Environment: IE 6/7
            Reporter: Helmut Swaczinna
            Priority: Minor


Switching the tabs by accelerator key (alt + key) doesn't work properly with switchType="reloadTab".
You have the push the key twice to switch to the tab.

In this example you have to push the alt + b key always twice.

<f:view>
  <tc:page id="tabsPage" width="200px" height="100px">
    <tc:tabGroup switchType="reloadTab">
      <tc:tab id="tab1" label="T_ab1">
        <tc:out value="Tab1"/>
      </tc:tab> 
      <tc:tab id="tab2" label="Ta_b2">
        <tc:out value="Tab2"/>
      </tc:tab> 
    </tc:tabGroup>
  </tc:page>
</f:view>


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


[jira] Updated: (TOBAGO-539) Accelerator keys don't work properly in tabGroup

Posted by "Helmut Swaczinna (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOBAGO-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Helmut Swaczinna updated TOBAGO-539:
------------------------------------

    Status: Patch Available  (was: Open)

> Accelerator keys don't work properly in tabGroup
> ------------------------------------------------
>
>                 Key: TOBAGO-539
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-539
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Themes
>    Affects Versions: 1.0.12, 1.0.13
>         Environment: IE 6/7
>            Reporter: Helmut Swaczinna
>         Attachments: TOBAGO-539.diff
>
>
> Switching the tabs by accelerator key (alt + key) doesn't work properly with switchType="reloadTab".
> You have the push the key twice to switch to the tab.
> In this example you have to push the alt + b key always twice.
> <f:view>
>   <tc:page id="tabsPage" width="200px" height="100px">
>     <tc:tabGroup switchType="reloadTab">
>       <tc:tab id="tab1" label="T_ab1">
>         <tc:out value="Tab1"/>
>       </tc:tab> 
>       <tc:tab id="tab2" label="Ta_b2">
>         <tc:out value="Tab2"/>
>       </tc:tab> 
>     </tc:tabGroup>
>   </tc:page>
> </f:view>

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


[jira] Commented: (TOBAGO-539) Accelerator keys don't work properly in tabGroup

Posted by "Helmut Swaczinna (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561057#action_12561057 ] 

Helmut Swaczinna commented on TOBAGO-539:
-----------------------------------------

I've been able to locate the cause of this problem (but not able to fix it).

In tabgroup.js in method removeRelatedAcceleratorKey() must the dummy accelerator key helper
element for IE (added in Tobago.AcceleratorKey())  be removed. 

> Accelerator keys don't work properly in tabGroup
> ------------------------------------------------
>
>                 Key: TOBAGO-539
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-539
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Themes
>    Affects Versions: 1.0.12, 1.0.13
>         Environment: IE 6/7
>            Reporter: Helmut Swaczinna
>
> Switching the tabs by accelerator key (alt + key) doesn't work properly with switchType="reloadTab".
> You have the push the key twice to switch to the tab.
> In this example you have to push the alt + b key always twice.
> <f:view>
>   <tc:page id="tabsPage" width="200px" height="100px">
>     <tc:tabGroup switchType="reloadTab">
>       <tc:tab id="tab1" label="T_ab1">
>         <tc:out value="Tab1"/>
>       </tc:tab> 
>       <tc:tab id="tab2" label="Ta_b2">
>         <tc:out value="Tab2"/>
>       </tc:tab> 
>     </tc:tabGroup>
>   </tc:page>
> </f:view>

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


[jira] Resolved: (TOBAGO-539) Accelerator keys don't work properly in tabGroup

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOBAGO-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Bohmann resolved TOBAGO-539.
----------------------------------

    Resolution: Fixed

> Accelerator keys don't work properly in tabGroup
> ------------------------------------------------
>
>                 Key: TOBAGO-539
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-539
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Themes
>    Affects Versions: 1.0.12, 1.0.13
>         Environment: IE 6/7
>            Reporter: Helmut Swaczinna
>            Assignee: Bernd Bohmann
>             Fix For: 1.0.15, 1.1.0
>
>         Attachments: TOBAGO-539.diff
>
>
> Switching the tabs by accelerator key (alt + key) doesn't work properly with switchType="reloadTab".
> You have the push the key twice to switch to the tab.
> In this example you have to push the alt + b key always twice.
> <f:view>
>   <tc:page id="tabsPage" width="200px" height="100px">
>     <tc:tabGroup switchType="reloadTab">
>       <tc:tab id="tab1" label="T_ab1">
>         <tc:out value="Tab1"/>
>       </tc:tab> 
>       <tc:tab id="tab2" label="Ta_b2">
>         <tc:out value="Tab2"/>
>       </tc:tab> 
>     </tc:tabGroup>
>   </tc:page>
> </f:view>

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