[jboss-user] [JBoss Portal] - Header injection in clustered portlet

gressho do-not-reply at jboss.com
Wed Jul 9 04:15:09 EDT 2008


Hello,

I've problems injecting a custom header in a clustered portal environment (JBossPortal 2.6.5-SP1). I have the following jboss-portlet.xml (which works in a non-clustered
installation without the distributed tags):


  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE portlet-app PUBLIC '-//JBoss Portal//DTD JBoss Portlet 2.6//EN' 'http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd'>
  | <portlet-app>
  |     <portlet>
  |         <portlet-name>ZKI</portlet-name>
  |         <header-content>
  |             <link rel="stylesheet" type="text/css" href="/stylesheet/dzk.css" media="screen"/>
  |         </header-content>
  |         <!-- enable portlet session replication -->
  |         <session-config>
  |             <distributed>true</distributed>
  |         </session-config>
  |     </portlet>
  |     <portlet>
  |         <portlet-name>Theologie</portlet-name>
  |         <header-content>
  |             <link rel="stylesheet" type="text/css" href="/stylesheet/dzk.css" media="screen"/>
  |         </header-content>
  |         <!-- enable portlet session replication -->
  |         <session-config>
  |             <distributed>true</distributed>
  |         </session-config>
  |     </portlet>
  |     <portlet>
  |         <portlet-name>SyK</portlet-name>
  |         <header-content>
  |             <link rel="stylesheet" type="text/css" href="/stylesheet/dzk.css" media="screen"/>
  |         </header-content>
  |         <!-- enable portlet session replication -->
  |         <session-config>
  |             <distributed>true</distributed>
  |         </session-config>
  |     </portlet>
  | </portlet-app>
  | 

Am I something missing? I didn't find anything in the documentation...

Best wishes

Werner


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

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



More information about the jboss-user mailing list