4 Replies Latest reply: Apr 3, 2014 6:51 AM by Bhramar RSS

    Dynamic action get page item value

    Hani

      Hi

       

      i user APEX 4.2 with DB11g, i have dynamic action with 2 true action:

      • 1st one (Set Value) for condition and set variable at page like this
      BEGIN
        IF lecture_pkg.is_guest_submit_poll ('PUSH') THEN
          :P0_URL := 'http://www.google.com';
        ELSE
          :P0_URL := 'f?p=&APP_ID.:504:&APP_SESSION.::::P504_POLL_TYPE:PUSH';
        END IF;
      END;
      

       

      • 2nd one (Execute JavaScript Code) for call javascript with send parameter that put it in 1st step "P0_URL" , for example alert:
      alert('&P0_URL.');
      

       

      the problem is in 2nd step when display alert the value will display as null

       

      note that i 1st step i chose "Wait For Result" option

       

      Any suggestion