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/03/01 22:48:29 UTC

extending Velocity functions

Hi,
	I need to extend some functionalities of VelocityViewServlet used in 
decorators. Is it possible to do it without modifying 
JetspeedVelocityViewServlet? I would like to use another implementation 
of VelocityViewServlet that would serve some functions paralelly with 
JetspeedVelocityViewServlet. Is it possible?

-- 
pozdrawiam,
     Jacek Wislicki

jacek.wislicki@gmail.com
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: extending Velocity functions

Posted by Randy Watler <wa...@wispertel.net>.
Jacek,

I believe so. You need to write your own implementation and then change 
the servlet registered in web.xml for jetspeed. As usual, a bit of hand 
twisting will be required since this is not exactly a common request... :-).

Randy

Jacek Wiślicki wrote:
> Hi,
>     I need to extend some functionalities of VelocityViewServlet used 
> in decorators. Is it possible to do it without modifying 
> JetspeedVelocityViewServlet? I would like to use another 
> implementation of VelocityViewServlet that would serve some functions 
> paralelly with JetspeedVelocityViewServlet. Is it possible?
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: extending Velocity functions

Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od David Sean Taylor z 2006-03-02 17:50 brzmiala:

> Of course you can extend the Java class in your custom project, package 
> your new code in the jetspeed/WEB-INF/lib distribution, and replace the 
> definition in the web.xml
Thanks for your response. I thought that it was possible to render the 
same template with more than one VelocityViewServlet instance.

-- 
pozdrawiam,
     Jacek Wislicki

jacek.wislicki@gmail.com
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: extending Velocity functions

Posted by David Sean Taylor <da...@bluesunrise.com>.
Jacek Wiślicki wrote:
> Hi,
>     I need to extend some functionalities of VelocityViewServlet used in 
> decorators. Is it possible to do it without modifying 
> JetspeedVelocityViewServlet? I would like to use another implementation 
> of VelocityViewServlet that would serve some functions paralelly with 
> JetspeedVelocityViewServlet. Is it possible?
> 

Of course you can extend the Java class in your custom project, package 
your new code in the jetspeed/WEB-INF/lib distribution, and replace the 
definition in the web.xml

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org