Thanks, Rapha�l.  I was using 1.2b1, which did not have the
border-color skin property.  I patched my b1 implementation with the
new portlet from CVS.  It works great!  I guess I should try for a
clean build from the current CVS to get all new features/fixes.  Is
there an estimated date for 1.2b2?

I'm creating a portal with a similar look/feel to www.excite.com.  Is
there a way to get the border around a titled portlet, as done by
excite?  For now, I hacked TitledPortletControl to put a gray border
around all titled portlets, but would like to make this a skin
property.

For the title text color, I hacked TitledPortletControl with a
one-character modification.  I now use TH instead of TD for the title
table cell, then use the existing default.css to modify the TH style
font color.  Works great.  this raises an interesting question about
the trade-off and/or overlap of skin properties and CSS styles...

I lost my reference for the FTP site containing daily snapshots of the
full CVS extract.  Anyone have this handy?

Dave

----- Original Message -----
From: "Rapha�l Luta" <[EMAIL PROTECTED]>
To: "JetSpeed" <[EMAIL PROTECTED]>
Sent: Monday, August 07, 2000 1:46 AM
Subject: Re: How do I get a bordered box portlet?


> 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]
>
>



--
--------------------------------------------------------------
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