Hi to all,

I've a question, more relative to general Java programming.
I would write a class for representing and editing data from a ResultSet in an
UIData.
I would use an ArrayList, where I copy data from ResultSet.
Question: is there a way to reference "column" data with names instead of index
?

I would be able to write something like <h:outputText value="#{row.COLUMN4}"/>
instead of <h:outputText value="#{row[4]}"/>

...where "row" is the Var of dataTable.


thanks.

-- 
Francesco Consumi

Reply via email to