-
1. Re: rich:column with c:forEach
mp911de Sep 14, 2011 2:46 PM (in response to mjsree)Hi,
can you post some code? You can also take a look on http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_columns.html, there is a sample.
Best regards,
Mark
-
2. Re: rich:column with c:forEach
mjsree Sep 26, 2011 2:40 PM (in response to mp911de)Hi Mark,
below is the same code that I am trying..
<
>
>
>
>
/>
>
/>
>
</
>
>
### bean class
public
List getColumns () {
columns = newArrayList();
nullAddressBean add =
;
out.println("in Columns------------"System.
);
for(inti=0;i<4;i++){
newadd =
AddressBean();
"city"add.setCity(
);
columns.add("col1"}
);
columns.add("col2");
columns.add("col3");
return columns;
}
public
List getRows() {
rows = newArrayList();
out.println("in Rows------------"System.
);
rows.add("row1");
rows.add("row2");
rows.add("row3");
rows.add("row4");
return rows;
}
Please let me know if anything wrong.