Re: Display tag library with cocoon 2.1

2009-01-04 Thread Andy Stevens
2009/1/4 Biondo Francesco Paolo paolofrancesco.bio...@pro-netics.com:
 Hello, can I use displaytag (
 http://displaytag.sourceforge.net/1.2/install.html ) with Apache Cocoon?
 The Install's tutorial says to define: %@ taglib
 uri=http://displaytag.sf.net; prefix=display %, using jsp, How can I
 define the tag extension in xml files in Cocoon? thanks

What exactly are you trying to do?  Write the output of a Cocoon
pipeline into request/session attributes then forward the request to a
JSP that contains these tags?  Have a Cocoon pipeline dynamically
generate a JSP that contains these tags, which is subsequently run by
the container's JSP processor?  Use Cocoon's JSP generator to call a
JSP that uses these tags, then pass the resulting output through the
rest of a pipeline?  Or something else entirely?

Since you talk about outputting a taglib directive, it sounds to me
like you're trying to dynamically generate a JSP using a Cocoon
pipeline.  Even if you could get it to work, this is probably a bad
idea - every matching request would run a pipeline, call the JSP
Compiler, run the resulting servlet, ...
Not particularly efficient, and depending on what app server you're
using it may be prone to memory or file handle leaks.  If you can give
us a better idea what you're trying to achieve we may be able to
suggest a better way to do it.  At the moment it just sounds to me
like you need to make your mind up which view technology you want to
use, Cocoon or JSPs.


Andy.
-- 
http://pseudoq.sourceforge.net/  Open source java sudoku application

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



Display tag library with cocoon 2.1

2009-01-04 Thread Biondo Francesco Paolo
Hello, can I use displaytag (
http://displaytag.sourceforge.net/1.2/install.html ) with Apache Cocoon?
The Install's tutorial says to define: %@ taglib
uri=http://displaytag.sf.net; prefix=display %, using jsp, How can I
define the tag extension in xml files in Cocoon? thanks 


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



Re: AW: AW: AW: C2.2 with CForms, JavaFlow and JPA (Hibernate)

2009-01-04 Thread Luca Morandini

Christofer Dutz wrote:


I am currently a little stuck on the JavaFlow part of my tutorial. After
having this part up-and running, I will gladly submit this tutorial. How
would I submit such a thing anyway? Do I send it to someone and he inserts
it to the Cocoon page, or should I host the HTML on my own server?


The Cocoon site uses Daisy, hence having an HTML page may be easier, 
since portions can be copied and pasted.


Regards,


   Luca Morandini
www.lucamorandini.it



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