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!

Dynamic Actions - Fire On Page Load

ChrisS.Feb 3 2011 — edited Feb 6 2011
Say I have a page with 3 number fields, and a display-only total.

I have a dynamic action which sums the 3 fields if any of them change, displays the new total, and saves the total to session state using the technique of defining an "execute pl/sql code" action, the body of which contains only a "null;" statement, passing the total field in as a parameter. The change to the total field triggers other dynamic actions in turn.

The dynamic action is flagged to fire on page load, as any or all of the fields may be passed in as parameters via the URL. But I am concerned that this causes the DA to fire 3 times upon page load, presumably once for each page item named as a selection item.

Is this the expected and intended behaviour? Is there a better approach to handle this (simplified) example?

I'm running on a very slow wireless internet connection in the Philippines, so I try to avoid round trips to the server as much as possible.

Thanks for any suggestions.
Regards
Chris
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 6 2011
Added on Feb 3 2011
5 comments
2,146 views