Monday, January 19, 2015

Re: Wrapping HTML into UIBinder

Yes, you can have your html inside an HTMLPanel.

answering your other questions...

- For event handling, look at the @UiHandler annotation for adding handlers, usually apply to GWT Widgets. You can also use gwtquery (JQuery clone, not wrapper) to add handlers to any html element (see this for UiBinder: http://www.gwtproject.org/doc/latest/DevGuideUiBinder.html#Simple_binding, search gquery docs the gquery approach). Or simply use JSNI to add handlers.
- Yes, expect same output as html prototype. One difference you might see will depend on the container panel/element that wil display your HTMLPanel. You can always adjust/change that.
- Yes, except for the handlers as mentioned above, and the optimizations done to CSS attributes.
- No (with GWT it will be faster because of the CSS and other optimizations optimizations)
- Yes, you can wrap JQuery... , but you might want to use gquery instead.

On Friday, January 16, 2015 at 5:38:28 AM UTC-5, Mohammed Sameen wrote:
Any Suggestion on this?

On Wednesday, January 14, 2015 at 7:30:03 PM UTC+5:30, Mohammed Sameen wrote:
Hi Folks,
  I am using GWT 2.6 to develop my web application.Since i am getting the HTML prototype from UX/UI designer can i wrap the html directly into uibinder in GWT?
  • Is so,then how to write event handler or validation for the component?
  • Can i expect the same output (as looking in HTML prototype)?
  • Generated code will be match exactly as looking in HTML,Is this Possible using UIBinder Approch?
  • Is there any performance Issue?
  • some time HTML Prototype will internally having jquery component,Can i wrap JQuery in GWT using UIBinder Approach?
Please give me your valuable suggestion?Thanks in advance?
  
  
  

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment