Greetings gentlemen/women/person,

I've been having some difficultied using the new dyna action form.  I was
able to pre-pupulate the form and display it but when I try to re-submit I
get the exception below.    I'm using  Tomcat 4.0.3beta.  The form is in the
request scope although I tried putting it in session scope as well.  I tried
subclassing DynaActionForm and implement serializable.

I just can't seem to get what's causing the IllegalArgumentException to be
thrown.

Thank you....

<form-bean name="classifiedForm" dynamic="true"
type="org.apache.struts.action.DynaActionForm" >
        <form-property name="attribute"
type="com.fdplus.phonebook.Classified"/>
        <form-property name="attributeType" type="java.lang.String"
initial="com.fdplus.phonebook.Classified"/>
        <form-property name="task" type="java.lang.String"/>
</form-bean>

<exception>
java.lang.IllegalArgumentException: No bean specified
           at
org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUti
ls.java:777)
           at
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:619)
           at
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:504)
           at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:973)
           at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.j
ava:795)
           at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:244)
           at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1162)
           at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:472)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
          .....
</exception>


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

Reply via email to