cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beyaNet Consultancy <>
Subject Pipeline parameters
Date Sun, 18 Jan 2004 11:08:48 GMT
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">
				<td align="right">User:</td>
				<td align="left"><input type="text" name="user" /></td>

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" />



View raw message