问题
This question follows off this previous question.
I have a main report with a column link, that when clicked, refreshes a secondary report with a dynamic action that a) executes JavaScript which calls AJAX to set the page items that the secondary report uses to construct a SQL statement and b) refreshes the report.
There is actually 2 tertiary reports as subregions in the secondary report, conditionally visible only when the REQUEST = a certain value.
I call AJAX to set page items without having to refresh the page using this method:
var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=dummy',&APP_PAGE_ID.);
get.add('PX_ITEM', 'new value');
gReturn = get.get();
get = null;
I was hoping that there would be something as simple as the following to use AJAX to set the REQUEST for that page
get.add('PX_REQUEST', 'new value');
Thank you.
来源:https://stackoverflow.com/questions/14764145/is-there-any-way-to-set-request-using-ajax-in-oracle-apex