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
Maybe another way?
I have not tried this, but reading this http://struts.apache.org/2.x/docs/type-conversion.html, I think the implication is that you should be able live without myEntitiesMap
You need a file called: EditMyEntitiesAction-conversion.properties with content
KeyProperty_myEntities=id
Element_myEntities=MyEntity
CreateIfNull_myEntities=false
Then you can use:
<s:iterator value="myEntities">
<s:textfield name="myEntities(%{id}).value" value="%{value}" />
</s:iterator>
Although whether it *actually* works is TBD
Tim Azzopardi
PS there is a full example of this at http://forums.opensymphony.com/thread.jspa?threadID=50841&tstart=0 towards the end.
(although it looks like the technique may have issues)