support for setting behaviors in view.