6 Replies Latest reply: Jul 30, 2013 2:32 PM by DaveWill RSS

    Accessing ajax parameter in application process

    DaveWill

      Hello,

       

      I have an ajax call that submits a parameter called cBoxKey.

       

         var get = new
         htmldb_Get(null,$v('pFlowId').value,'APPLICATION_PROCESS=TrackRows',0);
         get.add('cBoxKey','NOTREQUIRED');
        get.get();
      
      

       

      In the application process I'm accessing the 'cBoxKey' parameter as below;

       

      declare
          l_checkBoxKey  varchar2(4000);  
      begin
          --
          -- Get the value of the global which will be set in JavaScript
          --
          l_checkBoxKey := wwv_flow.g_cBoxKey;
      
      

       

       

      However this does not seem to be working because when I replace

       

      l_checkBoxKey := wwv_flow.g_cBoxKey;
      
      

       

      with

       

      l_checkBoxKey := 'NOTREQUIRED';
      
      

       

      The application process is getting called and producing the expected results(through the ajax call).

       

      I believe the issue is in how I access the 'cBoxKey' parameter in the application process.

       

      Any ideas as to what might be wrong.

       

      Thanks.