Is there any way to set REQUEST using AJAX in Oracle Apex?

余生长醉 提交于 2019-12-12 02:54:20

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!