0 Replies Latest reply on Oct 31, 2008 12:21 PM by Andre Salvati

    Strange behavior with RenderSet definitions?

    Andre Salvati Newbie

      Hi,

      I've found a strange behavior while trying out JBoss Portal. I can be wrong cause I'm a beginner, but I've expected same behavior for 1) and 2).

      1)

      a) Added to jboss-portal.sar/portal-core.war/WEB-INF/layout/portal-renderSet.xml

      <renderSet name="testRenderer">
       <set content-type="text/html">
       <ajax-enabled>true</ajax-enabled>
       <region-renderer>org.jboss.portal.theme.impl.render.div.DivRegionRenderer</region-renderer>
       <window-renderer>org.jboss.portal.theme.impl.render.empty.EmptyWindowRenderer</window-renderer>
       <portlet-renderer>org.jboss.portal.theme.impl.render.empty.EmptyPortletRenderer</portlet-renderer>
       <decoration-renderer>org.jboss.portal.theme.impl.render.empty.EmptyDecorationRenderer</decoration-renderer>
       </set>
       </renderSet>
      
      


      b) Added my portlet to a page in the "template" portal

      c) Changed the "template" Theme -> Renderset -> testRenderer

      d) When I enter a new user's Dashboard, it doesn't show the window decorations.

      2)

      a) added to my *-object.xml file:
       <property>
       <name>theme.windowRendererId</name>
       <value>emptyRenderer</value>
       </property>
       <property>
       <name>theme.decorationRendererId</name>
       <value>emptyRenderer</value>
       </property>
       <property>
       <name>theme.portletRendererId</name>
       <value>emptyRenderer</value>
       </property>


      b) Added my portlet to a page in the "template" portal

      c) The "template" theme remains the same (default).

      d) When I enter a new user's Dashboard, it shows the window decorations.


      Specific page definitions shouldn't overhide portal configurations?
      Even more stranger is the fact that in 2) the same portlet outside the user Dashboard doesn't show window decorations.

      Should I open a JIRA or there's something else that I should have done to work out 2) ?

      Thanks.