That gives me the rest, now i use velocity!!! ;-)
Thanks Jon!
Gunter M.
-----Ursprungliche Nachricht-----
Von: Jon Stevens [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 1. August 2001 12:37
An: Turbine-user
Betreff: Re: AW: Pull-Service
on 8/1/01 3:25 AM, "Gunter Miessbrandt" <[EMAIL PROTECTED]> wrote:
> I want to use the Pull-Service to put an Shopping-Cart-Object into the
> sessiondata from an user, so that the JSP-shoptemplates can use it and the
> others dont know about anything!
> Is that the right way, or is there a better one??
>
> Gunter Miessbrandt
With JSP alone you are pretty much screwed.
The equivalent to the Pull Service with JSP is to use the <jsp:useBean> tag
however, you will have to copy/paste that into all of your templates. Thus
defeating the whole purpose of the Pull Service entirely.
Read:
<http://jakarta.apache.org/velocity/ymtd/ymtd-javabeans.html>
You might be able to get around that by using Struts or building a
controller Servlet to include an object into the context for each request,
but then you are re-inventing Turbine. :-)
Once again, let me repeat: JSP SUCKS BALLS.
:-)
-jon
---------------------------------------------------------------------
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]