RE: Corrupted archive problem with the Cocoon ZipArchiveSerializer

2006-12-18 Thread Dupont, Stephane
Hi, I've installed the 2.1.9 version, and i have the same problem. I've seen that there were changes in ZipArchiveSerializer, but i have the same result. I always have the message Invalid compressed data to inflat when i try to extract compressed file from the generated archive (i see all

RE: sitemap get xml from pure java servlet

2006-12-18 Thread James Holstead
Thank you Janne, My apologies, because I just realized that I forgot to mention the need to pass uri params to the servlet aswell. I know generate type=file doesn't support this..I'll look at the x/cinclude specifications. -Original Message- From: Janne K. Olesen [mailto:[EMAIL

set a session attribute in the sitemap

2006-12-18 Thread Roel Croonenberghs
Hello, I can access a session var in the sitemap via map:parameter name=id value={session:getAttribute(., 'curId')} / But is there a possibility to set the session var in the sitemap? How? tnx roel

RE: set a session attribute in the sitemap

2006-12-18 Thread Kai Mutz
With the SessionPropagatorAction: http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/acting/SessionPropaga torAction.html Kai -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Roel Croonenberghs Sent: Monday, December 18, 2006 3:44 PM To:

Re: set a session attribute in the sitemap

2006-12-18 Thread Jeroen Reijn
Or use the SetterAction http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/acting/SetterAction.html Kind regards, Jeroen Reijn Kai Mutz wrote: With the SessionPropagatorAction: http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/acting/SessionPropaga torAction.html Kai

RE: set a session attribute in the sitemap

2006-12-18 Thread Kai Mutz
Can you post the snippet around line 1126 of your sitemap. Kai -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Roel Croonenberghs Sent: Monday, December 18, 2006 4:06 PM To: users@cocoon.apache.org Subject: RE: set a session attribute in the sitemap I

Re: Cinclude file not found - why?

2006-12-18 Thread Dan Hertz
I just don't understand what the difference is between an iframe calling the URL (or typing it in the browser) -- which returns the expected result, and a cinclude which calls the external file (using http:// and not the cocoon:/ protocol) -- which does not. Big difference between iframe and

RE: set a session attribute in the sitemap

2006-12-18 Thread Roel Croonenberghs
map:match pattern=alternatetokens.ddlblist map:act type=session-propagator paramater name=example1 value=xxx/ /map:act map:generate type=ws_list src=getcustomers/ map:transform

RE: set a session attribute in the sitemap

2006-12-18 Thread Kai Mutz
Do you have the session-propagator action defined in your sitemap? map:actions ... map:action logger=sitemap.action.session-propagator name=session-propagator src=org.apache.cocoon.acting.SessionPropagatorAction/ ... /map:actions -Original Message- From: [EMAIL PROTECTED]

RE: sitemap get xml from pure java servlet

2006-12-18 Thread James Holstead
Could I use my servlet code to define an action and return parameters that way? -Original Message- From: James Holstead [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 8:38 AM To: users@cocoon.apache.org Subject: RE: sitemap get xml from pure java servlet Thank you Janne, My

Re: sitemap get xml from pure java servlet

2006-12-18 Thread Jeroen Reijn
Hi James, Just try using the generator this way: map:generate src=http://localhost/?{request:queryString}/ It will pass your entire query string to the localhost server in this case. Kind regards, Jeroen Reijn James Holstead wrote: Could I use my servlet code to define an action and return

JX or JPath without flowscript

2006-12-18 Thread Mark Lundquist
Begin forwarded message: From: Jeroen Reijn [EMAIL PROTECTED] Hi Piotr, I'm afraid that questions like these should go to the cocoon user list instead of the developers list. I'm reposting it there :-). It's uncanny how often I've had a question that I thought was kind of obscure, only

Re: Unsupported grammar language

2006-12-18 Thread Lars Huttar
On 10/20/2006 9:34 AM, José Miguel Vieira wrote: Hello, I'm trying to use the validation report features, using a dtd for the validation. What is the correct grammar value for dtd validation? I'm using http://www.w3.org/TR/REC-xml but it returns an Unsupported grammar language. Thanks,

RE: Corrupted archive problem with the Cocoon ZipArchiveSerializer

2006-12-18 Thread Alfred Nathaniel
On Mon, 2006-12-18 at 15:34 +0100, Dupont, Stephane wrote: Hi, I've installed the 2.1.9 version, and i have the same problem. I've seen that there were changes in ZipArchiveSerializer, but i have the same result. I always have the message Invalid compressed data to inflat when i try to

RE: set a session attribute in the sitemap

2006-12-18 Thread Roel Croonenberghs
yes; map:action name=session-propagator src= org.apache.cocoon.acting.SessionPropagatorAction logger=custom.action/ Kai Mutz [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 18/12/2006 17:18 Please respond to users@cocoon.apache.org To users@cocoon.apache.org cc Subject RE: set a session