How do I specify the FormBean in the <iterate> name property?

I have DynaActionForm, with a List property (myList),
I populate it in my Action with a bunch of beans that have a get & setTag()
method.

This is in my <html:form>

<logic:iterate id="cols" indexId="ctr" name="????">
    <html:checkbox name="cols" property='<%= "myList["+ctr+"].tag" %>'
value="ON" />
</logic:iterate>

How do I specify the FormBean in the iterate name property?

Or why else do I get this exception:
java.lang.NullPointerException
        at java.util.Hashtable.get(Hashtable.java:326)
        at
org.apache.jasper.runtime.PageContextImpl.findAttribute(PageContextImpl.java
:302)
        at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:787)
        ...
TIA
--
Mike W


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to