struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel França Campolina <gabrie...@gmail.com>
Subject How I extends a DynaValidator
Date Fri, 24 Sep 2004 13:59:36 GMT
Hi,
I have a problem, I'd like extends a DynaValidator but I  can't.
Look the form-beans in my struts-config.xml:
...
...
...
<form-beans>
   <form-bean name="baseForm"
              type="org.apache.struts.validator.DynaValidatorForm">
     <form-property name="method" type="java.lang.String"/>
   </form-bean>

   <form-bean name="productForm"
              type="org.apache.struts.validator.DynaValidatorForm"
              extends="baseForm">
     <form-property name="name" type="java.lang.String"/>
     <form-property name="price" type="java.lang.Double"/>
   </form-bean>

</form-beans>
...
...
...

What is wrong?
When I start the tomcat this alert about: The attribuite extends
require a form-bean.

-- 
Gabriel França Campolina
Tel: 9202-8320

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message