Execute an action from within a view