4 Replies Latest reply on Aug 17, 2009 4:18 AM by Juergen Zimmermann

    Theme: How to transform blueSky into a theme ?

    Juergen Zimmermann Master

      I tried to produce a jar file containing the existing skin blueSky as a theme named 'hskaTheme':

      mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-theme -DarchetypeVersion=3.3.2-SNAPSHOT -DartifactId=hskaTheme -DgroupId=de.hska -Dversion=1.0 -B
      cd hskaTheme
      mvn cdk:add-theme -Dname=hskaTheme
      mvn package


      I copied hskaTheme-1.0.jar into WEB-INF/lib.

      However, after restarting JBossAS the following page doesn't look like blueSky. Any hint is appreciated!
      <rich:page xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:rich="http://richfaces.org/rich"
       markupType="xhtml"
       sidebarPosition="left"
       sidebarWidth="300"
       theme="hskaTheme">
      
       <f:view locale="#{sprache.aktuell}">
       <f:facet name="pageHeader">...
       <f:facet name="header">...
       </f:view>
      </rich:page>