Hello!
Ok, I undestand You, thanks. Yes, I found that use <f:param> for
commandLink is more pretty then use DataModel.getRow() (which has bug in
multiwindow enviroment which should be fixed in 1.2 spec, but how quick
will that?). I talked about big reports that spend much time to get
results from database (up to 1 minute). So, in this sutiation the better
way is the one I use one. Isn't? (If we are talking about pure JSF)
In conclusion: dataTable is a dragon. It can be used for small tables,
think of a shopping cart, with 4 entries, that take little RAM. Using it
for master-detail of a large result sets from a database (or large
collections via Hibernate) will get you into trouble.
With respect,
Boris
- Re: DataTable and SQL best practices Boris Kovalenko
-