1 Reply Latest reply on Jun 18, 2007 12:08 PM by leorodriguezviacava

    SkinNotFoundException on the a4j-simpleRepeator example

    leorodriguezviacava

      I'm working with oc4j 10.1.3. While trying the example a4j-simpleRepeator I get the following exception:

      Jun 18, 2007 12:22:05 PM org.ajax4jsf.framework.renderer.AjaxPhaseListener beforePhase
      SEVERE: Exception on get current Skin
      org.ajax4jsf.framework.skin.SkinNotFoundException: Skin with name blueSky not found
      ....
      Jun 18, 2007 12:22:06 PM org.ajax4jsf.framework.ajax.AjaxContext processHeadResources
      WARNING: Current Skin is not found

      The example actually works fine, it do the trick. However i don't know why I'm getting this exception. ¿Any idea?

      Thanks!
      Leo


      This is my web.xml

       <context-param>
       <param-name>org.ajax4jsf.SKIN</param-name>
       <param-value>blueSky</param-value>
       </context-param>
      
       <filter>
       <display-name>Ajax4jsf Filter</display-name>
       <filter-name>ajax4jsf</filter-name>
       <filter-class>org.ajax4jsf.Filter</filter-class>
       </filter>
      
       <filter-mapping>
       <filter-name>ajax4jsf</filter-name>
       <servlet-name>Faces Servlet</servlet-name>
       <dispatcher>REQUEST</dispatcher>
       <dispatcher>FORWARD</dispatcher>
       <dispatcher>INCLUDE</dispatcher>
       </filter-mapping>
      
       <servlet>
       <servlet-name>Faces Servlet</servlet-name>
       <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
       <load-on-startup>1</load-on-startup>
       </servlet>
       ...
      


      The jsp page for the example:

      
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
      "http://www.w3.org/TR/html4/loose.dtd">
      <%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j"%>
      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
      <html>
      <head>
      <title>a4j Simple Repeator Demo</title>
      </head>
      <body>
      <f:view>
       <h:form>
       <h:panelGrid columns="2">
      
       <h:outputText value="Type the Text:" />
       <h:inputText value="#{backing_SimpleRepeater.text}">
       <a4j:support event="onkeyup" reRender="repeater" />
       </h:inputText>
      
       <h:outputText value="Text in the AJAX Response:" />
       <h:outputText id="repeater" value="#{backing_SimpleRepeater.text}" />
      
       </h:panelGrid>
       </h:form>
       <hr />
      </f:view>
      </body>
      </html>