APEX - javascript apex submit pasando parametros variables


Problema:Hacer el submit de una pagina en APEX con javascript pasando a la vez variables/valores en el request.

Solución:
Usar el carácter de escape " en substitución de " :

javascript:apex.submit({request:"SAVE",set:{"P400_REPORT_ID":2}});

Passing as argument an APEX variable:

javascript:apex.submit(
{request:"SAVE"
,set{"P400_REPORT_ID":"&P400_MPP_REPORT_ALL_Y_ID."}});


Comments

Popular posts from this blog

Oracle - duplicate fields in RECORD,TABLE or argument list are not permitted

Oracle - ORA-29282: invalid file ID, ORA-06512: at "SYS.UTL_FILE"