Re: Matching in cocoon 2.1.11

2008-06-16 Thread Reinhard Pötz
Kamal Bhatt wrote: Hi, In the past, we have been able to write matches like this: query-*-*-* Now, if the last value ({3}) was a negative number (or anything starting with a '-'), the match would still work correctly, now if you have a dash in your value and you do a match, it seems to miss v

Re: [2.2] XPatch web.xml

2008-06-16 Thread Reinhard Pötz
[EMAIL PROTECTED] wrote: In order to patch web.xml I see the maven-plugins docs http://cocoon.apache.org/2.2/maven-plugins/maven-plugin/1.0/1360_1_1.html then I created patch file (.xweb): META-INF\cocoon\xpatch\hibernatefilter.xweb that contains: hibernate

Re: Cocoon22: Can 2 blocks map to the same mount path?

2008-06-16 Thread Reinhard Pötz
Dominic Tootell wrote: Hi there, Is it possible to have 2 cocoon blocks that map to the same mount-path in src/main/resources/META-INF/cocoon/spring/block-servlet-service.xml? i.e. Block 1: class="org.apache.cocoon.sitemap.SitemapServlet"> context-path="blockcontext:/cmc-block1/"/>

local catalog in Cocoon 2.2

2008-06-16 Thread Boris Goldowsky
Can someone give me a simple explanation of how to set up a local XML catalog in Cocoon 2.2. I need to be able to use local copies of DTD files referenced in source XML, and the default catalog does not include the DTDs we are using. I see the catalog documentatlon for Cocoon 2.1, but it d

Matching in cocoon 2.1.11

2008-06-16 Thread Kamal Bhatt
Hi, In the past, we have been able to write matches like this: query-*-*-* Now, if the last value ({3}) was a negative number (or anything starting with a '-'), the match would still work correctly, now if you have a dash in your value and you do a match, it seems to miss value {2}. Is this

Re: MultipartHttpServletRequest in a generator

2008-06-16 Thread Robin Wyles
Grzegorz, How's this: 1. Multipart request is received, its parts (some binary, some XML) need to be extracted and processed varyingly. 2. Suitable response XML and response code should be be returned. Based on these requirements and my slowly but ever expanding knowledge of cocoon, I wou

Re: MultipartHttpServletRequest in a generator

2008-06-16 Thread Grzegorz Kossakowski
Robin Wyles pisze: By the way you asked, I guess in some sort of ridiculous attempt to get hold of some binary data that has been posted to a pipeline containing the generator :) Robin, not sure if I understood you correctly but probably that's another sign of /bad/ approach. ;-) Good approac

Re: MultipartHttpServletRequest in a generator

2008-06-16 Thread Robin Wyles
By the way you asked, I guess in some sort of ridiculous attempt to get hold of some binary data that has been posted to a pipeline containing the generator :) robin On 16 Jun 2008, at 22:10, Grzegorz Kossakowski wrote: Robin Wyles pisze: Hi, How can I get hold of a MultipartHttpServlet

Re: MultipartHttpServletRequest in a generator

2008-06-16 Thread Grzegorz Kossakowski
Robin Wyles pisze: Hi, How can I get hold of a MultipartHttpServletRequest in a generator? If I do this... final WebApplicationContext parentContext = WebAppContextUtils.getCurrentWebApplicationContext(); final ProcessInfoProvider infoProvider = (ProcessInfoProvider) parentContext.getBean(Pr

MultipartHttpServletRequest in a generator

2008-06-16 Thread Robin Wyles
Hi, How can I get hold of a MultipartHttpServletRequest in a generator? If I do this... final WebApplicationContext parentContext = WebAppContextUtils.getCurrentWebApplicationContext(); final ProcessInfoProvider infoProvider = (ProcessInfoProvider) parentContext.getBean(ProcessInfoProvider.

Cocoon22: Can 2 blocks map to the same mount path?

2008-06-16 Thread Dominic Tootell
Hi there, Is it possible to have 2 cocoon blocks that map to the same mount-path in src/main/resources/META-INF/cocoon/spring/block-servlet-service.xml? i.e. Block 1: Block 2: I've tried to get it working but so far with no success. Is there a property I can set on th

Update Database by DatabaseUpdateAction

2008-06-16 Thread Johannes Hoechstaedter
Hi everybody, I try an database update by request. As you maybe already can imagin: It doesn't work. The request url looks as follows: http://localhost:/myBlock1/runsql/process?sql%3Auser_id=140&sql%3Aemail=DDeveloper%40home.com It calls a pattern in my sitemap pieline. That works fine. T

Re: CForms and Dojo

2008-06-16 Thread Gabriel Gruber
Hi Chris! Jeremy is actually integrating Dojo 1.1 into cforms. I think he is doing that in the 2.1.12dev branch and in trunk. It would be great, if you could join forces with jeremy to have dojo 1.1 integrated into the next cocoon release :-) greets, Gabriel __ Gabriel Grub