Paul,
so we will control the looks of portlets from this file?
<jetspeed_home>/WEB-INF/templates/vm/contols/jetspeed.vm
I see "Set portle style", "Set title style", and "set content style"
Q: could you explain how this works in a little more details? like what is
${skin.TitleBackgroundColor} and $portletStyle="border-color" ? how and
where do I define it?
#if (${skin.TitleBackgroundColor})
#set ($portletStyle="border-color: ${skin.TitleBackgroundColor}")
#end
Q: How does these setting in jetspeed.vm related to property entry in
skins.xreg?
if in the selected skin entry,
<property name="title-background-color" value="#dddddd" hidden="false"/>
Thanks a lot!!
Irene
-----Original Message-----
From: Paul Spencer [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 1:23 AM
To: Jetspeed Users List
Subject: Re: why i cannot modify local-skin.xreg?
James,
I verified the colors and style where not being set on the <td> element,
just the <TR>, in the title area of jetspeed.vm.
>From <jetspeed_home>/WEB-INF/templates/vm/contols/jetspeed.vm
** Current **
<td align="left" nowrap="true" valign="middle" width="100%">
$portlet.Title
</td>
** Corrected **
<td align="left" nowrap="true" valign="middle" width="100%" #if
(${skin.TitleStyleClass}) class="${skin.TitleStyleClass}" #end #if
(${titlestyle}) style="${titlestyle}" #end>
$portlet.Title
</td>
I will commit the change shortly.
Paul Spencer
WANG Zheng, James wrote:
> Dear Paul
> I had added a new skin entry like this
>
> <skin-entry name="gedas" hidden="false">
> <property name="text-color" value="#FF0000" hidden="false"/>
> <property name="background-color" value="#ffffff" hidden="false"/>
> <property name="title-text-color" value="#FFFFFF" hidden="false"/>
> <property name="title-background-color" value="#003366"
> hidden="false"/>
> <property name="title-style-class" value="TitleStyleClass"
> hidden="false"/>
> <property name="highlight-text-color" value="#ffffff"
> hidden="false"/>
> <property name="highlight-background-color" value="#000000"
> hidden="false"/>
> </skin-entry>
> it seem that "title-background-color" take effect and become
blue(#FFFFFF),
> but "title-text-color" is still black(#000000)
> althought i change it to white(#FFFFFF),so the title-text is not clear
> because color blue and black are same in hue.,why
> and how?
>
> and
> "text-color" value="#FF0000"
>
> it take effect, text in each pane become red "FF0000",why?
>
> Best regards.
>
> James Wang
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>