4 Replies Latest reply on Apr 5, 2007 10:30 AM by Sergey Smirnov

    skin file not found exception

    foures adrien Newbie

      HI

      I would like to know where i have to add my own skin file properties in my application. I follow the developer guide instruction but i have an execption.
      I tried to put it in lib directory after, in class directory, and directly in WEB-INF directory. If I changed mySkin with blueSky, it's works fine, so where i have to put the file properties and what is the exactly the path i have to write in web.xml. thanks a lot for your help


      <context-param>
      <param-name>org.ajax4jsf.SKIN</param-name>
      <param-value>mySkin</param-value>
      </context-param>


      org.ajax4jsf.framework.skin.SkinNotFoundException: Skin with name mySkin not found
      org.ajax4jsf.framework.skin.SkinFactoryImpl.loadProperties(SkinFactoryImpl.java:259)
      org.ajax4jsf.framework.skin.SkinFactoryImpl.buildSkin(SkinFactoryImpl.java:208)
      org.ajax4jsf.framework.skin.SkinFactoryImpl.getSkin(SkinFactoryImpl.java:108)
      org.ajax4jsf.framework.resource.TemplateCSSRenderer.getData(TemplateCSSRenderer.java:129)
      org.ajax4jsf.framework.resource.InternetResourceBase.getDataToStore(InternetResourceBase.java:229)
      org.ajax4jsf.framework.resource.InternetResourceBase.getUri(InternetResourceBase.java:211)
      org.ajax4jsf.framework.renderer.HeaderResourcesRendererBase.getUrisSet(HeaderResourcesRendererBase.java:98)
      org.ajax4jsf.framework.renderer.HeaderResourcesRendererBase.getHeaderStyles(HeaderResourcesRendererBase.java:71)
      org.ajax4jsf.framework.ajax.AjaxContext.processHeadResources(AjaxContext.java:442)
      org.ajax4jsf.framework.ajax.AjaxContext.processHeadResources(AjaxContext.java:455)
      org.ajax4jsf.framework.ajax.AjaxContext.processHeadResources(AjaxContext.java:455)
      org.ajax4jsf.framework.ajax.AjaxContext.processHeadResources(AjaxContext.java:455)
      org.ajax4jsf.framework.ajax.AjaxContext.processHeadResources(AjaxContext.java:455)
      org.ajax4jsf.framework.ajax.AjaxContext.processHeadResources(AjaxContext.java:455)
      org.ajax4jsf.framework.ajax.AjaxContext.processHeadResources(AjaxContext.java:455)
      org.ajax4jsf.framework.ajax.AjaxContext.processHeadResources(AjaxContext.java:455)
      org.ajax4jsf.framework.ajax.AjaxContext.processHeadResources(AjaxContext.java:366)
      org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:258)
      org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
      org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
      org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
      org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
      org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)