a problem ablout uifield

9 views
Skip to first unread message

wahaha

unread,
Oct 13, 2011, 5:54:57 AM10/13/11
to Google Web Toolkit
in java code,there is a field:
---------------------------------------------
@UiField
CssStyle style;
---------------------------------------------
but in ui.xml,there do not hava a tag which have a attibute
"ui:field=style".
i wonder how does the field come?

Thomas Broyer

unread,
Oct 13, 2011, 6:41:55 AM10/13/11
to google-we...@googlegroups.com
A <ui:style> without an explicit ui:field has a default name of "style". This is what allows you to reference your styles using {style.foo} in the ui.xml.
Reply all
Reply to author
Forward
0 new messages