You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by robert burrell donkin <ro...@blueyonder.co.uk> on 2002/11/28 20:36:52 UTC
Re: [digester help] How to define a method more than one parameter?
hi
the best way to debug this kind of problem is to turn up the logging level
on digester and beanutils to trace and then examine the stack trace.
(digester uses commons-logging - if you don't know how to do this, then
look at the documentation. if you're running from a container, you might
also find it easier to configure the logging if you run it from the
command line whilst debugging.)
if you can't figure out what's going wrong from the trace, post it up to
the list and people will help you sort it out.
- robert
On Thursday, November 28, 2002, at 07:28 AM, IMCaptor wrote:
> Hello All:
>
> and I want to know how to define a rule larger than two
> parameters
> like this
>
> <call-method-rule pattern="properties/property/"
> methodname="addProperty" paramcount="2" />
>
> <call-param-rule pattern="properties/property/key"
> methodname="addProperty" paramcount="0" />
> <call-param-rule pattern="properties/property/value"
> methodname="addProperty" paramcount="1" />
>
> but i get the error:
>
> Call
> com.gtom.ipass.common.configure.ConnectionFactoryConfigure.addProperty(n
> ull/java.lang.String,null/java.lang.String) ERROR [main]
>
> and the parameter not read into the parameter.
>
>
> Best Regards
> IMCaptor
>
>
> --
> To unsubscribe, e-mail: <mailto:commons-user-unsubscribe@jakarta.apache.
> org>
> For additional commands, e-mail: <mailto:commons-user-help@jakarta.apache.
> org>
>