Re: JSP decorators in Jetspeed 2?

2005-01-18 Thread David Sean Taylor
Marcel Dullaart wrote:
Hi David,
I am a collegue of Chris, and we have no experience with velocity.
Can you give a simple overview/list of the classes/packages that
implement the velocity templating engine, so we might give it a try to
implement the jsp engine ourselves?
Lets start with overriding a layout.
Layouts are implemented as portlets.
See the layouts-portlets directory, and the base classes for our current 
layouts are:

org.apache.jetspeed.portlets.layout.LayoutPortlet
and
org.apache.jetspeed.portlets.layout.LayoutPortlet.MultiColumnPortlet
Note that LayoutPortlet extends GenericServletPortlet
I think you can start with the same approach.
You will need to create an equivalent of the JetspeedPowerTool with 
perhaps a tag library or request scoped bean.

Im in the process of documenting the JetspeedPowerTool this week.
It would be best if the JSP layouts would make use of the same JPT as 
the velocity layouts.

see the org.apache.jetspeed.velocity package, and specifically:
JetspeedPowerTool
JetspeedVelocityViewServlet
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JSP decorators in Jetspeed 2?

2005-01-18 Thread Marcel Dullaart
Hi David,

I am a collegue of Chris, and we have no experience with velocity.

Can you give a simple overview/list of the classes/packages that
implement the velocity templating engine, so we might give it a try to
implement the jsp engine ourselves?

Thanx,
Marcel

On Tue, 18 Jan 2005 10:40:24 -0800, David Sean Taylor
<[EMAIL PROTECTED]> wrote:
> Christopher Wood wrote:
> > Do decorators based on JSP templates work in Jetspeed 2? I've tried
> > changing the "template.type" property in decorator.properties to "jsp", or
> > variations of that, without success. Regardless of whatever I specify, a
> > velocity template (.vm) is searched for.
> >
> > Can someone tell me how to get this working?
> >
> > Thanks,
> > Chris Wood
> 
> We haven't written support for JSP decorations and layouts yet.
> Since all velocity templates are dispatched, the procedure will be very
> similar for JSP. We only supported one templating engine (velocity) to
> start with and plan to support JSP in future releases.
> 
> --
> David Sean Taylor
> Bluesunrise Software
> [EMAIL PROTECTED]
> [office] +01 707 773-4646
> [mobile] +01 707 529 9194
> 
> -
> 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]



Re: JSP decorators in Jetspeed 2?

2005-01-18 Thread David Sean Taylor
Christopher Wood wrote:
Do decorators based on JSP templates work in Jetspeed 2? I've tried 
changing the "template.type" property in decorator.properties to "jsp", or 
variations of that, without success. Regardless of whatever I specify, a 
velocity template (.vm) is searched for.

Can someone tell me how to get this working?
Thanks,
Chris Wood
We haven't written support for JSP decorations and layouts yet.
Since all velocity templates are dispatched, the procedure will be very 
similar for JSP. We only supported one templating engine (velocity) to 
start with and plan to support JSP in future releases.

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


JSP decorators in Jetspeed 2?

2005-01-18 Thread Christopher Wood
Do decorators based on JSP templates work in Jetspeed 2? I've tried 
changing the "template.type" property in decorator.properties to "jsp", or 
variations of that, without success. Regardless of whatever I specify, a 
velocity template (.vm) is searched for.

Can someone tell me how to get this working?

Thanks,
Chris Wood