Hi
I have got the behaviour I want by extending the CallMethodRule as per the
code below (basically setting the bodyText to the element name). Then
configuring it as
digester.addCallMethod("FXTRADE/sale_ccy", "addCurrencyMapping", 2);
digester.addCallParam("FXTRADE/sale_ccy", 0);
digester.addRule("FXTRADE/sale_ccy", new ElementNameParamRule(1))
;
My question is really given my two days experience of Digester, Is this a
sensible solution.
maybe not the most elegant solution (still not bad given only two days of digester) but i think that it'd probably work fine.
- robert
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
