Previously I used <h:column> with dataTable, data conversion was done by JSF between String/Integer, String/BigDecimal. When I changed it to use <t:columns> for variable number of columns, I got error.
Cannot set value for _expression_ '#{backingBean.columnValue}' to a new value of type java.lang.String
In the backing bean:
public Object getColumnValue();
public void setColumnValue(Object value);
The value passed into setColumnValue() is always String.
<t:dataTable> does not keep track of data type for each column and then convert data automatically. So I need to make data conversion in setColumnValue(Object value) for all columns.
Am I correct? Thanks! Dave
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

