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 ..

URL matcher parameter problem

2004-05-18 Thread Christian Rosenberger
Hi! Have a strange problem with the URL matcher and HTTP GET parameters. My URL looks like this: http://HOST/cocoon/test/test.html?test=test/test.xml I want to get the "text.xml" file.The URL is called by a external program, so I can't change it to http://HOST/cocoon/test/test.xml In my

Re: URL matcher parameter problem

2004-05-18 Thread Christian Rosenberger
, but with request parameters it doesn't return the xml, but the html file. Any ideas? Regards, Christian - Original Message - From: Christian Rosenberger To: [EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 6:38 PM Subject: URL matcher parameter problem Hi!

RE: URL matcher parameter problem

2004-05-18 Thread Lars Huttar
: Christian Rosenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 11:41 AM To: [EMAIL PROTECTED] Subject: Re: URL matcher parameter problem Sorry, wrong key ;-) Again my problem: Have a strange problem with the URL matcher and HTTP GET parameters. My URL looks like this: http://HOST