set focus on input field when choosing GWT, code or data type error in init