[richfaces-issues] [JBoss JIRA] Created: (RF-9978) rich:tab rendered wrong

wojtek k (JIRA) jira-events at lists.jboss.org
Wed Dec 8 09:34:31 EST 2010


rich:tab rendered wrong
-----------------------

                 Key: RF-9978
                 URL: https://jira.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


<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