You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Joseph Milora <jo...@cox.net> on 2003/03/24 22:12:50 UTC
jelly - setting the same property with different tags
Hi,
I'm just getting started with Jelly and wondering how to set the same property with different tags.
For example, if I have a class with the following method
addAction(Action action)
and I have several classes implementing the Action interface.
What I need then is:
<bean:actionContainer>
<actionImp attributes>
<anotherActionImp attributes>
</bean:actionContainer>
with each inner tag resulting in the same call to addAction, only with a different action implementation.
Thanks in advance,
Joe Milora