3 Replies Latest reply on Oct 5, 2009 3:21 AM by Luca Graf

    Plug-n-Skin: Use non standard skin as baseSkin.

    Luca Graf Newbie


      today i tried to create a new skin that uses the laguna skin as base.
      I followed the description in the reference docs:

      mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-plug-n-skin -DarchetypeVersion=3.3.2.CR1 -DartifactId=New-Skin -DgroupId=org.richfaces.skins -DVersion=1.0-SNAPSHOT -DarchetypeRepository=http://repository.jboss.com/maven2

      followed by

      mvn cdk:add-skin -Dname=extLaguna -DbaseSkin=laguna -DcreateExt=true

      I get no errors during the build and if the laguna.jar is placed in the /WEB-INF/lib directory the before created skin works.

      But there are some differences to the 'plain' laguna skin:
      1. There are no gradient backround images for the content sections (like .rich-panel-body etc.).
      2. The borders looks different.

      I looked in the laguna.jar and tried to copy the properties for gradient(intShadow) and the border(newBorder) from the laguna.skin.properties file. But it doesn't helped. :(

      It's ever possible to extened an non standard skin with Plug-n-Skin?

      Thanks Luca