You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by James Wang <to...@yahoo.com> on 2002/07/30 05:36:38 UTC

can't get the value of some variables in Velocity!!!

in my Velocity template files,I always use some code:
...

$skin.TitleBackgroundColor
$ui.sansSerifFonts

...

but these variables always cannot be displayed
correctly in my portlet,so there is a lot of mistake
in
my html file.

what's the reason?how to correct it?

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: can't get the value of some variables in Velocity!!!

Posted by Paul Spencer <pa...@mindspring.com>.
James,
See below.
James Wang wrote:

>in my Velocity template files,I always use some code:
>...
>
>$skin.TitleBackgroundColor
>
Not all skins define TitleBackgroundColor

>$ui.sansSerifFonts
>
I do not know about this one.

>
>...
>
>but these variables always cannot be displayed
>correctly in my portlet,so there is a lot of mistake
>in
>my html file.
>
>what's the reason?how to correct it?
>
>  
>
Paul Spencer




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>