Re: [Actionframework-users] Problems sending input parameters
Status: Inactive
Brought to you by:
ptoman
From: Petr T. <Pet...@pi...> - 2003-01-15 19:12:16
|
> <action name="/votar/$seccion/$nombre" > method="addVote(String seccion, String nombre, int opcion)"> > <input-variable name="opcion" value="0" if="!$opcion" /> > </action> > > GET /votaciones/votar/a/b/?opcion=1 > GET /votaciones/votar/a/b/?opcion=2 > > 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>. This is true. If regex action is used, values of ?parameters are not retrieved. We can change this behaviour for next release, if you like. -Petr -- [ http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=22957959 ] |