You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stephan Coboos <cr...@gmx.net> on 2004/06/26 10:44:14 UTC

Using JSPGenerator as template engine for flow?

Hello,

has someone ever used JSPGenerator as underlying template engine instead 
of JXTemplate? Is it possible to use it with flow? When not, what 
modifications are to do, to use JSPGenerator with flow?

Reason: I need taglibs but the cocoon taglibs not well supported, 
documented and doesn't work without own modifications in 2.1.5. So I 
wan't to use JSP because it is a stable and working alternative.

Thank you.

Regards
Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Using JSPGenerator as template engine for flow?

Posted by Stephan Coboos <cr...@gmx.net>.
Joerg Heinicke wrote:

> On 26.06.2004 10:44, Stephan Coboos wrote:
>
>> Hello,
>>
>> has someone ever used JSPGenerator as underlying template engine 
>> instead of JXTemplate? Is it possible to use it with flow? When not, 
>> what modifications are to do, to use JSPGenerator with flow?
>>
>> Reason: I need taglibs but the cocoon taglibs not well supported, 
>> documented and doesn't work without own modifications in 2.1.5. So I 
>> wan't to use JSP because it is a stable and working alternative.
>
>
> Hmm, yes, it should work. From flow script you just select a pipeline 
> with a JSPGenerator instead of JXTemplateGenerator. The only missing 
> built-in support is the access to the bizdata object, but I think it 
> must be stored somewhere in the servlet API's objects, so access 
> should be possible.

This is another question I had: Why not using a scope like session or 
request to store the bizData?. Why flow must have its own scope? Is 
there a reason to do so? Or is it just a "grown up and not changed"?

Thank you.

Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Using JSPGenerator as template engine for flow?

Posted by Joerg Heinicke <jo...@gmx.de>.
On 26.06.2004 10:44, Stephan Coboos wrote:

> Hello,
> 
> has someone ever used JSPGenerator as underlying template engine instead 
> of JXTemplate? Is it possible to use it with flow? When not, what 
> modifications are to do, to use JSPGenerator with flow?
> 
> Reason: I need taglibs but the cocoon taglibs not well supported, 
> documented and doesn't work without own modifications in 2.1.5. So I 
> wan't to use JSP because it is a stable and working alternative.

Hmm, yes, it should work. From flow script you just select a pipeline 
with a JSPGenerator instead of JXTemplateGenerator. The only missing 
built-in support is the access to the bizdata object, but I think it 
must be stored somewhere in the servlet API's objects, so access should 
be possible.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: Using JSPGenerator as template engine for flow?

Posted by Wouter Westendorp <w....@vpro.nl>.
Just another note: If you want to transform your JSP generated data to
other formats then HTML, you have to set the corresponding mime-type
within your JSP. Due to a bug in the JSP generator, the JSP generated
mime-type cannot be overridden by a serializer.
See http://issues.apache.org/bugzilla/show_bug.cgi?id=27957 for details.


-----Oorspronkelijk bericht-----
Van: Stephan Coboos [mailto:cromosom@gmx.net] 
Verzonden: zondag 27 juni 2004 19:04
Aan: users@cocoon.apache.org
Onderwerp: Re: Using JSPGenerator as template engine for flow?

Ralph Goers wrote:

> Just be aware that the JSPGenerator does not (and apparently cannot) 
> work in Weblogic server.
>
Ah, thats interesting. Have you further information?

Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Using JSPGenerator as template engine for flow?

Posted by Stephan Coboos <cr...@gmx.net>.
Ralph Goers wrote:

> Just be aware that the JSPGenerator does not (and apparently cannot) 
> work in Weblogic server.
>
Ah, thats interesting. Have you further information?

Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Using JSPGenerator as template engine for flow?

Posted by Ralph Goers <Ra...@dslextreme.com>.
Just be aware that the JSPGenerator does not (and apparently cannot) work 
in Weblogic server.

At 6/26/2004  01:44 AM, you wrote:
>Hello,
>
>has someone ever used JSPGenerator as underlying template engine instead 
>of JXTemplate? Is it possible to use it with flow? When not, what 
>modifications are to do, to use JSPGenerator with flow?
>
>Reason: I need taglibs but the cocoon taglibs not well supported, 
>documented and doesn't work without own modifications in 2.1.5. So I wan't 
>to use JSP because it is a stable and working alternative.
>
>Thank you.
>
>Regards
>Stephan
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Using JSPGenerator as template engine for flow?

Posted by Tony Collen <co...@umn.edu>.
Terry Brick wrote:
> I'm now wondering about this myself. I'm not much familiar with the 'flow' scope, but has anyone
> been able to gain access to the 'bizdata' from JSP?
> That would solve so many problems for me..


It should be easy, I think that all you'd need to do is use 
FlowHelper.getContextObject().

I could be wrong since I've never done it, but I think that's it.

Regards,
Tony

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Using JSPGenerator as template engine for flow?

Posted by Terry Brick <te...@yahoo.com>.
I'm now wondering about this myself. I'm not much familiar with the 'flow' scope, but has anyone
been able to gain access to the 'bizdata' from JSP?
That would solve so many problems for me..

--- Stephan Coboos <cr...@gmx.net> wrote:
> This is another question I had: Why not using a scope like session or request to store the > > >
bizData?. Why flow must have its own scope? Is there a reason to do so? Or is it just a "grown up 
> and not changed"?
> 
> 
> Thank you.
> 
> 
> Regards

> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org