Re: ${cocoon.request.contextPath} returns null in 2.2

2007-02-02 Thread Grzegorz Kossakowski
Grzegorz Kossakowski napisał(a): > >> To get the mountPath, it is better to use the blockPath module e.g. >> {block-path:ajax} (assuming that the cocoon-ajax-impl service servlet >> is connected at the name ajax in the Spring config). You can also use >> the service protocol inside the pipeline: >>

Re: ${cocoon.request.contextPath} returns null in 2.2

2007-01-29 Thread Grzegorz Kossakowski
Daniel Fagerstrom napisał(a): You don't get that part, which show that there is a problem with my design. I probably mounted the dispatcher servlet at "/*" while developing the stuff :/ Thinking a little bit more about it, it would probably better to let the servlet path of the dispatcher servl

Re: ${cocoon.request.contextPath} returns null in 2.2

2007-01-29 Thread Daniel Fagerstrom
Grzegorz Kossakowski skrev: Daniel Fagerstrom napisał(a): Daniel Fagerstrom skrev: Grzegorz Kossakowski wrote: Hello, I'm hacking now ajax and forms block to get them use of servlet-services and came across a bug. When you put ${cocoon.request.contextPath} into JX template it w

Re: ${cocoon.request.contextPath} returns null in 2.2

2007-01-29 Thread Grzegorz Kossakowski
Daniel Fagerstrom napisał(a): > Daniel Fagerstrom skrev: >> Grzegorz Kossakowski wrote: >>> Hello, >>> >>> I'm hacking now ajax and forms block to get them use of >>> servlet-services >>> and came across a bug. When you put ${cocoon.request.contextPath} into >>> JX template it will always return nu

Re: ${cocoon.request.contextPath} returns null in 2.2

2007-01-29 Thread Daniel Fagerstrom
Daniel Fagerstrom skrev: Grzegorz Kossakowski wrote: Hello, I'm hacking now ajax and forms block to get them use of servlet-services and came across a bug. When you put ${cocoon.request.contextPath} into JX template it will always return null (at least while using servlet dispatcher). However,

Re: ${cocoon.request.contextPath} returns null in 2.2

2007-01-28 Thread Daniel Fagerstrom
Grzegorz Kossakowski wrote: Hello, I'm hacking now ajax and forms block to get them use of servlet-services and came across a bug. When you put ${cocoon.request.contextPath} into JX template it will always return null (at least while using servlet dispatcher). However, ${cocoon.request.requestUR

${cocoon.request.contextPath} returns null in 2.2

2007-01-27 Thread Grzegorz Kossakowski
Hello, I'm hacking now ajax and forms block to get them use of servlet-services and came across a bug. When you put ${cocoon.request.contextPath} into JX template it will always return null (at least while using servlet dispatcher). However, ${cocoon.request.requestURI} returns valid value, so it