gwt template mechanism

60 views
Skip to first unread message

CF

unread,
Jul 11, 2012, 1:29:09 PM7/11/12
to google-we...@googlegroups.com
Hi all,

Is there a templating mechanism that is typically used in GWT?  I am asked to produce one, similar to how JSP does it (http://java.sun.com/developer/technicalArticles/javaserverpages/jsp_templates/) for a GWT project.  Links to examples or tutorials would be great.

Thanks

Joseph Lust

unread,
Jul 11, 2012, 2:20:13 PM7/11/12
to google-we...@googlegroups.com

CF

unread,
Jul 11, 2012, 2:31:05 PM7/11/12
to google-we...@googlegroups.com
Thanks.  So just making sure I understand, I can just swap in the panel that I want for content?  Is there a benefit to using UiBinder?  

On Wednesday, July 11, 2012 11:20:13 AM UTC-7, Joseph Lust wrote:
Yes.  https://developers.google.com/web-toolkit/doc/latest/DevGuideUiPanels


Sincerely,
Joseph

Joseph Lust

unread,
Jul 11, 2012, 7:09:36 PM7/11/12
to google-we...@googlegroups.com
Essentially yes. The plus of using UiBinder is that you can keep the HTML/UI markup in a separate file in nearly the same HTML format that it will be rendered as, and keep the logic in a Java class. It is a cleaner/easier way to work with UI's.


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