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!

Filter using af:selectOneChoice

Paul (MITsa)Jul 9 2009 — edited Nov 24 2009
Hello

ADF 11.1.1.1.0

I have a EO/VO with a status column.
The column always has one of the values 1,2 or 3
In the model this column is a LOV the list comming from a second VO.

I've created a read ony af:table and activated the filter option.
As the status column is a as:SelectOneChoice I'v dropped a af:selectOneChoice
into the filter facet of the column.

How to I hook up the filter af:selectOneChoice to display the LOV and enable filtering.

I've experimented by creating a binding (Select one value list that updates a base data source)
and having the Value property of the filter facet selectOneChoice set to #{vs.filterCriteria.Status}

This does provide the list in the filter and does filter the table, however I an
unable to remove the filter (ie. show all rows). I added the option "No selection item" to the list binding
as a blank line in the list but this does not remove the filter.

Whats the recommended way of filtering and removing the filter when using a af:SelectOneChoice

Regards
Paul
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 22 2009
Added on Jul 9 2009
6 comments
1,902 views