Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF datatable  RSS feed

 
Andy Holm
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to output a different value for one row in my dataTable. I believe I need to access the data table's row index to accomplish this. The following outputs the right row number but the if test always fails because ${row} = -1. Any ideas how I can do what I want to?


 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSTL isn't going to work here. It runs before JSF runs.

Just use the rendered attribute.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!