Re: Create New File

2007-01-13 Thread Steven D. Majewski
On Jan 12, 2007, at 2:14 PM, BMur wrote: Thanks for the reply Steve. I apologize for not being clear. Since this is a Cocoon mailing list I was trying not to add too much Lenya stuff, but obviously I'm not sending enough details. Here is my goal - I'm using Cocoon 2.1.7 and Lenya 1.2.4, a

Re: problem with headers

2007-01-13 Thread Mark Lundquist
On Jan 12, 2007, at 1:43 AM, Joose Vettenranta wrote: Hello, I have like this in sitemap: src="{flow-attribute:path}/{flow-attribute:file}" mime-type="{flow-attribute:mimetype}" /> It works for some but not for every file I have. For the ones it does not work, result i

Re: custom document generation

2007-01-13 Thread Mark Lundquist
Hi Daniel, On Jan 13, 2007, at 1:06 PM, Daniel Süpke wrote: I used to work with struts and have some problems now getting into Cocoon. Could you please give me a hint if I'm on the right track? Yes, you're on the right track :-). What problems are you having? I have to create an applicati

custom document generation

2007-01-13 Thread Daniel Süpke
Hi I used to work with struts and have some problems now getting into Cocoon. Could you please give me a hint if I'm on the right track? I have to create an application which creates a document from an xml source with only the parts that the user selected. This includes a couple of steps: 1. Cho

Re: Cocoon 2.2, portal and cauth problem

2007-01-13 Thread Carsten Ziegeler
The portal in trunk is now working for me again (well, parts of it are working). I disabled the database authentication (reverting to the pipeline based auth), disabled the automatic cforms transformation (the recent changes to cforms seem to cause problems) and disabled the ajax support. HTH Car

Re: Re: normalize-space and cocoon

2007-01-13 Thread Bertrand Delacretaz
On 1/13/07, km <[EMAIL PROTECTED]> wrote: ...The Problem is, we are looking for a performace - my boss think, it can make the application faster I doubt removing normalize-space would make a significant difference in performance, slow XSLT transforms have usually much worse problems than t

Re: Re: normalize-space and cocoon

2007-01-13 Thread km
hi > > Hi km, > > On Jan 12, 2007, at 1:23 PM, km wrote: > > > > > I use a lot of xsl with different params. Some of the params I catche > > with "normalize-space($param)". > > Why? Is it your own XSLT that you wrote, or did you inherit it from > somebody else? It is a mix from my own styl

Re: problem with headers

2007-01-13 Thread Joose Vettenranta
Hi, Ard Schrijvers kirjoitti 12.1.2007 kello 14.24: I have like this in sitemap: Print your mimetype var in flow and look wether it is correct there for every file Yes, mime-type is ok. Even though if mime-type would be something very very wrong, then it still sho