> Why wouldn't you use regex_field widget or derive your own widget from the
> test widget?
> It would be more correct approach, you try to change the function of
> numeric widget
> and it is bad idea.
I didnt use regex_field because I wanted the interface of numeric and also
its low, high etc functions/
regex_field::value() would return a string thats either an int or date. I
didn't think that's a good idea.
I didn't think about deriving from numeric<int>, and overloading load(). I
think that's a better approach than overloading form::load(). Thanks.
|