In main the main samples sitemap you have this fragment
<map:match pattern="status.html">
<map:generate src="status" type="status"/>
<map:transform src="context://stylesheets/system/status2html.xslt">
<map:parameter name="contextPath" value="{request:contextPath}"/>
</map:transform>
<map:serialize/>
</map:match>
which apparently asks for the status (src="status") and then formats it
with
stylesheets/system/status2html.xslt
which appears to be
C:\tomcat\webapps\cocoon\stylesheets\system/status2html.xslt
I hope that this helps.
Newbie helping newbie
Ron
Antony Grinyer wrote:
Ahh, found it thanks (bare with a Cocoon newbie here) Still doesn't show
how I invoke a servlet in the sitemap though :-( Sorry for being dumb.
Thanks
AG
-----Original Message-----
From: Upayavira [mailto:[EMAIL PROTECTED]
Sent: 02 August 2005 02:37 pm
To: [email protected]
Subject: Re: Simple question
Antony Grinyer wrote:
Just had a look in Cocoon 2.1.7 - doesn't seem to have the
status.html
example?
http://localhost:8888/samples/status.html works for me. Go to
http://localhost:8888, click on samples, then, in the middle,
on the right, you'll see System Tools and Pages. Beneath that
is status page.
Have you built Cocoon with samples included?
Upayavira
-----Original Message-----
From: Ron Wheeler [mailto:[EMAIL PROTECTED]
Sent: 02 August 2005 01:53 pm
To: [email protected]
Subject: Re: Simple question
Is there an example in the samples that gets this type of
information
anddisplays it?
http://localhost:8080/cocoon/samples/status.html
Antony Grinyer wrote:
Hi Upayavira,
Thanks for replying. I simply want to invoke a servlet which
lists lots
of debug information about our current environment (e.g.
application
context and DB related configs). It's just a starter to
ensure all the
expected environment parameters are correct.
Thanks,
AG
-----Original Message-----
From: Upayavira [mailto:[EMAIL PROTECTED]
Sent: 02 August 2005 01:31 pm
To: [email protected]
Subject: Re: Simple question
Antony Grinyer wrote:
Hi All,
Being relatively new to Cocoon can I ask a simple question
- how do
you simply invoke a java class in a Cocoon pipeline without
having to
generate, transform, etc. any XML? Is it just an action?
Thanks in advance :)
What part do you want this java invocation to play in the
pipeline?
There are a number of ways you can do it, but it depends
upon what
you're trying to do. Can you give us a bit more of your use case?
Regards, Upayavira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]