Passing POST Parameters to a block call, cocoon 2.2, please urgent!

2009-08-27 Thread Ali Mahdoui
Hi, i want to forewoard my form data to a servlet:... pipeline request. My Form: form action=pattern1 method=post input type=text name=data /form The source pipeline calls a block like this map:match pattern=pattern1 map:generate src=servlet:block-id:/pattern2/

Re: Passing POST Parameters to a block call, cocoon 2.2, please urgent!

2009-08-27 Thread Rainer Pruy
Hi Ali, the problem is, you are trying to use cocoon inappropriately. Currently there is no way passing parameters via servlet protocol. (Actually, you could use URL-encoded parameters. That will work. But, not all forms data can be propagated that way.) The only approach that will work with

Re: Passing POST Parameters to a block call, cocoon 2.2, please urgent!

2009-08-27 Thread Rainer Pruy
Hi, I forgot to add: Please note, that - among some other places in cocoon - servlet protocol starts a new request, (nearly) independent from the original one. This request (currently) does not inherit any parameters. To achieve such behavior, it would be necessary to add some syntax for

Queries not working with AS protocol?

2009-08-27 Thread Derek Hohls
I am in the process of moving my applications over from Windows to Linux as my development platform. I am now running Cocoon 2.1.11 and Mysql 5.0.67 (was 2.1.8 and 4.0.23) There is one issue I have encountered so far. When running a query of the form: SELECT foo AS bar from mytable The

Gabriel Gruber/Workflow is out of office.

2009-08-27 Thread Gabriel Gruber
I will be out of the office starting 27.08.2009 and will not return until 31.08.2009. Ich bin bis zum 28.08.2009 auf Urlaub und ab 31.08.2009 wieder für Sie erreichbar. Bei technischen Fragen zum System Webdesk wenden Sie sich bitte vertrauensvoll an Hrn. Gutzelnig oder Hrn. Stastny. Bei Fragen

view *.doc file in browser window

2009-08-27 Thread Maria Grigorieva
hello! I need to view text document in browser. Not to download the file. Now I have just reader: map:match pattern=**/*/article.doc map:read mime-type=application/text src=publish/{2}/article.doc/ /map:match -- View this message in context:

Re: view *.doc file in browser window

2009-08-27 Thread Antonio Gallardo
Hi Maria, I think it is not a cocoon task. I mean, cocon can only send the file. How the browser handle the file depends on browser configuration for a given mime type. Hint: Try to find a better mime type for a word document to allow the browser to handle it the file as you expect. Best

Re: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler

2009-08-27 Thread Antonio Gallardo
Hi Laurent, Please look into the cocoon.xconf for the configuration of eclipse compiler and set the value to 1.5 instead of auto. Here is the code: !--+ 55 : | Specifies the java code source version used to compile the XSP code. 56 :| 57 :| Posible