Hi,
 
I was wondering what the process is for getting a patch in the source?  
I have a minor change I would like to see in
org.apache.jetspeed.portal.controls.TitlePortletControler.
 
The change would be to add a css class element to the portlet title
table cell.  This would allow the
look and feel of the portlet title bar to be controlled by the style
sheet.  If no style sheet
element is specified it would fall back to the portlet skin in the psml
file or the default if no
skin is specified.  The change I envision would be something like the
following:
 
// Current code starting at line 207 of
org.apache.jetspeed.portal.controls.TitlePortletControler
 
        TR finalTitle = new TR().setBgColor( this.getTitleColor() )
                       .addElement( new
TD().setBgColor.setWidth("100%").setVAlign("middle")
                                              .addElement( new
B().addElement( getPortlet().getTitle() )
 
.addElement("  ") ) );
// Changed to something like
 
        TD portletTitle = (TD) new TD().setClass("PORTLET_TITLE");
        TR finalTitle = new TR().setBgColor( this.getTitleColor() )
                       .addElement( portletTitle.setBgColor(
this.getTitleColor() ).setNoWrap( true
).setWidth("100%").setVAlign("middle")
                                              .addElement( new
B().addElement( getPortlet().getTitle() )
 
.addElement("  ") ) );

I have made the change in my copy of the code and it works fine but I
would like to not have to
have my own fork for something that could benefit more of us "regular"
users who only wish
to modify config files and implement a custom portlet or two.
 
As an aside question.  Is everybody allowed to check in to CVS or do you
need specific permissions.
If I can check in I do not mind making the change myself. 
 
Steven F. Davis
Technology Director - Digital Evergreen Interactive
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to