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!

Unable to uncheck checkbox

partlycloudyOct 4 2006 — edited Oct 6 2006

I have a page item with display type of checkbox with the following STATIC LOV

STATIC2:Display val;Y

and a Source value of Y (only when value in session state is null).

A report region on the page uses this page item as

where (:P1_ITEM is null or .....)

So, when the page is rendered for the first time, I would like the box checked and the default value of Y to be used. This part works fine.

But now when I uncheck the box and submit the page, the session state value is blanked out and the Source value kicks in and again assigns the value Y thus checking the box again!

In other words, I am unable to uncheck the box, ever! How can I distinguish between the 2 "reasons" the checkbox value is blank a) because the page is rendered for the first time or b) I intentionally unchecked the box.

Am I missing something, what is a good way to do this? Should I change my UI pattern?

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 3 2006
Added on Oct 4 2006
7 comments
1,297 views