cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JLe <my-own-em...@trashymail.com>
Subject POST parameter in Sitemap
Date Tue, 26 Aug 2008 10:06:50 GMT

Hi Guys,

I have a form in HTML:
==============================================================================
<html>
	<head>
	...
	</head>
	<body>
	...
		<form method="GET" action="matchme/edit" name="GroupOfParts">
			<input value="anything1" name="GroupOfParts" type="radio">anything1<br>
			<input value="thing1" name="GroupOfParts" type="radio">track 1<br>
			<input value="thing2 " name="GroupOfParts" type="radio">track 2<br>
			<input value="Edit" type="submit">
		</form>
	...
	<body>
</html>
===============================================================================

and I match this in the sitemap:

===============================================================================
<map:match pattern="matchme/edit">
	<map:parameter name="GroupOfParts" value="{request-attr:GroupOfParts}"/>

	<map:call function="edit"/>
</map:match>
===============================================================================

as you can see, I tried the request-attr thing, that I found in this
mailing-list, but I would have to enter this Componenten in the sitemap
Components. It this a SELECTOR?

===============================================================================
<map:selector name="set-request-attr"
src="org.apache.cocoon.selection.RequestAttributeSelector"/>
===============================================================================

did not work, is this request-attr thing the RequestAttributeSelector?


Or is there another way of reading a POST parameter in the Sitemap?

Regards, JLEO
-- 
View this message in context: http://www.nabble.com/POST-parameter-in-Sitemap-tp19158771p19158771.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message