[richfaces-issues] [JBoss JIRA] Resolved: (RF-1789) columns: attributes "begin" and "end" do not work
Andrei Markavtsov (JIRA)
jira-events at lists.jboss.org
Thu Dec 27 03:58:48 EST 2007
[ http://jira.jboss.com/jira/browse/RF-1789?page=all ]
Andrei Markavtsov resolved RF-1789.
-----------------------------------
Resolution: Cannot Reproduce Bug
Assignee: Aleksej Yanul (was: Andrei Markavtsov)
> columns: attributes "begin" and "end" do not work
> -------------------------------------------------
>
> Key: RF-1789
> URL: http://jira.jboss.com/jira/browse/RF-1789
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.0
> Environment: jsp
> jsp 1.2
> tomcat 6.0.13
> Reporter: Aleksej Yanul
> Assigned To: Aleksej Yanul
> Fix For: 3.2.0
>
>
> //work <rich:columns value="3,4,5,6,2,3,4,5" var="d2" ....
> // Does not work
> <rich:dataTable id="columnsID" value="#{columns.data1}" var="d1">
> <rich:columns value="#{columns.data2}" var="d2" breakBefore="#{columns.breakBefore}" colspan="#{columns.colspan}"
> columns="#{columns.columns}" index="index" rowspan="#{columns.rowspan}" sortable="#{columns.sortable}" title="#{columns.title}"
> begin="#{columns.begin}" end="100" width="#{columns.width}">
> <h:outputText value="#{d2.str0}"></h:outputText>
> </rich:columns>
> </rich:dataTable>
>
> //bean
> public class Columns {
> private ArrayList<Data> data1;
> private ArrayList<Data> data2;
>
> public Columns() {
> for (int i = 0; i < length1; i++) {
> data1.add(new Data(i, "data 1 [" + i + "]"));
> data2.add(new Data(i, "data 2 [" + i + "]"));
> }
> }
> public ArrayList<Data> getData2() {
> return data2;
> }
> public void setData2(ArrayList<Data> data2) {
> this.data2 = data2;
> }
> public ArrayList<Data> getData1() {
> return data1;
> }
> public void setData1(ArrayList<Data> data1) {
> this.data1 = data1;
> }
> }
> public class Data {
> private String str0;
> private String int0;
>
> public Data(String int0, String str1){
> this.int0 = int0;
> this.str1 = str1;
> }
>
> public String getStr0() {
> return str0;
> }
> public void setStr0(String str0) {
> this.str0 = str0;
> }
> public int getInt0() {
> return int0;
> }
> public void setInt0(int int0) {
> this.int0 = int0;
> }
> }
--
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