access map's value in object stack

2010-05-12 Thread yunaki
i have a Map in object stack, struts can use s:property tag to access each member, but how can I access map's value to set it to a tag's value. s:iterator value=map s:property/ // that work well s:textfield value=???/ //set map's value to textfield s/iterator Many thank -- View

Re: access map's value in object stack

2010-05-12 Thread stanlick
Maps expose an Entry element containing properties key and value. s:iterator value=map varrow s:property/ // that work well s:textfield value=row.value.color/ // this would call getColor() on the value object associated with key s/iterator Peace, Scott On Wed, May 12, 2010 at 3:55