Hi, you've reached the website of Mark Menard, Freemason, developer, businessman, photographer, motorcyclist and all around nice guy.
The main joy in my life is Sylva, my loving partner and friend. (You will see plenty of pictures of her. Also check out our site.) My professonal career is running a consulting firm concentrating on business automation and custom software. I enjoy software development, motorcycles, photography, dancing, freemasonry and travel.
Here you will find galleries of my latest photos, thoughts on software development, freemasonry, the occassional politics, and other things. Enjoy your time here.
Mark
An ongoing photographic study of Freemasonry.
To contact Mark send an email to mark@mjm.net. You will receive an auto response from my mail server to verify you're not a spammer.
© Mark Menard 2002-2007
nested components
Hi,
I had exactly the same need as you. I found nothing consistent on nested content for Struts UI tags. It's a shame. So I used the "param" tag to embed the nested content, like this :
button-bar.ftl :
<div class="button-bar"> <div class="buttonBarContainer"> ${parameters.body?if_exists?html} </div> </div>example.jsp :
<s:component template="button-bar.ftl"> <s:param name="body"> <s:submit name="create" type="button" label="commons.action.create" /> </s:param> </s:component>