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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33630





------- Additional Comments From [EMAIL PROTECTED]  2005-05-12 09:39 -------
Created an attachment (id=15006)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15006&action=view)
building_controller.xml.patch

Niall, thx for the clarification - wasn't aware the the long validator even
expects String as input.
I suggest to add a little bit more on this to the user-guide as per the
attached.
Also thx for the hint that one can register own converters - I guess this would
work as follows
      Long defaultLong = new Long((long) 0);
                  BeanUtilsBean.getInstance().getConvertUtils().register(
                          Long.TYPE,
                          new YourAdaptedLongConverter(defaultLong));
                  BeanUtilsBean.getInstance().getConvertUtils().register(
                          Long.class, 
                          new YourAdaptedLongConverter(defaultLong));
and could be executed in a servlet init()?

see also RFE Bug 34886

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to