Make the attributes be a reference to the ones used in the Page class. That way you can setup a view before setting attributes in the page action.