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

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846219#3846219

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846219


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to