Hi everybody,
My cocoon application runs in a tomcat container. The tomcat manages the
authentication for the url of my application (a container based
authentication). So now: I don't use the authentication framework. How
can I access session attributes like username, ... ?
Thanx for any
I have not found anything useful for my specific problem, yet.
I tried: {session:username},{session:user} and {session:getAttribute(.,
'username')}
can't anybody help?
Can I use the sessionhandlerimpl for my problem?
Johannes Hoechstaedter schrieb:
Hi everybody,
My cocoon application runs
In cocoon-2.2 I had to add this:
filter
filter-namespringRequestContextFilter/filter-name
filter-classorg.springframework.web.filter.RequestContextFilter/
filter-class
/filter
filter-mapping
Thanks Barbara, very good work.
The feature can be used in the sitemap by
map:parameter name=username value={request:remoteUser}/
cheers
Barbara Slupik schrieb:
In cocoon-2.2 I had to add this:
filter
filter-namespringRequestContextFilter/filter-name
Hi all,
I can't seem to retrieve the css file (myDemo.css). Anybody who could
give me a hint about what's wrong with my current configuration?
When I take a look at the generated html page, the source looks OK to
me.
?xml version=1.0 encoding=UTF-8?!DOCTYPE html PUBLIC -//W3C//DTD
Hi Robby,
You have to add a matcher in your sitemap to serve the CSS (with a
reader). If you request in your browser resource/external/css/myDemo.css
(relative from the URI of the page) you probably get an error No
pipeline matches request.
Regards,
Jasha Joachimsthal
www.onehippo.com
Hi Robby,
I bet you have to adjust the path:
try: ../resource/external/css/myDemo.css or anything.
Robby Pelssers schrieb:
Hi all,
I can’t seem to retrieve the css file (myDemo.css). Anybody who could
give me a hint about what’s wrong with my current configuration?
When I take a look at
Hi Joachim,
I would expect the pipeline below to match the request for the css file.
What is wrong with this assumption?
map:pipeline id=external-resource
map:match pattern=resource/external/css/myDemo.css
map:read src=resource/external/css/myDemo.css/
/map:match
I once had the similar problem.
See http://www.mail-archive.com/users@cocoon.apache.org/msg42286.html
Robby Pelssers schrieb:
Hi Joachim,
I would expect the pipeline below to match the request for the css
file. What is wrong with this assumption?
map:pipeline id=external-resource
Your reference to the CSS is relative to the request URI of the page. If
the request URI for the page is /foo/bar/page.html your browser will
attempt to request the CSS on /foo/bar/resource/external/css/myDemo.css.
This may not be matched in your sitemap.
Jasha
Jasha wrote:
Your reference to the CSS is relative to the request URI of the page.
If the request URI for the page is /foo/bar/page.html your browser
will attempt to request the CSS on
/foo/bar/resource/external/css/myDemo.css. This may not be matched in
your sitemap.
That's right and of
Hi,
when I serialize my output into html, cocoon produces well readable html
source code. But when I switch to xhtml, then it puts everything in one
line. Is this changeable?
cheers,
Johannes
-
To unsubscribe, e-mail:
Hi Johannes,
Which class is used for the XHTML serialization (it's in
map:components/map:serializers)?
Jasha Joachimsthal
www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
94952-3329 +1
There are no serializers.
Jasha Joachimsthal schrieb:
Hi Johannes,
Which class is used for the XHTML serialization (it's in
map:components/map:serializers)?
Jasha Joachimsthal
www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466
San Francisco - Hippo USA
How do I specify the operating mode when running cocoon under Tomcat?
I have a webapp that I built and tested with jetty.
It has some changes to core.properties file in:
src\main\resources\META_INF\cocoon\properties\dev\core.properties
I set the mode to dev in the POM for the
Hi Hugh,
you can set the system property org.apache.cocoon.mode while startup
-Dorg.apache.cocoon.mode=prod
Regards,
Mike
Am Mittwoch, den 25.06.2008, 01:30 +0200 schrieb Hugh Sparks:
org.apache.cocoon.mode
-
To
I hope this will make the day for a few people :)
http://www.lucamorandini.it/fins/faq.html
Luca Morandini
www.lucamorandini.it
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
17 matches
Mail list logo