How can i activate XSP in cocoon-2.2 ?

2008-09-12 Thread hussayn
Hi; I am experimenting with cocoon-2.2 and this is what i want to do right now: I have a lot of backend-java code, which contains a whole lot of business logic. I want to embed call to the java backend in my cocoon-generated pages. Now i first thought, XSP is my choice, so i searched for

Re: How can i activate XSP in cocoon-2.2 ?

2008-09-12 Thread DAVIGNON Andre - CETE NP/DIODé/PANDOC
Hi Hussayn, Now i understand the previous mentioned thread to some extend. And i ask myself: has XSP been fully replaced by flow-script in cocoon-2.2 ? Further investigations seem necessary ... and i found this thread: http://markmail.org/message/q5rgdefktbqt4ypj The author mentions the

database connection using ComponentSelector

2008-09-12 Thread Мария Григорьева
Hello! I'm trying to connect to the database using JDBC and cocoon.xconf. import java.sql.*; import java.util.*; import javax.sql.DataSource; import org.apache.avalon.framework.component.ComponentException; import org.apache.avalon.framework.component.ComponentManager; import

Re: How can i activate XSP in cocoon-2.2 ?

2008-09-12 Thread hussayn
hi Andre, thank you for your hints! this is interesting information. I did not find any note about XSP been not supported by cocoon-2.2. From the documentation i tend to understand, it is supported, but somehow no any more state of the art... But i could not find a single hint about how to

Re: How can i activate XSP in cocoon-2.2 ?

2008-09-12 Thread Mark Lundquist
On Sep 12, 2008, at 2:10 AM, hussayn wrote: i get the feeling, XSP is evil Yes... XSP is evil. and i should move to something else (flow-script?) Yes, flowscript + template block How shall i proceed ? I will try the flow-script way now, but i am absolutely unsure, it doesnt feel right

Re: Cocoon 2.1.5.1 and Windows Handle Leak

2008-09-12 Thread Stephen Connolly-2
I was able to get a patch that seems to work. There were only two transactions in SVN required for a back-port: http://svn.apache.org/viewvc?view=revrevision=56921 http://svn.apache.org/viewvc?view=revrevision=57424 I hope nobody else has to do this... but hopefully this information will be

Re: How can i activate XSP in cocoon-2.2 ?

2008-09-12 Thread hussayn
Hi, Mark; Mark Lundquist-2 wrote: and i should move to something else (flow-script?) Yes, flowscript + template block How shall i proceed ? I will try the flow-script way now, but i am absolutely unsure, it doesnt feel right ? Flowscript smells like client side, but i am

Re: Cocoon 2.1.5.1 and Windows Handle Leak

2008-09-12 Thread Joerg Heinicke
On 12.09.2008 17:40, Stephen Connolly-2 wrote: I was able to get a patch that seems to work. There were only two transactions in SVN required for a back-port: http://svn.apache.org/viewvc?view=revrevision=56921 http://svn.apache.org/viewvc?view=revrevision=57424 I hope nobody else has to do

Re: How can i activate XSP in cocoon-2.2 ?

2008-09-12 Thread Mark Lundquist
On Sep 12, 2008, at 8:53 AM, hussayn wrote: well, i am now quite a few steps further. Sometimes when you dig and dig, you miss the obvious. Now i understood, that the flow-script is indeed javascript, but it only regulates the when which page will be called, yes server side, and no,