--- Sgarlata Matt <[EMAIL PROTECTED]> wrote:
> >> Casting to String gets to be quite painful with many form properties.
> 
> >> Unless I've forgotten/missed an easier way of dealing with
> >> DynaActionForms, I propose we add a
> DynaActionForm.getAsString(String)
> >> method that does this casting for us.
> 
> This is a minor point, but how about DynaActionForm.getString(String) 
> instead?  

I like your name better :-).

> This would be consistent with naming conventions in 
> java.sql.ResultSet (I can't think of other places with convenience 
> methods like this off the top of my head).  Also, following along in the
> 
> java.sql.ResultSet thinking, would you also have getters for the other 
> wrappers around primitives and the Date and Calendar objects?  This 
> might just clutter the interface... I wouldn't ever personally use them 
> in my app because almost every form property is a String.

Well, I thought we could start small with the String and take it from
there.  My form properties are all Strings so that's why my suggestion was
aimed in that direction.

David

> 
> Matt
> 
> >>
> >> Thoughts?
> >>
> >> David
> >>
> >> __________________________________
> >> Do you Yahoo!?
> >> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> >> http://sitebuilder.yahoo.com
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

Reply via email to