commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Beransky" <d...@dembel.org>
Subject Re: [digester] calling method with a constant param
Date Mon, 27 Nov 2006 21:23:32 GMT
On 11/27/06, simon.kitching@xtra.co.nz <simon.kitching@xtra.co.nz> wrote:
> I think the following will achieve what you want:
>  digester.addObjectParam("menus/menu", 0, "parentId"); // pass constant

Great!  I'll give it a try.

> By the way, I would recommend avoiding leading wildcards if you can (ie use menus/menu
rather than */menu).

I do want to use wildcards in this case as the menu elements can be nested.

Thanks
Dmitry

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message