Re: [Actionframework-users] org.actionframework.MissingParameterException
Status: Inactive
Brought to you by:
ptoman
From: <bm...@ho...> - 2002-11-25 15:25:18
|
well, one member of the developing team where I work found the solution to it(maybe that was the one you were saying): instead of giving to the var an empty string value, we should just give a "null" value: <input-variable name="miniatura" value="null" if="!$miniatura"/> so, there is no necessity of causing an exception. thx for all. ----- Original Message ----- From: "Petr Toman" <cz5...@ti...> To: <act...@li...> Sent: Thursday, November 21, 2002 8:53 PM Subject: Re: [Actionframework-users] org.actionframework.MissingParameterException >well, I found a solution, but I don't think it's the "cleanest" one: >I added the the following tag ><input-variable name="miniatura" value="" if="!$miniatura"/> >so if the input file isnt filled, $miniatura gets a value. I use this solution too. Catching ConversionException by <on-exception> is scheduled for 0.94 (see http://www.actionframework.org/roadmap.html). Petr [ http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=22957959 ] ____________________________________________________________________ Bude se opakovat válka o Prahu? Na čem se v matce měst domluví vládci světa? Jak bude omezen život v Praze? Sledujte http://nato.tiscali.cz! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Actionframework-users mailing list Act...@li... https://lists.sourceforge.net/lists/listinfo/actionframework-users |