Author: sergeyhalipov
Date: 2007-05-25 11:08:52 -0400 (Fri, 25 May 2007)
New Revision: 886
Modified:
trunk/richfaces/tabPanel/src/main/java/org/richfaces/renderkit/TabHeaderRendererBase.java
trunk/richfaces/tabPanel/src/main/templates/tabHeader.jspx
trunk/richfaces/tabPanel/src/main/templates/tabPanel.jspx
Log:
http://jira.jboss.com/jira/browse/RF-232
Modified:
trunk/richfaces/tabPanel/src/main/java/org/richfaces/renderkit/TabHeaderRendererBase.java
===================================================================
---
trunk/richfaces/tabPanel/src/main/java/org/richfaces/renderkit/TabHeaderRendererBase.java 2007-05-25
15:06:48 UTC (rev 885)
+++
trunk/richfaces/tabPanel/src/main/java/org/richfaces/renderkit/TabHeaderRendererBase.java 2007-05-25
15:08:52 UTC (rev 886)
@@ -101,7 +101,7 @@
String width = tab.getLabelWidth();
if (width != null) {
- style += ";width: " + getUtils().encodePctOrPx(width) +
";";
+ style += ";height : 100%; position : relative; z-index : 2; width:
" + getUtils().encodePctOrPx(width) + ";";
}
if (style != null) {
Modified: trunk/richfaces/tabPanel/src/main/templates/tabHeader.jspx
===================================================================
--- trunk/richfaces/tabPanel/src/main/templates/tabHeader.jspx 2007-05-25 15:06:48 UTC
(rev 885)
+++ trunk/richfaces/tabPanel/src/main/templates/tabHeader.jspx 2007-05-25 15:08:52 UTC
(rev 886)
@@ -16,7 +16,7 @@
<td style="height: 100%; vertical-align: bottom;"
id="#{clientId}_cell">
<f:call name="encodeCellClasses" />
- <table border="0" cellpadding="0" cellspacing="0"
style="height : 100%; position : relative; z-index : 2">
+ <table border="0" cellpadding="0" cellspacing="0"
>
<f:call name="encodeTabLabel" />
<tr>
Modified: trunk/richfaces/tabPanel/src/main/templates/tabPanel.jspx
===================================================================
--- trunk/richfaces/tabPanel/src/main/templates/tabPanel.jspx 2007-05-25 15:06:48 UTC (rev
885)
+++ trunk/richfaces/tabPanel/src/main/templates/tabPanel.jspx 2007-05-25 15:08:52 UTC (rev
886)
@@ -28,7 +28,7 @@
class="rich-tabpanel #{component.attributes['styleClass']}"
style="#{this:encodeStyles(context, component)}">
<f:call name="utils.encodePassThruWithExclusions">
- <f:parameter value="width,height" />
+ <f:parameter value="width,height,styleClass,class,style,id" />
</f:call>
<tbody>