On 7/12/05, Rivka Shisman <[EMAIL PROTECTED]> wrote:
> Hi Craig
> 
> I understand that you did not follow this thread from the beginning.
> As I mentioned before - when working with int, short, byte types - my
> app works fine. I don't get any runtime exception!
> 

If you are not getting an exception in this case (an ActionForm of
type "int", bound to a text field on the input form, and the user
types "1a3"), then you must be doing something other than the simple
description I provided.  Or, you must be violating another important
principle (if the user types "1a3" in an integer field, you should
redisplay the page with an appropriate error message *and* the "1a3"
should be there for the user to fix.

> Is it crucial for the Action Form to have String properties?
> 

Five years of history with Struts (and I should know, since I created
it originally) says "yes" :-)

> Rivka
 
Craig

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

Reply via email to