[richfaces-issues] [JBoss JIRA] Resolved: (RF-9978) rich:tab rendered wrong
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Mon Jan 24 13:24:49 EST 2011
[ https://issues.jboss.org/browse/RF-9978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Belaevski resolved RF-9978.
--------------------------------
Resolution: Duplicate Issue
> rich:tab rendered wrong
> -----------------------
>
> Key: RF-9978
> URL: https://issues.jboss.org/browse/RF-9978
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.0.0.Milestone4
> Environment: all
> Reporter: wojtek k
> Assignee: Alex Kolonitsky
> Fix For: 4.0.0.CR1
>
>
> <rich:tabPanel id="tp" switchType="server">
> <rich:tab name="1" header="1">
> tab1
> </rich:tab>
> <rich:tab name="2" header="2">
> tab2
> </rich:tab>
> <rich:tab name="3" header="3">
> tab3
> </rich:tab>
> </rich:tabPanel>
> html output
> <div class="rf-tb" id="j_idt28:j_idt29"><div id="j_idt28:j_idt29:content" class="rf-tb-cnt">
> tab1
> </div><script type="text/javascript">new RichFaces.ui.Tab("j_idt28:j_idt29",{"index":0,"togglePanelId":"j_idt28:tp","switchMode":"server","disabled":false,"name":"1"} )</script></div>
> <div class="rf-tb" id="j_idt28:j_idt31"><div style="display: none;" id="j_idt28:j_idt31:content" class="rf-tb-cnt">
> tab2
> </div><script type="text/javascript">new RichFaces.ui.Tab("j_idt28:j_idt31",{"index":1,"togglePanelId":"j_idt28:tp","switchMode":"server","disabled":false,"name":"2"} )</script></div>
> <div class="rf-tb" id="j_idt28:j_idt33"><div style="display: none;" id="j_idt28:j_idt33:content" class="rf-tb-cnt">
> tab3
> </div><script type="text/javascript">new RichFaces.ui.Tab("j_idt28:j_idt33",{"index":2,"togglePanelId":"j_idt28:tp","switchMode":"server","disabled":false,"name":"3"} )</script></div>
> when switchType=server only selected rich:tab should be rendered
> not sure in case ajax (append new, refresh selected)?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list