add id generator and pool
set instance and viewcontext attribute
add 2 config items, and modify getControlByDom
revise syntax error