From: "Matt Bathje" <[EMAIL PROTECTED]>
What do you mean by "must be there for a reason"? As far as I know, a form property can be any class type that you want it to be.
Sorry, I think only in terms of dynamic forms, and there is a list of allowed field types: http://struts.apache.org/userGuide/building_controller.html#dyna_action_form_classes
Ahh yes, I do remember reading that at some point. The reason I have forgotten about it is that I do things like:
<form-property name="thumbnail" type="org.apache.struts.upload.FormFile" />
Or even: <form-property name="thumbnail" type="com.ntso.struts.MyVeryOwnObject[]" />
which both work fine for me under DynaValidatorForm and DynaValidatorActionForm (and are not considered taboo like using Integer afaik)
There had to be a reason that Integer made it on the list, I just wondered why.
I have a feeling that list is a holdover from the old-timey days of struts, and is since outdated/invalid. Unfortunately I don't have time to take a look at the code and figure out what is going on for sure. (And possibly fix that passage...)
Matt
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]