[code]
<g:DialogBox ui:field="dialogBox" text="Remote Procedure Call">
<g:VerticalPanel
styleName="{style.important}"
animationEnabled="true"
horizontalAlignment="ALIGN_RIGHT"
>
<g:Label>Sending name to the server:</g:Label>
<g:Label ui:field="textToServerLabel"/>
<g:Label>Server replies:</g:Label>
<g:HTML ui:field="serverResponseLabel"/>
<g:Button ui:field="close" text="Close"/>
</g:VerticalPanel>
</g:DialogBox>
[/code]
But GWT complains about unrecognised text in g:VerticalPanel about
these three attributes.
styleName="{style.important}"
animationEnabled="true"
horizontalAlignment="ALIGN_RIGHT"
The example ran successfully after I removed those three lines.
OK, how then do set style, animation and alignment in
g:VerticalPanel??
No, no, no ... not in the Java code, phleaze. Don't want to write
extra code to connect uibinder elements to set methods of GWT widgets.
Otherwise, what's the point in using UIBinder? It would be so much
less tedious using plain old GWT.
Where's the manual for UIBinder indicating/explaining all the usable
attributes in each corresponding GWT widget.
I moved stylename and animation to dialogbox from verticalpanel. It
works. Sorry for the confusion.
OK! UI Binder is Gwwweat!
Perhaps, much better than JavaFx or Silverlight (i.e., any plans for a
desktop non-servlet version of UIBinder?)
What are the plans for GWT and UIBinder for exploiting html5?
Any chance you can give a larger snippet of how you're referencing the
dialog? Or maybe a working example?
Thanks,
Brian
On Jan 31, 5:13 am, Blessed Geek <blessedg...@gmail.com> wrote:
> Never mind!
>
> I moved stylename and animation todialogboxfrom verticalpanel. It
http://h2g2java.blessedgeek.com/2010/02/tutorial-gwt-rpc-stub-modified-with.html
Brian
On Feb 12, 8:15 am, Blessed Geek <blessedg...@gmail.com> wrote:
> I have a rather complete explanation here.
>
> http://h2g2java.blessedgeek.com/2010/02/tutorial-gwt-rpc-stub-modifie...