Hi!

I am trying to inject header content using the declarative css style injection 
method:
<portlet>
  |       <portlet-name>APortlet</portlet-name>
  |       <portlet-class>com.gew.portlet.APortlet</portlet-class>
  |       <supports>
  |          <mime-type>text/html</mime-type>
  |          <portlet-mode>VIEW</portlet-mode>
  |       </supports>
  |       <header-content>
  |             <link rel="stylesheet" type="text/css" href="/css/style.css" 
title="" media="screen" />
  |       </header-content>
  |       <portlet-info>
  |          <title>APortlet</title>
  |       </portlet-info>
  |    </portlet>

This is not working. I think my path to the stylesheet is wrong, but I'm not 
sure what it should be relative to. Should it be relative to the portlet.xml 
file, the portlet itself, the index file of the layout or to the portlet jsp?

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to