DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23355>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23355

DynaActionForm should have getInteger, getBoolean, etc





------- Additional Comments From [EMAIL PROTECTED]  2003-09-23 19:13 -------
My preference instead is to use object types instead of primitives, because the
value "null" is sometimes needed (usually in database access). Too bad we don't
have boxing in Java, yet. 

As for this RFE, my usual DynaActionForms are a combination of Integer, Long,
Booleans and Strings. I'd use Dates, but it gave me some problems, so I chose
Strings instead. I use longs for auto-generated values (there is no big enough
datatype for them :)). 

It would be useful to have more docs/faqs/whatever about this issue, indeed
(most people don't know that there are Converters for a lot of things). 

Maybe number and boolean properties would be useful:
1) getInteger, getIntegers
2) getLong, getLongs
2) getBoolean, getBooleans

On the other hand, maybe the array getters aren't really that useful (at least
to me). Maybe I'll check on this later (I don't have access to CVS at work, :( ).

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

Reply via email to