이 블로그 검색

2012년 1월 28일 토요일

@UiField(provided = true)

@UiField(provided = true)
 : UiBinder.createAndBindUi()호출 전에 해당하는 위젯을 new로 생성해서 설정해 놓을 수 있다.
   false로 해 놓으면 UiBinder.createAndBindUi()호출 전에 new로 생성해 놓더라도 반영되지 않는다.
   true로 해 놓고 위젯을 초기화 해 놓지 않으면  UiBinder.createAndBindUi()호출 시 null에러 남

If true, the field must be filled before UiBinder.createAndBindUi is called. If false, UiBinder.createAndBindUi will fill the field, usually by calling com.google.gwt.core.client.GWT.create.

댓글 없음:

댓글 쓰기