Hi,
I am working on JDEV 12.2.1
I have a requirement when i need to enable or disable button based on the row selection.
1. I have af:table with rowSelection='Multiple'
2. I have 2 toolbar buttons, 'Yes','No.
3. When I select a row(s) and click on button Yes, all the selected rows status changed to Y. Similarly with No.
4. When the Status 'Y' row selected then, No button should enable and Yes button should disable, Similarly for No. But when user selects combination of rows(because Multiple is enable) then both button should enable.
To achieve this, I override selectionListener in my backingBean and added flag to enable the buttons. Things working fine when i select single row, but when i marked the row as Yes/No row status updating but button is not disabling. I have partialTrigger on buttons with table id as well.
Any inputs highly appreciate.
-Thanks.