veil.widget.createResource: switch order between dataType and data