There is a module called SystemPropertyModule which appears to do what
you want. Just ask it for os.name.
Steve
On 20 Jan 2009, at 01:09, Martin Holmes wrote:
HI folks,
I'm trying to write a Cocoon-2.1-based application which I want to
be completely portable between Tomcats running on
HI Steve,
Do you know how to call this in a sitemap? If I pass this into an XSLT
transformation:
map:parameter name=osName value={system-property:os.name} /
the parameter is empty.
Cheers,
Martin
Stephen Winnall wrote:
There is a module called SystemPropertyModule which appears to do what
2009/1/20 Martin Holmes mhol...@uvic.ca:
HI Steve,
Do you know how to call this in a sitemap? If I pass this into an XSLT
transformation:
map:parameter name=osName value={system-property:os.name} /
the parameter is empty.
That looks reasonable to me. I assume you've got the input module
...@ger.gmane.org] On Behalf Of Martin Holmes
Sent: 20 January 2009 16:49
To: users@cocoon.apache.org
Subject: Re: Determining the host OS
HI Steve,
Do you know how to call this in a sitemap? If I pass this into an XSLT
transformation:
map:parameter name=osName value={system-property:os.name
My mistake here: I'd added it to one matcher, but I was looking for it
in the output of another one. It works just fine!
Thanks indeed.
Cheers,
Martin
Andy Stevens wrote:
2009/1/20 Martin Holmes mhol...@uvic.ca:
HI Steve,
Do you know how to call this in a sitemap? If I pass this into an
] On Behalf Of Martin Holmes
Sent: 20 January 2009 16:49
To: users@cocoon.apache.org
Subject: Re: Determining the host OS
HI Steve,
Do you know how to call this in a sitemap? If I pass this into an XSLT
transformation:
map:parameter name=osName value={system-property:os.name} /
the parameter is empty