This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Richfaces scrollableDataTable  RSS feed

 
Vadim Vararu
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i use scrollable data table to generate a two column table. first column i generate delete buttons for each component that i situate in second column.
how could i do a link between buttons and elements...i need an id for each row or something...how could i do that?
 
Mansi Mishra
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That shouldn't be required.
You could use a button with just one id, and on click of the command button pass the unique value of the record/row to the javascript/action method.
 
Vadim Vararu
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But, it's required though.
 
Mansi Mishra
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vadim Vararu wrote:But, it's required though.


I don't think so...

Picture this..



something similar should work out for you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!