问题
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