8 Replies Latest reply on Aug 28, 2013 6:46 PM by Martin1

    Filter items are not set via Redirect to a javascript function

    Martin1

      Hi,

       

      i have a page with a few filter items and a button which redirects to a javascript function. The problem is that the filter items are NULL in the called javascript function. If i do a submit via another button before then it works.

      Here the details:

      URL Target of the button: javascript:callReport('f?p=&APP_ID.:1:&SESSION.','bir.bir_api.printReportBi?pSessionId=&SESSION.&pBu=&P250_FILTER_BU.&pSupplyTeam=&P250_FILTER_SUPPLY_TEAM.&pMaxBiEff=&P250_FILTER_BI_EFF_MAX.&pGroup=&P250_FILTER_GROUP.');

       

      Called javascript function:

      function callReport(p_href,p_url)

      {

        var url;

        url = document.getElementById(p_url).value;

        w = open(url,"winRep","Scrollbars=1,resizable=1,width=1100,height=800");

        if (w.opener == null)

          w.opener = self;

          w.focus();

        // wait 5 seconds before reloading

        setTimeout("waitSome()",100);

      }

       

      Many thanks in advance.

      Regards,

      Martin