Skip to Main Content

Chinese

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!

Compare HashMap values with af:Table in ADF Table

RajuChetriDec 7 2015

Hi All,

I am new to ADF. I am using jDeveloper 11.1.2.4 version.

I had a table with multi rows selected enabled. There is a button on page. After clicking on the button I am calling a method of a managed bean there I am setting some values in HashMap.

In Bean I am setting values like:

HashMap hm = new HashMap();

hm.put(SerialNo, DepartmentId)

hm.put(0,10);

hm.put(1,20);

hm.put(2,30);

After this method I want to check the condition like #{row.DepartmentId eq '10'} or  #{row.DepartmentId eq '20'}, so that I can set some properties based on these conditions. I want to check the entire table with these values, what ever there in the hashmap. How can we achieve this.

Best Regards,

Raju Chetri.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 4 2016
Added on Dec 7 2015
0 comments
652 views