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 Jacek Wiślicki <ja...@gmail.com> on 2006/08/02 23:25:14 UTC
portlet decorator (decorator.vm override problem)
I'm trying to override the default portlet decorator Velocity code
(WEB-INF/decorations/portlet/decorator.vn). According to the comment in
decorator.vm it should be enough to create such a file in my decorator's
directory - the default one should be overridden then.
I've created a JIRA issue on it (JS2-556), but David Sean Taylor says
everything works fine.
Some decorators (e.g. "clear" or "minty-blue") do succeed with
overriding decorator.vm, in my case it's impossible.
Does anyone have any experience with it? If not, please try to create a
slightly modified copy of the default decorator.vm in your decorator's
home (just a simple experiment ;) ) and tell me if it works (and what
Jetspeed version you are running).
I guess, I'm making a mistake somewhere, but I do not know where.
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
http://www.nauka-biznes.org.pl/jetspeed/portal/
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: portlet decorator (decorator.vm override problem)
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od Aaron Evans z 2006-08-03 01:52 brzmiala:
> I am on Jetspeed 2.0, but I believe decorators are supposed to live in
>
> jetspeed/decorations
>
> NOT:
>
> jetspeed/WEB-INF/decorations.
>
> I think they used to live there, but not anymore (unless that changed
> in 2.1). So make sure they are in the right place.
Right, sorry for this. I meant jetspeed/decorations. Just a habit from
2.0...
> I have overriden the default decorator.vm without a problem.
Could you send me your velocity.log? In mine I cannot see any trace of
finding/parsing my decorations/portlet/my_decorator/decorator.vm by
Velocity or any error concerning the file. It seems the system doesn't
see it at all.
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
http://www.nauka-biznes.org.pl/jetspeed/portal/
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: portlet decorator (decorator.vm override problem)
Posted by Aaron Evans <aa...@gmail.com>.
Hey Jacek,
I am on Jetspeed 2.0, but I believe decorators are supposed to live in
jetspeed/decorations
NOT:
jetspeed/WEB-INF/decorations.
I think they used to live there, but not anymore (unless that changed
in 2.1). So make sure they are in the right place.
I have overriden the default decorator.vm without a problem.
HTH,
aaron
On 8/2/06, Jacek Wiślicki <ja...@gmail.com> wrote:
> I'm trying to override the default portlet decorator Velocity code
> (WEB-INF/decorations/portlet/decorator.vn). According to the comment in
> decorator.vm it should be enough to create such a file in my decorator's
> directory - the default one should be overridden then.
>
> I've created a JIRA issue on it (JS2-556), but David Sean Taylor says
> everything works fine.
>
> Some decorators (e.g. "clear" or "minty-blue") do succeed with
> overriding decorator.vm, in my case it's impossible.
>
> Does anyone have any experience with it? If not, please try to create a
> slightly modified copy of the default decorator.vm in your decorator's
> home (just a simple experiment ;) ) and tell me if it works (and what
> Jetspeed version you are running).
>
> I guess, I'm making a mistake somewhere, but I do not know where.
>
> --
> pozdrawiam,
> Jacek Wislicki
>
> jacek.wislicki@gmail.com
> http://www.nauka-biznes.org.pl/jetspeed/portal/
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>