Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CachedRowSet with JSF

 
Avais Shaikh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used CachedRowSet in JSP and it is quite simple iterating it on the page and also I can acces the CachedRowSet elements by the getString() or getInt() methods that are mapped to the query.

But now the problem is that I cannot use it in JSF the same way.. Can anyone please provide me an way to use CachedRowSet in JSF
 
Nuruddin Bawangaonwala
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can u please specify problem that u have with cachedrowset while using it with jsf....
 
Avais Shaikh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually I am new to JSF...

Just I want to know how to use CachedRowSet in JSF


Thanks
 
Nuruddin Bawangaonwala
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Once u have CachedRowSet use cachedRowSet.toColection() method and then use that collection.Because as far as I Know jsf supports collection
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic