Author: nbelaevski
Date: 2007-04-26 13:19:56 -0400 (Thu, 26 Apr 2007)
New Revision: 578
Modified:
trunk/richfaces-samples/tabPanelDemo/src/main/webapp/pages/index.jsp
trunk/richfaces/tabPanel/src/main/templates/tab.jspx
Log:
http://jira.jboss.com/jira/browse/RF-123 fixed
Test case added
Modified: trunk/richfaces/tabPanel/src/main/templates/tab.jspx
===================================================================
--- trunk/richfaces/tabPanel/src/main/templates/tab.jspx 2007-04-26 16:08:06 UTC (rev
577)
+++ trunk/richfaces/tabPanel/src/main/templates/tab.jspx 2007-04-26 17:19:56 UTC (rev
578)
@@ -18,7 +18,10 @@
<table border="0" cellpadding="10" cellspacing="0"
width="100%" class="dr-tbpnl-cntnt-pstn
rich-tabpanel-content-position" style="position : relative; z-index:
1;">
<tr>
- <td class="dr-tbpnl-cntnt rich-tabpanel-content
#{component.pane.attributes['contentClass']}
#{component.attributes['styleClass']}"
style="#{component.attributes['contentStyle']};
#{component.attributes['style']}">
+ <td class="dr-tbpnl-cntnt rich-tabpanel-content
#{component.pane.attributes['contentClass']}
#{component.attributes['styleClass']}"
+ style="#{component.attributes['contentStyle']};
#{component.attributes['style']}"
+ x:passThruWithExclusions="class,style,styleClass,id"
+ >
<vcp:body />
</td>
</tr>
Modified: trunk/richfaces-samples/tabPanelDemo/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/richfaces-samples/tabPanelDemo/src/main/webapp/pages/index.jsp 2007-04-26
16:08:06 UTC (rev 577)
+++ trunk/richfaces-samples/tabPanelDemo/src/main/webapp/pages/index.jsp 2007-04-26
17:19:56 UTC (rev 578)
@@ -76,7 +76,7 @@
<tabs:tabPanel valueChangeListener="#{bean.valueChanged}"
headerSpacing="5px" immediate="false" tabClass="tabClass"
activeTabClass="italic" width="100%" switchType="client"
binding="#{bean.tabPanel}" value="#{bean.currentTab}"
id="tab_panel">
<f:valueChangeListener type="org.richfaces.TabChangeListener"/>
- <tabs:tab disabled="#{bean.disabledTabName == 'canon'}"
name="canon" label="Canon" switchType="server">
+ <tabs:tab onclick="alert('\\'Canon\\' tab clicked');"
disabled="#{bean.disabledTabName == 'canon'}" name="canon"
label="Canon" switchType="server">
<h:graphicImage value="/pages/Canon_EOS_Digital_Rebel_XT.jpg"
alt=""/>
<h:outputText value="Canon EOS Digital Rebel XT" />
<h:inputText required="true" value="#{bean.value1}"/>