[jboss-user] [JBoss Portal] - Re: how to clean the useless table?
do-not-reply at jboss.com
Wed Jul 4 07:34:57 EDT 2007
see the rendering features (documention).
there are rendering option, to change the way the html is produced.
for rewritting your own,
see RegionTagHandler.java class for the jsp tag.
and then DivRegionRenderer.java or EmptyRegionRenderer.java as some example of renderer.
check in the xml descriptor file, where the type of renderer can be set.
(This names are for 2.6... some may have change since 2.4... a few changes have been done, for better portal api).
This is quiet easy.
I did a PortletRenderer that show no border etc....
but it still put the html tag of decoration (with "no visible" css styles),
So that the shape and size is exactly the same as if there was the decoration.
EmptyRenderer do some "no html tag at all".
It is not the same : no table tag etc... and the portlet is not in the same alignement, not the same borders etc.... with the others in the same region.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060378#4060378
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060378
More information about the jboss-user