radio row selection enhancement

UI Components for JSF
Post Reply
wobblycogs
Posts: 47
Joined: 19 Apr 2010, 19:09
Location: Gloucester, UK

09 Nov 2010, 11:40

I've just started using the new radio button row selection feature in datatable. It works brilliantly and it will save me loads of time but if possible there is one enhancement I would love.

I would like to be able to update the state (enabled/disabled) of the buttons in the table footer (or elsewhere on the page) depending on whether a row is selected. In the demo for example having the "view" button active when there is no row selected doesn't really make sense and it pops open an empty dialog if clicked. In the case I'm currently working on I'm doing a page transition which looks awful if the user hasn't selected anything.
PrimeFaces 3.0.1, Mojarra 2.1.3, GlassFish 3.1.1, Netbeans 7.0, Firefox 7

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 37 guests