[Actionframework-users] Problems sending input parameters
Status: Inactive
Brought to you by:
ptoman
From: <rp...@ho...> - 2003-01-13 19:08:27
|
Hi, I am having problems sending input parameters by querystring when I have = also input parameters in the pathInfo. My example: <action name=3D"/votar/$seccion/$nombre" method=3D"addVote(String = seccion, String nombre, int opcion)"> <input-variable name=3D"opcion" value=3D"0" if=3D"!$opcion" />=20 <on-return value=3D"OK" show-template=3D"poll.vm"> <output-variable name=3D"seccion" value =3D"$seccion" /> <output-variable name=3D"nombre" value =3D"$nombre" /> <output-variable name=3D"opcion" value=3D"$opcion" /> <output-variable name=3D"Options" component=3D"Presentacion" = value=3D"getOpciones()"/> </on-return> </action> GET /votaciones/votar/a/b/?opcion=3D1 GET /votaciones/votar/a/b/?opcion=3D2 Input variable $opcion is always 0, though $seccion is 'a' and $nombre = is 'b' Apparently two diferents ways to pass input variables are not considered = in the same <action>. Thanks advanced. |