OAF_開發系列22_實現OAF條形碼BarCode

20150717 Created By BaoXinjianweb

1、摘要oracle


1app

2、鎖定統計信息post


1url

3、刪除統計信息spa


1blog

Thanks and Regardsinput

 

 

    public void processRequest(OAPageContext pageContext, OAWebBean webBean) {

        super.processRequest(pageContext, webBean);

        OAImageBean imgBarCode =

            (OAImageBean)webBean.findIndexedChildRecursive("BarCodeImage");

        OAStaticStyledTextBean textBean =

            (OAStaticStyledTextBean)webBean.findIndexedChildRecursive("BarCodeText");

        String sInputString = "1234";

        StringBuffer sbSource = new StringBuffer();

        //11.5

        //"sbSource.append("/servlet/oracle.apps.ap.oie.framework.barcoding.");

        //R12

        sbSource.append("/OA_HTML/");

        sbSource.append("BarCodeImageServlet");

        sbSource.append("?input=");

        sbSource.append(sInputString);

        imgBarCode.setSource(sbSource.toString());

        textBean.setText(pageContext, sInputString);

    }servlet

 

把OIE條碼相關的Servlet配好了)

添加以下Servlet Mapping:

      <servlet>

      <servlet-name>BarCodeImageServlet</servlet-name>

      <servlet-class>oracle.apps.ap.oie.framework.barcoding.BarCodeImageServlet</servlet-

class>

   </servlet>

 

   <servlet-mapping>

      <servlet-name>BarCodeImageServlet</servlet-name>

      <url-pattern>/BarCodeImageServlet</url-pattern>

   </servlet-mapping>

class

 

參考: 百度文庫

相關文章
相關標籤/搜索