On Thursday 09 December 2004 14:28, Wendy Smoak wrote: > From: "aris" <[EMAIL PROTECTED]> > > > > Use String (and occasionally Boolean) for form fields and things will > > work > > > > the way you need them to. > > > > I don't understand your answer... If I need an Integer field for my > > ActionForm derived class why I've to use a String? > > What happens when somebody types "ABCDE" into your Integer field on the > form, and it fails validation? Can you re-display the incorrect user input > so they can see what they typed and why it was wrong?
Or more concisely, because HTML only has string types. -- derek --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]