Hello,
can someone clear some cloud for me here:
it seems to me that turbine and some template engine
, like velocity, is a natural fit since it provides a
navigation and impl framework that use a template env for
presentation layer.
meanwhile, JSP is more than a template env, it's a
flexible (someone may argue) framework where users
can do many different things.
therefore instead of this in velocity:
layout -> screen classs -> context -> velocity.vm
in jsp:
JSP servcie -> jsp-temp.jsp -> its logic class
so,
1. how does screen and layout fit into this picture ?
2. let's assume you impl a screen class that populate
a object in context so jsp can pick it up and display,
does it make sense since the jsp can pick up from logic
class directly ?
3. what does integratation of Turbine and JSP buy you ?
thanks in advance.
-sky
>From: Dave Polito <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: RE: Turbine using JSP
>Date: Mon, 21 May 2001 13:59:16 -0600
>
>As to JSP, you need a patch to TurbineJspService.java that I just
>re-submitted. I will update the docs as soon as the patch is there. But
>in
>short, you only need to change/add the following.
>
>Add;
>services.JspService.classname=org.apache.turbine.services.jsp.TurbineJspServ
>ice
>
>Change;
>services.JspService.default.layout = DefaultLayout
>
>Then set all of the screen names to what you want. The rest of the
>parameters are set in the TR.props file by default. If you do not want to
>use Layouts, you need to set the layout to DefaultLayout.
>
>Dave Polito
>
>-----Original Message-----
>From: Jon Stevens [mailto:[EMAIL PROTECTED]]
>Sent: Monday, May 21, 2001 1:39 PM
>To: Turbine-user
>Subject: Re: Turbine using JSP
>
>
>on 5/21/01 11:27 AM, "Ethan Adams" <[EMAIL PROTECTED]> wrote:
>
> > I have just started with a new company and would like to introduce the
>group
> > to Turbine. I have been using it for about 6 month now and prefer it
>to
> > writing my own framework from scratch (which my new company is basically
> > doing).
>
>Not invented here syndrome.
>
> > 1 problem. They don't believe in the performance of Velocity. They had
>some
> > bad experiences with WebMacro.
>
>Wow. That is pretty stupid given the following:
>
>#1. Velocity and WebMacro don't share the same code base or design.
>#2. You can do your own testing:
><http://jakarta.apache.org/builds/jakarta-velocity/speed/>
>
> > Anyway, I don't have the time right now to convert them. We will be
> > developing many applications in the future and maybe I can slowly
>convert
> > them.
> >
> > All that being said...How the heck do I get JSP working in Turbine.
>The
>HOW-TO
> > is out of date as far as I can see. Some of the properties don't even
>exist
> > anymore.
>
>Let me guess, they are also forcing JSP down your throat.
>
> <http://jakarta.apache.org/velocity/ymtd/ymtd.html>
>
> > Here is what I have done to tdk 2.1b1:
> >
> > I keep getting this error:
> >
> > Horrible Exception: java.lang.ClassNotFoundException:
> >
> > Requested Screen not found:
> > Turbine looked in the following modules.packages path:
> > [com.covisint.test.modules, com.covisint.test.modules.screens,
> > org.apache.turbine.modules]
>
>What URL are you using?
>
>-jon
>
>--
>If you come from a Perl or PHP background, JSP is a way to take
>your pain to new levels. --Anonymous
><http://jakarta.apache.org/velocity/ymtd/ymtd.html>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]