Declare onclick events in the view.xml