RichFaces 4 M3, where to report (possible) bugs ?
trailo77 Nov 12, 2010 5:24 AMHi there,
I am facing an issue with the M3 builds rich:dataTable control which could possibly be a bug. Where can I report this issue ?
It appears to me that rich:dataTable is ignoring the attributes columnClasses and headerClass. My code works fine with h:dataTable, but not with rich:datable.
The attribute headerClass gets ignored no matter where I put it (rich:dataTable, h:coloum or even both as in the example below)
web.xml parameters :
<context-param>
<param-name>org.richfaces.enableControlSkinning</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.enableControlSkinningClasses</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.skin</param-name>
<param-value>plain</param-value>
</context-param>
the xhtml-code (excerpt):
<rich:dataTable value="#{myBean.myListOfObjects}" var="current"
styleClass="suchergebnistabelle" columnClasses="esp,msp,msp,msp,msp,msp,lsp" headerClass="msph" >
<h:column headerClass="msph">
<h:commandButton styleClass="imagebutton"
image="/resources/images/bearbeiten.gif">
</h:commandButton>
</h:column>
<h:column headerClass="msph">
<f:facet name="header">
<h:outputText value="#{msg['Feldbeschreibungen.Feldname']}" />
</f:facet>
<h:outputText value="#{current.feldname}" />
</h:column>
...
The styles are defined like this:
.msph {
padding-left: 9px;
padding-right: 9px;
border-right: 1px solid white;
}
As Firebug shows neither columnClasses nor headerClass(s) appear in the generated table.
I would expect the styleClass to be listed after rf-dt-shr-c, just like it does with the table element (rf-dt suchergebnistabelle)
Best regards
Karl
-
Eclipse_project.zip 4.2 MB
-
test.war 4.2 MB