Re: [Actionframework-users] parameter passing bug
Status: Inactive
Brought to you by:
ptoman
From: Petr T. <Pet...@pi...> - 2003-04-14 17:01:52
|
> I think there is a bug in parameter passing routines. I found it when I > tried to use both regexp parameters and ordinary URL parameters together > (IMHO this is very useful combination..). You are right that a combination of HTTP, regex params and <in-var> causes this bug. There is a fix in the attachment - just replace the processInVars() method in Action.java (under 'src' directory) and run: ant clean ant in ActionServlet root directory - this should rebuild ActionServet.jar. > One more strange thing: If I change variable types in previous example to > long from Integer, I get: > org.actionframework.ConversionException: No type handler for conversion > from 'java.lang.Integer' to 'long' > when <input-variable> tag is used. When I comment it out, type conversion > works fine. I tried this with the fixed version and it seems to be ok now. Please let me know if you have more problems. Thank you for a good analysis and bug report! :) Petr -- [ http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=22957959 ] |