Re: [Actionframework-users] Error in 0.94beta ?
Status: Inactive
Brought to you by:
ptoman
From: <bm...@ho...> - 2003-01-09 15:37:43
|
the only error I found in the log is that one: Thu Jan 09 16:24:33 CET 2003 [error] ActionServlet ERROR [9649099] Conversion error occurred when handling action '/' (request type='http.get') - field: 'nDay' the component looks something like this: <component name="Presentacion" class="Presentacion" persistence="application"> <action name="/" method="dummy(int nDay)"> <input-variable name="nDay" value="0" if="!$nDay|| ($nDay!= "0" && $nDay!= "1" && $nDay!= "2")" /> ..... </action> </component> pd: another curious thing I found is that if I change the action config(I put a new line for example) I get that error instead of the previous one: More than one component of <class> name 'Configuracion' defined in ActionConfig although there is only one component called Configuracion that uses that class thx in advance ----- Original Message ----- From: "Petr Toman" <Pet...@pi...> To: <act...@li...> Sent: Thursday, January 09, 2003 11:48 AM Subject: Re: [Actionframework-users] Error in 0.94beta ? > > hi, I have recently updated to the 0.94beta version and have found the > > following problem: > > I have an action that requires some parameters, so I put inside the > > <action> node an input-variable in case there werent sent any parameter > > by the user, > > like for example: <input-variable name="nDay" value="0" if="!$nDay"> > > With the older version it worked fine, but now I get that error: > > org.actionframework.MissingParameterException: Parameter 'nDay' not > > defined > > Is that <input-variable> evaluated for <action>? Look into the log, > there should be a message like "<input-variable> $nDay" not evaluated > - 'if' condition is false". > > -Petr > [ http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=22957959 ] > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Actionframework-users mailing list > Act...@li... > https://lists.sourceforge.net/lists/listinfo/actionframework-users > > |