cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beyaNet Consultancy <beya...@ntlworld.com>
Subject Pipeline parameters
Date Sun, 18 Jan 2004 11:08:48 GMT
Hi,
I want to pass some parameters from a form into an action and am doing 
so via the following procedure, but with no joy. could you please tell 
where i am going wrong:?

1. form

		<form action="userDetails" method="post">
		
			<table>
			<tr>
				<td align="right">User:</td>
				<td align="left"><input type="text" name="user" /></td>
			</tr>

2. pipeline

			<map:match pattern="testpage">
				<map:act type="get-detail2">
				    <map:parameter name="user" value="{1}" />

3. Action

String userName = param.getParameter("user");


If I hardcode the value into the form then it works fine:

<map:parameter name="user" value="x1234" />

regards


Andrew



	
Mime
View raw message