You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Mohd Fadhly <fa...@xybase.com> on 2003/06/01 13:34:08 UTC
Skin modification
hi all,
how to change a portlet's title bar. i know that we can change the
portlet's icons and all, but what about adding grafix such as a
background image of the title bar instead of normal background color. i
have tried to change TitleControl.java in
org.apache.jetspeed.portal.controls, method getHTMLContent:
line 130:
TR finalTitle = new TR()
// .setBgColor( this.getTitleColor() )
.setBackground("/jetspeed/images/img01.gif")
.addElement( new TD()
.setBgColor( this.getTitleColor() )
.setNoWrap( true )
.setWidth("100%")
.setVAlign("middle")
.addElement( new B()
.addElement( getPortlet().getTitle() )
.addElement(" ") )
);
it compiles fine, but doesnt change the portlet title.
thanks in advance.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org