abstract render,add global config data to view