Hi
I was wondering how I can use "context://" or something similar to pick up value for my parameter from my sub-sitemap folder rather than from servlet. I want map:parameter to pick up getMethod.xml from folder that has it's own sub-sitemap. If I give only "xml/getMethod.xml" it doesn't find the file and if I give context:// it looks in cocoon/xml/getMethod.xml. A part of my sub-sitemap looks like this
<map:match pattern="discardToken">
<map:act type="database-auth-action">
<map:parameter name="descriptor" value="context://xml/getMethod.xml"/>
<map:generate src="xsp/invalidAuth.xsp" type="serverpages"/>
<map:serialize mime-type="text/xml" type="xml"/>
</map:act>
<map:generate src="xsp/invalidAuth.xsp" type="serverpages"/>
<map:serialize mime-type="text/xml" type="xml"/>
</map:match>
Sushil
Chat with friends online, try MSN Messenger: Click Here
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting.