I finally got it to display, no problem, however there is an error
when I submit:
java.lang.NullPointerException
org.apache.commons.beanutils.PropertyUtils.getIndexedProperty
Here is what I got so far.
Struts Version 1.2.4.
My FormActionForm includes an ArrayList fields of Bean Field.
FormActionForm:
public ArrayList getFields() {
return fields;
}
public void setFields(ArrayList fields) {
this.fields = fields;
}
....................................................
Field
private String label;
private String name;
private String value;
private String type;
... with all getters and setters ..........
.......................................................................................
JSP (displays no problem!!):
<logic-el:iterate name="formActionForm" property="fields" id="foo"
indexId="ctr">
<tr>
<td><html-el:text property='<%= "fields[" + ctr + "].label" %>' /></td>
<td><html-el:text property='<%= "fields[" + ctr + "].value" %>' /></td>
<td><html-el:checkbox property='<%= "fields[" + ctr + "].required" %>' /></td>
</tr>
</logic-el:iterate>
Hit the wall here, big time.
Thanks,
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]