[richfaces-issues] [JBoss JIRA] Created: (RF-3101) dataTable: "rows" & "columns" are present in rich:dataTable tag, but absent in the HTML source.
Mikhail Vitenkov (JIRA)
jira-events at lists.jboss.org
Wed Apr 16 12:54:54 EDT 2008
dataTable: "rows" & "columns" are present in rich:dataTable tag, but absent in the HTML source.
-----------------------------------------------------------------------------------------------
Key: RF-3101
URL: http://jira.jboss.com/jira/browse/RF-3101
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5
Environment: IE,FF,Safari,Opera(3.1.5.CR2)
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Actual behavior:
"columns" & "rows" attribute changing doesn't take any effect.
Use following code:
<rich:dataTable id="dataTableID" var="dataTableID" value="#{dataTable.mounths}" rowKeyVar="key" styleClass="table"
columnClasses="mishoA"
rowClasses="rowa,rowb,rowc rowcc" headerClass="style" footerClass="footer123" onRowClick="showEvent('onRowClickInputID', 'onRowClick work!');" rendered="#{dataTable.rendered}" align="#{dataTable.align}" bgcolor="red"
border="#{dataTable.border}" columnsWidth="#{dataTable.columnsWidth}" width="#{dataTable.width}" title="DataTableTite"
onRowDblClick="alert('Test!!');"
cellspacing="10"
cellpadding="20"
onRowMouseDown="showEvent('onRowMouseDownInputID', 'onRowMouseDown work!')"
onRowMouseMove="showEvent('onRowMouseMoveInputID', 'onRowMouseMove work!')"
onRowMouseOut="showEvent('onRowMouseOutInputID', 'onRowMouseOut work!')"
onRowMouseOver="showEvent('onRowMouseOverInputID', 'onRowMouseOver work!')"
onRowMouseUp="showEvent('onRowMouseUpInputID', 'onRowMouseUp work!')"
binding="#{dataTable.myDataTable}" captionStyle="font-size: 30px !important;color: red;"
columns="3"
rows="3">
<f:facet name="caption">
<h:outputText value="caption facet" />
</f:facet>
<f:facet name="header">
<rich:columnGroup columnClasses="cola, colb ,rowc rowcc">
<rich:column rowspan="2" rendered="#{dataTable.r2rendered}">
<h:outputText value="2-row head" />
</rich:column >
<h:column rendered="#{dataTable.r2rendered}">
<h:outputText value="head in UIColumn" />
</h:column>
<rich:column breakBefore="true">
<h:outputText value="2-d row head" />
</rich:column>
</rich:columnGroup>
</f:facet>
<f:facet name="footer">
<h:outputText value="table foot" />
</f:facet>
<rich:columnGroup>
<rich:column id="mounth" styleClass="column" rowspan="2" headerClass="cheader" footerClass="cfooter">
<f:facet name="header">
<h:outputText value="mounth" />
</f:facet>
<f:facet name="footer">
<h:outputText value="-//-" />
</f:facet>
<h:outputText value="#{dataTableID.mounth}" />
</rich:column>
<rich:column styleClass="column" headerClass="cheader" footerClass="cfooter" rendered="#{dataTable.r2rendered}">
<f:facet name="header">
<h:outputText value="mounth" />
</f:facet>
<f:facet name="footer">
<h:outputText value="-//-" />
</f:facet>
<h:outputText value="#{dataTableID.town}" />
</rich:column>
</rich:columnGroup>
<rich:column styleClass="column" headerClass="cheader" footerClass="cfooter" rendered="#{dataTable.r2rendered}">
<h:outputText value="TestMISHO" />
</rich:column>
<rich:subTable id="detail" var="detail" value="#{dataTableID.detail}">
<f:facet name="header">
<h:outputText value="facet(header)" />
</f:facet>
<f:facet name="footer">
<h:outputText value="facet(footer)" />
</f:facet>
<rich:column id="name">
<h:outputText value="Detail \"name\"" />
</rich:column>
<rich:column id="qty" rendered="#{dataTable.r2rendered}">
<h:outputText value="#{detail.qty}" />
</rich:column>
</rich:subTable>
<rich:column id="total" styleClass="total" colspan="2">
<h:outputText value="#{dataTableID.total}" />
</rich:column>
</rich:dataTable>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list