Oracle Apex shuttle: set list of value from PL/SQL process

你。 提交于 2020-06-29 03:34:20

问题


I'm having difficulties trying to set the LEFT panel of a shuttle with value I calculate in a PL/SQL process.

I can only set the RIGHT panel list of value from there.

I've read about apex.server.process to call in a JavaScript event, but I can't figure it out. Furthermore, I wonder if there's any simpler way to do so.

My process simply sets a page Item P1_TMP to something like : 'abc:def:ghi'.

I'd like to set the left panel of the shuttle with the values from P1_TPM whenever the process is called.

What I've tried so far (I'm not sure what to pass in the second argument of the function):

apex.server.process( "MY_PROCESS", {
        pageItems: "#P1_SOME_ITEM"
    },
    {
        success: function( pData ) {
            $("#P1_MY_SHUTTLE_LEFT").append("<option value=test>test</option>");
    }
}
);

I'm under Apex 19.1

Any suggestion would be greatly appreciated.

来源:https://stackoverflow.com/questions/62549275/oracle-apex-shuttle-set-list-of-value-from-pl-sql-process

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