Skip to Main Content

APEX

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!

Set Cascading LOV Item using Dynamic Action

joelsJul 16 2013 — edited Jul 22 2013

Hi all,

I have the following page item:

P1_USERNAME

P1_COMPANY  (LOV)

P1_DIVISION (LOV)

P1_DEPT (LOV)

Item P1_COMPANY, P1_DIVISION, and P1_DEPT are cascading LOV on my page.

I also have a table that contains the user and his/her company, division, and department.

So I have a dynamic action that when P1_USERNAME is entered. The dynamic action will pull the COMPANY, DIVISION, and DEPT information from the table and populate the page item accordingly.

I got the dynamic action working, I can confirm this by checking the Session State of the items.

BUT I cannot get the LOVs to display the selected value from the session state. They always reset back to "- Please Select -", which is my display value when NULL.

For example:

I have a record like in the table:

Username :alex

Company : Finance Inc.

Division : Admin

Dept : HR

When I entered the username into P1_USERNAME, this is what I see in the screen.

Username :alex

Company : - Please Select -

Division : - Please Select -

Dept : - Please Select -

While the session states of the items have been set correctly as per the record in the database.

Has anyone experienced this before?

I think it's because the parent LOV (company), reset the child LOVs (division and dept), when the dynamic action kicks in.

Thanks.

This post has been answered by Tom Petrus on Jul 19 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 19 2013
Added on Jul 16 2013
19 comments
4,957 views