This is the only place where `controller` is used, and only to read `allowRangeValues`.
In my opinion, it makes more sense to make `allowRangeValues` a property of the resource handler rather than a property of the widget.
In any case, for [modularity](http://en.wikipedia.org/wiki/Modularity_%28programming%29), the reference to the controller should not be passed to the resource handler.