can put id in the <ui:style>?

37 views
Skip to first unread message

Senyuan, Wang

unread,
Aug 17, 2012, 4:13:02 AM8/17/12
to google-we...@googlegroups.com
Hi, I have a question that can we put some id, like #id {...} just like the normal css in the <ui:style>, and refer it in the ui binder xml file?

Joseph Lust

unread,
Aug 17, 2012, 10:15:07 AM8/17/12
to google-we...@googlegroups.com
You shouldn't use id's in GWT widgets as a general principle. It might compile today, but is expected to be deprecated in the near future. Why can't you use a classname?


Sincerely,
Joseph
Reply all
Reply to author
Forward
0 new messages