Hi there,

I am trying to utilize only shale-tiger with ADF faces.

I am interested only in using only the view controller services (callbacks).
i created a simple (adf) jsf page and used the @View @Preprocess @Init
@Prerender @Destroy on the page's backing bean. but nothing seems to take
effect (no callbacks are being called).


following is the web.xml file content

<?xml version = '1.0' encoding = 'windows-1252'?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee";
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
         version="2.4">
    <description>Empty web.xml file for Web Application</description>



    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>server</param-value>
    </context-param>
    <context-param>
    <param-name>oracle.adf.view.faces.USE_APPLICATION_VIEW_CACHE
</param-name>
    <param-value>false</param-value>
    </context-param>
    <context-param>
        <param-name>CpxFileName</param-name>
        <param-value>systemsettings.DataBindings</param-value>
    </context-param>


  <!-- Commons Chain Configuration Resources -->

    <filter>
        <filter-name>adfFaces</filter-name>
        <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter
</filter-class>
    </filter>
    <filter>
        <filter-name>adfBindings</filter-name>
        <filter-class>oracle.adf.model.servlet.ADFBindingFilter
</filter-class>
    </filter>
    <filter>
        <filter-name>CustomSecurityFilter</filter-name>
        <filter-class>com.openaspects.comms.commons.CustomSecurityFilter
</filter-class>
    </filter>


<filter>
    <filter-name>shale</filter-name>
    <filter-class>
        org.apache.shale.application.faces.ShaleApplicationFilter
    </filter-class>
  </filter>





  <!-- Shale Application Controller Filter Mapping -->



    <filter-mapping>
        <filter-name>adfFaces</filter-name>
        <servlet-name>faces</servlet-name>
    </filter-mapping>
    <filter-mapping>
        <filter-name>adfBindings</filter-name>
        <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>adfBindings</filter-name>
        <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>CustomSecurityFilter</filter-name>
    <servlet-name>faces</servlet-name>
    </filter-mapping>

  <filter-mapping>
    <filter-name>shale</filter-name>
<url-pattern>/*</url-pattern>
  </filter-mapping>


    <servlet>
        <servlet-name>faces</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
        <servlet-name>resources</servlet-name>
        <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet
</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>faces</servlet-name>
        <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <session-config>
        <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
        <extension>html</extension>
        <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>txt</extension>
        <mime-type>text/plain</mime-type>
    </mime-mapping>

<listener>
    <listener-class>
      org.apache.commons.chain.web.ChainListener
    </listener-class>
  </listener>


<welcome-file-list>
    <welcome-file>/index.jsp</welcome-file>
   </welcome-file-list>

<error-page>
    <exception-type>java.lang.Exception</exception-type>
<location>/Error.jsp</location>
</error-page>

<resource-ref>
     <description>Oracle Datasource example</description>
     <res-ref-name>jdbc/myoracle</res-ref-name>
     <res-type>javax.sql.DataSource</res-type>
     <res-auth>Container</res-auth>
</resource-ref>

</web-app>




Am I missing something ?


thanks in advance

Reply via email to