I'm trying to do something similair to the example given in http://struts.apache.org/2.x/docs/iterator.html where I'm trying to pass each iterator value to an action. I'm using Struts 2.0.18 and the Convention plugin.
I know that assigning value="value" is confusing, but this is from the middle of page where I'm iterating over a set of MapEntry instances! value is a list of BBParameter instances. <s:iterator value="value" var="param" status="parameter"> <s:action name="display-template!getDisplayClass"> <s:param name="parameterForClass" value="[0]"/> </s:action> but I get an error no such method DisplayTemplate.setParameterForClass([Ljava.lang.String;) when my method in DisplayTemplate is expecting an instance of BBParameter (setParamaterForClass(BBParameter parm). I've reviewed the example above but I don't really understand it, particularly the reference to <s:push value="..."> - what on earth is this doing? Could someone point me in the right direction so that I get an instance of the BBParameter class passed into my action please Regards -- View this message in context: http://old.nabble.com/Iterator-help-needed-tp27403038p27403038.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org