Friday, September 3, 2010

Re: UIBinder

In the uiBinder wizard there is an option: GwtWidget or Html...
If you write plain html you have to bind with the root element:
<div>
some html
</div>

interface MyBinder extends UiBinder<DivElement, YourWidget> {} 

MyBinder binder = ...;

public YourWidget() {
setElement(binder.createAndBindUi(this));
}

2010/9/3 lalit <lalit.bhatt@gmail.com>
Is there a pure HTML way of handling markups in UIBinder, so that we
can use the pure HTML markups and styles as provided by designers.

The problem I am seeing in converting pure markup into ui.xml is
- The styles has to be wrapped in a curly braces.
- The widget has to be converted into the g tags.

I looked into documentation but not finding any conclusions on that.

thanks in advance

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.




--
Guit: Elegant, beautiful, modular and production ready gwt applications.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment