struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aadithya Deshpande <a...@clubmom-inc.com>
Subject form-bean and set-property tags
Date Tue, 17 Dec 2002 18:40:28 GMT
Hi,

I have a question regarding form-bean and set-property tags that I hope
someone can answer.
I've looked on the mailing list archives and the faq to no avail.

I have a form bean specified in my struts-config file as such:

	<form-bean name="customListForm"
type="com.clubmom.MyCustomListForm">
		<set-property property="size" value="5"/>
	</form-bean>

According to the DTD spec, that is considered valid xml.

MyCustomList form is subclassed from DynaActionForm.
and it has a setSize() and getSize() method, but it doesn't seem to be
called.

How can I read in the property size?

Thanks for any help,

Aadi


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message