Re: [Cocoon 2.2] upload binary files

2008-03-08 Thread Joerg Heinicke
I might be wrong, but my guess is you are falling into the trap that uploaded files are deleted at the end of a request. You must save them yourself during the request processing. I would not try to disable multipart filter. But if you can tell us what you actually want to do with the file it

2.2 tutorials help

2008-03-08 Thread Patrick Heiden
Hello together! I have some trouble with the tutorials. I have created the two blocks and I am not able to connect them (http://cocoon.apache.org/2.2/1291_1_1.html). The only thing I've changed compared to the tutorial is to rename the blocks and pipeline-names: myBlock1 = isac myBlock2 =

Re: deploying cocoon 2.2 problem

2008-03-08 Thread anil
Hi - I just wanted to report back on this one - I'm not 100% sure what the problem was, but I have solved the issue by removing the reference to the default servlet on /resources/* within the webapp web xml, and then setting up a pipeline within the cocoon block to contain the resources

Re: 2.2 tutorials help

2008-03-08 Thread Grzegorz Kossakowski
Patrick Heiden pisze: Hello together! I have some trouble with the tutorials. I have created the two blocks and I am not able to connect them (http://cocoon.apache.org/2.2/1291_1_1.html). The only thing I've changed compared to the tutorial is to rename the blocks and pipeline-names:

Re: Help with Cocoon and Spring

2008-03-08 Thread Grzegorz Kossakowski
Patrick Heiden pisze: Hello! I am planning to use Cocoon 2.2 fur a huge web-application and use spring as service-layer together with hibernate for persistance. Both spring and hibernate are within my toolbox for a while, but after reading all tutorials from cocoon.apache.org (and the

Re: Dynamic selection lists

2008-03-08 Thread Grzegorz Kossakowski
Derek Hohls pisze: Using C 2.1.8 I noticed in the deprecation log this message: http-8080-Processor10/Deprecation.LoggerWrapper: '@dynamic' mailto:'@dynamic' is deprecated in fd:selection-list and replaced by '@cache' mailto:'@cache' However, on the docs page:

Re: 2.2 tutorials help

2008-03-08 Thread Patrick Heiden
Hello Grzegorz! Thanks for reply (in both cases!). Patrick Heiden pisze: Hello together! I have some trouble with the tutorials. I have created the two blocks and I am not able to connect them (http://cocoon.apache.org/2.2/1291_1_1.html). The only thing I've changed compared to the

Re: 2.2 tutorials help

2008-03-08 Thread Grzegorz Kossakowski
Patrick Heiden pisze: Hello Grzegorz! Thanks for reply (in both cases!). No problem! So my file actually looks like this: ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: Help with Cocoon and Spring

2008-03-08 Thread Patrick Heiden
Hello again! First of all: Big compliment for such an active users-list! [...] I could not exactly imagine what configuration nedds to be put in certain place. More details: - imagine an application that consists of several pet-store-like facades - each facade is responsible for

Re: 2.2 tutorials help

2008-03-08 Thread Patrick Heiden
[..] Ouch, I see the mistake. The servlet:connections tag should be placed *inside* servlet:context tag. ;) laugh about my self for this one! Will try this immediately and see what happens... Fortunately enough, in the tutorial there are no mistakes. I wonder if our XML Schema could be

Re: 2.2 tutorials help

2008-03-08 Thread Grzegorz Kossakowski
Patrick Heiden pisze: [..] Ouch, I see the mistake. The servlet:connections tag should be placed *inside* servlet:context tag. ;) laugh about my self for this one! Will try this immediately and see what happens... I've done exactly the same mistake few months ago so it's not that hard/

Re: 2.2 tutorials help

2008-03-08 Thread Josh2007
You should show the content of your /home/pepemuck/_opt/devel/isac/target/classes/META-INF/cocoon/spring/servlet-service.xml file to check if everything is ok. Josh -- View this message in context: http://www.nabble.com/2.2-tutorials-help-tp15914062p15914201.html Sent from the Cocoon - Users

Re: servlet-mapping in Cocoon 2.2 bean?

2008-03-08 Thread Josh2007
Sorry to get back so late. I debugged Cocoon and eXist and found the problem. eXist XQueryServlet expects an URI in order to be executed. I modified the code so it can receive content and everything works just fine. Thanks for your help. Josh Grzegorz Kossakowski-3 wrote: Josh2007 pisze:

Re: 2.2 tutorials help

2008-03-08 Thread Patrick Heiden
Hello Josh! You should show the content of your /home/pepemuck/_opt/devel/isac/target/classes/META-INF/cocoon/spring/servlet-service.xml file to check if everything is ok. Josh [..] You're right about this and with help from Grzegorz I already was able to fix the problem. Everything is

Re: servlet-mapping in Cocoon 2.2 bean?

2008-03-08 Thread Grzegorz Kossakowski
Josh2007 pisze: Sorry to get back so late. I debugged Cocoon and eXist and found the problem. eXist XQueryServlet expects an URI in order to be executed. I modified the code so it can receive content and everything works just fine. Have you considered sharing your experiences with others? I

Re: 2.2 tutorials help

2008-03-08 Thread Grzegorz Kossakowski
Patrick Heiden pisze: Hello Josh! You should show the content of your /home/pepemuck/_opt/devel/isac/target/classes/META-INF/cocoon/spring/servlet-service.xml file to check if everything is ok. Josh [..] You're right about this and with help from Grzegorz I already was able to

Re: [Cocoon 2.2] upload binary files

2008-03-08 Thread Tobias Rübner
Thanks for the suggestions. You must save them yourself during the request processing. Here is a snippet of my servlet: public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String path = request.getParameter(file); //

Re: Help with Cocoon and Spring

2008-03-08 Thread Grzegorz Kossakowski
Patrick Heiden pisze: Hello again! First of all: Big compliment for such an active users-list! Thanks! :) [...] To get a bit more specific I am trying to explain what my architecture would/should look like at this state of my cocoon-knowledge. I assume, that basic idea behind

Re: servlet-mapping in Cocoon 2.2 bean?

2008-03-08 Thread Josh2007
Yes, after all the help I got I was thinking of writing a short tutorial about integrating eXist in Cocoon 2.2 as a block and how to make use of XQueryServlet with servletService to query the database. eXist requires some files conf.xml (specific to eXist and not part of web.xml),... and an

2.2 - problem with session between blocks - no access to session from block dependency

2008-03-08 Thread Josh2007
Hello all, I have a problem using session between blocks. I have to block Block1 and Block2 with Block1 having a dependency on Block2. To connect the blocks I make use of ServletService and everything works just fine, except for the session. case 1: If I create a session and set up a

Re: 2.2 tutorials help

2008-03-08 Thread Patrick Heiden
[...] There are some attempts to describe how Servlet Service Framework works. It's core piece of software in Cocoon 2.2 and certainly needs much attention. There is a draft document explaining abstract concepts (without usage details) that can be found here:

Re: Help with Cocoon and Spring

2008-03-08 Thread Patrick Heiden
[...] I would like to suggest you two nice readings which could probably help you understand better Cocoon's architecture and avoid common pitfalls: http://article.gmane.org/gmane.text.xml.cocoon.devel/74571 http://thread.gmane.org/gmane.text.xml.cocoon.user/63219 (excellent discussion with

Re: Help with Cocoon and Spring

2008-03-08 Thread Patrick Heiden
[...] I would like to suggest you two nice readings which could probably help you understand better Cocoon's architecture and avoid common pitfalls: http://article.gmane.org/gmane.text.xml.cocoon.devel/74571 http://thread.gmane.org/gmane.text.xml.cocoon.user/63219 (excellent discussion with

Upload widget

2008-03-08 Thread Peter Sparkes
Hi, Please, using the Upload widget, how do I specify the location on the server I want a file uploaded to. Thanks Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]