Hello,

The problem: If I use a DynaActionForm like the following:

      <form-bean      name="parcelSearchForm"
                      dynamic="true"
                      type="org.apache.struts.action.DynaActionForm">
          <form-property name="parcelType"   type="java.lang.String"/>
          <form-property name="parcelTypeList"
type="java.util.Collection"/>
      </form-bean>

and the use its properties in a optionsCollection HTML Tag

<html:select property="parcelType" size="1">
        <html:optionsCollection property="parcelTypeList"
label="description" value="id"/>
</html:select>

I get the following Error:
javax.servlet.jsp.JspException: Failed to obtain specified collection
        at
org.apache.struts.taglib.html.OptionsCollectionTag.doStartTag(OptionsCollect
ionTag.java:233)
        at
jsp_servlet._content.__parcelsearch._jspService(__parcelsearch.java:420)

It all works fine if I use a normal Form class.

Any idea? Thanks

Andreas.

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

Reply via email to