Matcher parameter

2007-02-19 Thread Gajo Csaba
Hello, I have a login page. If the user logs in, he can visit all the pages he was visiting before, except a different stylesheet will be used to generate the pages. The matcher matches *.html. The problem I'm having is that the {1} parameter I'm using is always empty! This is the code:

Re: Matcher parameter

2007-02-19 Thread Thomas Markus
Hi, use {../1} Gajo Csaba schrieb: Hello, I have a login page. If the user logs in, he can visit all the pages he was visiting before, except a different stylesheet will be used to generate the pages. The matcher matches *.html. The problem I'm having is that the {1} parameter I'm using

Re: Matcher parameter

2007-02-19 Thread Gajo Csaba
That's great! Thanks, I was trying to figure it out for hours. :) Does the .. mean I'm going up one tag? So, for example, if a tag is embedded in 4 levels, then I have to write {../../../1} ? Thanks, Csaba On Mon, 19 Feb 2007 14:48:00 +0100, Thomas Markus [EMAIL PROTECTED] wrote: Hi,

Re: Matcher parameter

2007-02-19 Thread Jeroen Reijn
Hi Gajo, try using {../1} . If you are within an action you will have to fetch the parent parameter. map:generate type=file src=docs/{../1}.xml/ should do it! Regards, Jeroen Reijn Gajo Csaba wrote: Hello, I have a login page. If the user logs in, he can visit all the pages he was

Re: Matcher parameter

2007-02-19 Thread Thomas Markus
you got it :) Gajo Csaba schrieb: That's great! Thanks, I was trying to figure it out for hours. :) Does the .. mean I'm going up one tag? So, for example, if a tag is embedded in 4 levels, then I have to write {../../../1} ? Thanks, Csaba

Re: Matcher parameter

2007-02-19 Thread Torsten Curdt
There is also an absolute notation and you can even name them ...but cannot remember how from the top of my head. cheers -- Torsten On 19.02.2007, at 15:04, Thomas Markus wrote: you got it :) Gajo Csaba schrieb: That's great! Thanks, I was trying to figure it out for hours. :) Does the ..

How to integrate Dojo inline editor into CForms?

2007-02-19 Thread Dev at weitling
Hi! I want to integrate (and modify) Dojo's inline editor or something similar with Cocoon Forms for getting a visually more clean GUI of a form. Any ideas or hints appreciated! Florian - To unsubscribe, e-mail: [EMAIL

Return from flowscript

2007-02-19 Thread Tobia
Is it possible to return from a map:call function=... call? How? Tobia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Return from flowscript

2007-02-19 Thread Jasha Joachimsthal
Hi Tobia, depends what you want. You can go further with a sendPage or do a redirectTo. See http://cocoon.apache.org/2.1/userdocs/flow/api.html#response for the possibilities. Jasha -Original Message- From: Tobia [mailto:[EMAIL PROTECTED] Sent: Mon 2/19/2007 7:02 PM To:

Re: How to integrate Dojo inline editor into CForms?

2007-02-19 Thread 許議中
There're samples in cocoon 2.1.10 forms like http://localhost:8080/cocoon/samples/blocks/forms/do-dojoRepeater.flow johnson Dev at weitling 提到: Hi! I want to integrate (and modify) Dojo's inline editor or something similar with Cocoon Forms for getting a visually more clean GUI of a form.

Spring Blocks question

2007-02-19 Thread Lally Singh
Hey all, quick question. With Cocoon blocks (using maven 2 archetypes), how are the spring configurations connected together? If I define a bean called 'peel' in a block called 'banana', and I'm in another block, do I refer to it as 'peel' or 'banana.peel' ? Or even better, some pointers to