DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20249>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20249 When using digester rules xml file, digester connot assign date, int or foalt setter fields type to a bean. [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID Summary|When using digester rules |When using digester rules |xml file, digester connot |xml file, digester connot |assign date, int or foalt |assign date, int or foalt |setter fields type to a |setter fields type to a |bean. |bean. ------- Additional Comments From [EMAIL PROTECTED] 2003-08-16 23:23 ------- When you use the <call-method-rule> as you are doing, Digester assumes that the parameter type expected by the method is a String. Therefore, to call a method that expects a different type, you have to indicate the expected type. For example, you should change your rule for "setId" to be like this: <call-method-rule pattern="id" methodname="setId" paramcount="0" paramtypes="java.lang.Long.TYPE"/> See the Javadocs for CallMethodRule for more information about parameter types. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
