I see.  I guess it isn't too much trouble providing some of the default
conversions, but I'm not someone who can make that call :).

--- Chris Miller <[EMAIL PROTECTED]> wrote:
> Hi Cuong,
> 
> Yes I have, however I'm trying to avoid property-editors where possible. I
> think it's overkill (and a bit ugly) to have to create a (potentially quite
> large) BeanInfo class for every action that I want to pass an Integer in to,
> given that I don't need to do any special validation on that field. I just
> need to ensure it is either null or a valid integer - new Integer(String)
> can handle that easily enough, and to me sounds like a sensible default
> behaviour for WW to implement. [My action ends up calling a session EJB
> which will complain if there is a problem with the data, so property-editor
> validation isn't really useful for me in this case]
> 
> It seems to me that it would be nice for WebWork to provide a default
> conversion automatically in base cases like this. Thoughts?
> 
> 
> >FROM: Cuong Tran
> >DATE: 02/22/2002 15:54:12
> >SUBJECT: RE:  [Webwork-user] Integer properties
> 
> > Have you looked at the examples?
> 
> >Like  webwork.action.test.bank.AmountEditor class.
> 
> _______________________________________________
> Webwork-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webwork-user


=====
Cuong Q. Tran <[EMAIL PROTECTED]>

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to