Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Select rows in af:table with checkbox in the column header

HeismanFeb 17 2015 — edited Feb 25 2015

Hi,

i have a af:query with af:table as resultant component.In af:table have checkbox for row selection and the header of the check box column as check box which helps the user to select all the rows in the table. How to acheive this?

Here's what I did so far:

1) Added boolean transient attribute to VO (checkbox)

2) Drag and drop the view criteria on to the page (query panel with table)

3) By default, the column comes as output text, deleted the column and created the transient attribute as Boolean select checkbox on the page. Added Select Boolean check box on the column header

4) In the value change listener of the column header, got the bindings of the iterator and view object and tried to set the attribute value to 'Y' when the value is selected .

But it does not work. I went through many blogs and was not able to achieve this. Am i missing anything?

Any ideas?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 25 2015
Added on Feb 17 2015
11 comments
3,077 views