8 Replies Latest reply on Aug 26, 2004 7:34 PM by Robert Gimbel

    [Nukes] Theme deployment question

    Robert Gimbel Newbie

      Hello-
      I am working on creating my first theme for JBoss nukes and have deployed the theme that I have created so far. Once I apply the theme to my site all the graphics show up as broken links, but the scripts and style sheets come through fine. The graphic files are in the jar file and when I view the source of the web page the img links appear just like the sample themes. Can someone point me in the right direction as to why the graphic images are not being picked up when the theme is applied?

      Currently running Jboss-3.2.3 with Nukes-1.1RC3:

      I copied the module template and added the themes section instead of modules. So my path to my source is as follows:

      /cvs/nukes/mytheme/src/main/org/jboss/nukes/addons/themes
      
      `-- mytheme
       |-- favicon.ico
       |-- images
       | |-- BLbubble.gif
       | |-- BRbubble.gif
       | |-- Bbubble.gif
       | |-- Ldesk.gif
       | |-- Lmenu.gif
       | |-- Rbubble.gif
       | |-- Rdesk.gif
       | |-- TLbubble.gif
       | |-- TRbubble.gif
       | |-- cw-16.ico
       | |-- cw-footer-logo.gif
       | |-- cw-header-logo.gif
       | |-- keys.gif
       | |-- matrix.gif
       | |-- menu_right.gif
       | |-- patchcbl.gif
       | |-- spacer.gif
       | `-- suits.gif
       |-- scripts
       | |-- HM_Arrays.js
       | |-- HM_Loader.js
       | `-- HM_ScriptDOM.js
       |-- style
       | `-- style.css
       `-- theme.html

      and my jboss-service.xml file:
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE server>
      <server>
       <!-- Declare the template module as a JBoss service -->
       <mbean
       code="org.jboss.nukes.theme.ThemeTemplate"
       name="nukes.themes:name=mytheme"
       xmbean-dd=""
       xmbean-code="org.jboss.nukes.component.NukesMBean">
       <depends>nukes.modules:name=core</depends>
       <depends>nukes.modules:name=html</depends>
       <constructor>
       <arg type="boolean" value="true"/>
       </constructor>
       <xmbean>
       <attribute name="Id">jar:/theme.html</attribute>
       <attribute name="Root">org/jboss/nukes/addons/themes/mytheme</attribute>
       </xmbean>
       </mbean>
      </server>



      Any direction that you can point me in is appreciated as I am running in circles now!! :)

      -Rob