Re: Why do ActionForms allow non-string properties?

2003-05-31 Thread Vic Cekvenich
ActionForms allow non-string properties? Well firstly for dealing with nested forms, collections of nested forms and the like. One also needs to remember that the ActionForm is an object that represents the state of the UI - and depending on what you are doing you may wish to use it for storing information

RE: Why do ActionForms allow non-string properties?

2003-05-31 Thread Mark Galbreath
, 2003 11:55 PM To: Struts Users Mailing List Subject: RE: Why do ActionForms allow non-string properties? Well firstly for dealing with nested forms, collections of nested forms and the like. One also needs to remember that the ActionForm is an object that represents the state of the UI

RE: Why do ActionForms allow non-string properties?

2003-05-31 Thread Raible, Matt
Though, there is still a ton maintenance going on here. We have the properties defined in the HTML form, and the struts-config, and in the validator.xml, and then in some type of corresponding property in the business bean, not to mention the actual data store. So to add a field, we have

Re: Why do ActionForms allow non-string properties?

2003-05-31 Thread Ted Husted
We look forward to your patches =:0) Get them in this morning, and I should be able to apply them tonight. Andrew Hill wrote: Well, I think it a bit restrictive to forbid non-string properties, but I would say that the docs really ought to make it clear that the recommended type for all those

RE: Why do ActionForms allow non-string properties?

2003-05-31 Thread Lynn Guy
Still, there's so much custom stuff (label taglib, javascript pop-up calendars) that I put into forms, I doubt this will ever be possible. It's called a code generator and its already been done in other environments. The trade-off is that you lose some of the really fine control that is so

RE: Why do ActionForms allow non-string properties?

2003-05-31 Thread Brandon Goodin
) objects and using basic flat String based (non-nested) forms. Brandon Goodin -Original Message- From: Lynn Guy [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 10:10 AM To: Struts Users Mailing List Subject: RE: Why do ActionForms allow non-string properties? Still, there's so much

RE: Why do ActionForms allow non-string properties?

2003-05-30 Thread Andrew Hill
Well, I think it a bit restrictive to forbid non-string properties, but I would say that the docs really ought to make it clear that the recommended type for all those properties that directly relate to html controls should be strings. -Original Message- From: Steve Raeburn [mailto:[EMAIL

RE: Why do ActionForms allow non-string properties?

2003-05-30 Thread Steve Raeburn
In what way would it be restrictive? Is there any reason you would need a non-string property (for html input) ? Steve -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: May 29, 2003 11:26 PM To: Struts Users Mailing List Subject: RE: Why do ActionForms allow non

RE: Why do ActionForms allow non-string properties?

2003-05-30 Thread Andrew Hill
) String getCeoSalary() setCeoSalaryBigDecimal(BigDecimal ceoSalary) BigDecimal getCeoSalary() -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: Friday, 30 May 2003 14:40 To: Struts Users Mailing List Subject: RE: Why do ActionForms allow non-string properties? In what

RE: Why do ActionForms allow non-string properties?

2003-05-30 Thread Steve Raeburn
[mailto:[EMAIL PROTECTED] Sent: May 29, 2003 11:55 PM To: Struts Users Mailing List Subject: RE: Why do ActionForms allow non-string properties? Well firstly for dealing with nested forms, collections of nested forms and the like. One also needs to remember that the ActionForm is an object

RE: Why do ActionForms allow non-string properties?

2003-05-30 Thread Mark Galbreath
and expecting a query return with a precision limited to 2. Mark -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 2:55 AM To: Struts Users Mailing List Subject: RE: Why do ActionForms allow non-string properties? Well firstly for dealing with nested

Re: Why do ActionForms allow non-string properties?

2003-05-30 Thread Ted Husted
! Steve -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: May 29, 2003 11:55 PM To: Struts Users Mailing List Subject: RE: Why do ActionForms allow non-string properties? Well firstly for dealing with nested forms, collections of nested forms and the like. One also needs