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

> Unless I missed something, there is no special set of classes that they
> can be set to. (There is obviously a special set of classes that you
> should not set it to be as it is not best practices though...)

Prevailing wisdom is that you "should not" use anything but String/String[]
(and possibly Boolean).  Yet Integer is allowed, causing me to occasionally
snap at people who use it and then complain that it doesn't work right.

There had to be a reason that Integer made it on the list, I just wondered
why.

-- 
Wendy Smoak


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

Reply via email to