Dave Carlson wrote:
> 
> Hi,
> I'd like to get a bordered box (instead of a title bar) filled with
> content from an HTML file.  I see the BorderPortletControl in
> jetspeed, and have tried many permutations, but can't get it to work.
> 
> For example,
> 
>       <entry type="ref" parent="SiteCredits">
>              <layout position="0"/>
>              <skin>
>                  <property name="background-color" value="#cccccc"/>
>              </skin>
>               <control
> name="org.apache.jetspeed.portal.controls.BorderPortletControl"/>
>        </entry>
> 
> just give me a gray box filled with text.  Without the background
> color, I get no box at all, 1just text.
> Anyone have a hint?
> 

<entry type="ref" parent="SiteCredits">
  <control name="org.apache.jetspeed.portal.controls.BorderPortletControl"/>
  <layout position="0"/>
  <skin>
    <property name="border-color" value="#cccccc"/>
    <property name="border-size" value="1"/>
  </skin>
</entry>

> Also, is there a way to set the color of the title *text* in a titled
> portlet?  E.g., I want to use a white title on a dark background.
> There does not appear to be a skin property for the text color, only
> the background color.
> 

You're right, it's an omission in the current skinning system, it's on my TODO 
list but not high priority...

--
Rapha�l Luta - [EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to