]
Andrei Markavtsov updated RF-5300:
----------------------------------
Original Estimate: 2 hours
Remaining Estimate: 2 hours
Due Date: 28/Dec/08
columns: begin attribute ignore last columns, instead of earliest
under facelets & seamApp application(jsf1.2_10)
-----------------------------------------------------------------------------------------------------------------
Key: RF-5300
URL:
https://jira.jboss.org/jira/browse/RF-5300
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6, IE7, FF 3.1.3, Safari 3.1, Opera 9.62(3.3.0.BETA3)
Reporter: Mikhail Vitenkov
Assignee: Andrei Markavtsov
Fix For: 3.3.0
Original Estimate: 2 hours
Remaining Estimate: 2 hours
#1. Add rich:columns inside rich:dataTable following way:
<rich:dataTable id="richColumnsID" value="#{columns.data1}"
var="d1" rendered="#{columns.dataTableRendered}">
...<rich:columns value="#{columns.data2}" var="d2"
footerClass="test" headerClass="#{style.headerClass}"
breakBefore="#{columns.breakBefore}" colspan="#{columns.colspan}"
columns="#{columns.columns}" index="index"
rowspan="#{columns.rowspan}" begin="#{columns.begin}"
end="#{columns.end}" width="#{columns.width}"
style="#{style.style}" styleClass="#{style.styleClass}"
sortOrder="#{columns.orderings[index]}" sortBy="#{d1.str0}"
filterBy="#{d1.str0}" selfSorted="true"
sortable="true"
filterValue="#{columns.filterValue[index]}"
filterMethod="#{columns.filterMethod}">
<f:facet name="header">
<h:outputText value="header #{index}"></h:outputText>
</f:facet>
<h:outputText value="#{d2}"></h:outputText>
<h:outputLink
value="http://www.jboss.com/"><f:verbatim>Link</f:v...
<f:facet name="footer">
<h:outputText value="Footer #{index}"></h:outputText>
</f:facet>
</rich:columns>
...</rich:dataTable>
#2. Define data for columns and fill it:
private ArrayList<String> data2;
for (int i = 0; i < length1; i++) {
data2.add("data[" + i + "]");
}
getter & setter.
#3. Set begin attribute to '2';
#4. Navigate to page & verify columns' data.
Actual behavior:
The last colunm is ignored.
Expected behavior:
The first colunm is ignored.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: