yes, adding a portal-renderSet.xml to your apps WEB-INF/layout folder will introduce this render set to the portal. any portal can then point to that render set via the mentioned portal property (see first response in this thread).
re 1) the name of the render set to use for a portal is defined in the portal properties (see earlier) re 2) I haven't tested what happens when you 'overwrite' the render sets defined in the core. You should definitely use your own name. re 3) it's WEB-INF/layout/portal-renderSet.xml (the folder and file name is singular) again, the portal property and the render set name have to match: | <?xml version="1.0" encoding="UTF-8"?> | <portal-renderSet> | <renderSet name="myRenderer"> | <set content-type="text/html"> | <region-renderer>org.jboss.portal.theme.impl.render.DivRegionRenderer</region-renderer> | <window-renderer>org.jboss.portal.theme.impl.render.DivWindowRenderer</window-renderer> | <portlet-renderer>org.jboss.portal.theme.impl.render.DivPortletRenderer</portlet-renderer> | <decoration-renderer>org.jboss.portal.theme.impl.render.DivDecorationRenderer</decoration-renderer> | </set> | </renderSet> | defines a render set with the name 'myRenderer' | <?xml version="1.0" encoding="UTF-8"?> | <portal> | <portal-name>default</portal-name> | <properties> | .... | <property> | <name>org.jboss.portal.property.renderSet</name> | <value>myRenderer</value> | </property> | .... | is a portal property that points the portal to use this render set. Currently a render set can only be defined at the level of a portal and a layout. Each layout can define its own renderset. Each page could define its own layout. So theoretically, you could have a different render set for every page. The reason why you don't see a difference is that you probably test this with the default portal and default page. This scenario currently doesn't use the render set, but rather the basic tag lib to render the markup. The render set works together with the region and portlet tags. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886368#3886368 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886368 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
