I don't think that any of our controls use border colors.
The default control is set in the JRP:
services.PortalToolkit.default.control=TitlePortletControl
Which is defined in controls.xreg:

  <portlet-control-entry name="TitlePortletControl">

<classname>org.apache.jetspeed.portal.controls.VelocityPortletControl</class
name>
    <parameter name="theme" value="jetspeed.vm"/>
    <meta-info>
      <title>TitlePortletControl</title>
    </meta-info>
    <media-type ref="html"/>
    <media-type ref="wml"/>
  </portlet-control-entry>

Look at templates/vm/controls/html/jetspeed.vm for the html version of the
default control:

<table border="0" bgcolor="$!{skin.BackgroundColor}" cellpadding="0"
cellspacing="0" width="100%">

It doesn't use a border.
So you would have to create your own control, define it in the controls.xreg
like above, maybe somethin like:

  <portlet-control-entry name="TitleBorderPortletControl">

<classname>org.apache.jetspeed.portal.controls.VelocityPortletControl</class
name>
    <parameter name="theme" value="titleborder.vm"/>
    <meta-info>
      <title>TitleBorderPortletControl</title>
    </meta-info>
    <media-type ref="html"/>
    <media-type ref="wml"/>
  </portlet-control-entry>

and then create your vm control for html to have a borders
you can then make it the default control by setting it in the JRP as above ,
or specifically for a particular portlet like this in your psml:

      <entry parent="ExamplePortlet">
        <control name="TitlePortletControl"/>
      </entry>


-------------------------------------
David Sean Taylor
[EMAIL PROTECTED]
-------------------------------------
http://jakarta.apache.org/jetspeed
-------------------------------------




> -----Original Message-----
> From: Amadou O. Wane [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 10, 2001 9:20 AM
> To: [EMAIL PROTECTED]
> Subject: Portlet Border Color
>
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Greetings,
> How can I change the border color of a portlet? I don't see the
> directive in skin.xreg
>
> =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
> Amadou O. Wane
> Database Architect (Sybase/Oracle/MS-SQL)
> http://www.2atec.com
> Enabling The Next Agenda
> (813)626-5144 Ext. 212
> =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 7.0.4
>
> iQA/AwUBO3QHxLrx42iNRFiFEQLVMACgxLEveMHt6M2LzWqIDvtPpvuPdhwAn2dj
> DenTnA9dvVXmm/zRHeJnPg5b
> =P6Zj
> -----END PGP SIGNATURE-----
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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

Reply via email to