[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2011-07-25 Thread codesite-noreply

Comment by globall...@gmail.com:

I second that!

For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2010-12-07 Thread codesite-noreply

Comment by kshep92:

I may be a Johnny-come-lately when it come to GWT but coming from a Flex  
background, I REALLY would like to see Google put more into this UiBinding  
thing. Laying out a UI in Flex is so easy and it's the only thing that  
stopping me from coming over to GWT.


I used toe UiBinder once or twice and it was easy enough to understand, but  
hard to get a good flow going. Having full content assist for all the  
attributes of a control that could be set (other than ui:field) would be  
great. Also, having the @UiField generated automatically in the .java file  
would be a nice touch.


Looking at how Flex came from just an SDK to an Eclipse plugin to having an  
IDE based on developing Flex apps, i'd say that if Google did the same  
they'd get a lot more hesitant people (like me) on board quicker.


Note to Google: No shame in following by example if somebody else did it  
right.


I'm really excited about starting to use GWT for all my future web app  
development.


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2010-02-06 Thread codesite-noreply

Comment by t.broyer:

eric.sadou: AFAIK, the DialogBox use case has been fixed so you no longer  
need dygger's workaround (HasWidgetsDialogBox)
The @UiFactory tells UiBinder how to instantiate a widget (DialogBox in  
this case), and dygger made it return 'this' because the owner class is  
already a DialogBox instance. Without the @UiFactory, UiBinder would  
instantiate a new DialogBox or use a @UiField(provided=true) field.



For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2010-02-06 Thread codesite-noreply

Comment by eric.sadou:

Thanks a lot for a so quick answer. My App is ok now. I found other example  
on internet. My PersonalDialogBox is now composite extending (as usual  
example in GWT doc) and i created a normal ui.xml file.

My Ui Binder is UiBinderWidget,PersonalDialogBox now.
In fact, My initial trouble was to use  
initWidget(uiBinder.createAndBindUi(this));

in my constructor ...as i follow doc on GWT website.
But actually i need to remove the initWidget(...) method and just write
uiBinder.createAndBindUi(this);

If somebody could explain when should we have to use it / or not it will be  
greatful.

Anyway i post this solution as maybe it could help.




For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-12-13 Thread codesite-noreply
Comment by rj...@google.com:

@johan.rydberg, generics support is anemic, trying only not to break  
things. You can't specify generics in your ui.xml file, and you'll need to  
instantiate your TableRowType in your owner class.

I'm pretty sure this should work (making some presumptions about your typed  
Table class):

{{{
my:Table ui:field='rowTypeTable' /
}}}

{{{
@UiField(provided = true)
final TableRowType rowTypeTable = new TableRowType() {}
}}}



For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-12-11 Thread codesite-noreply
Comment by johan.rydberg:

How do I add a widget that is generic?   For example, a TableRowType ?



For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-12-11 Thread codesite-noreply
Comment by gnuyoga:

all set to try the new uibinder,


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-12-08 Thread codesite-noreply
Comment by rj...@google.com:

@revoltcss, it's much simpler than that, updated the example


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-12-07 Thread codesite-noreply
Comment by revoltcss:

Hi all,

About that Hello World example, I want to know how to get the Hello World  
example running in GWT. Do I create a separated xml file  
(HelloWorld.ui.xml) or should I need to put it in the original xml file?

Also do I need to make a different class for the Hello World java code or  
do I need to put the code in the entry point class?

public class HelloWorld extends UIObject { // Could extend Widget instead

   interface MyUiBinder extends UiBinderDivElement, HelloWorld {}
   private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class);
   ...

I already have installed the latest Gallileo Eclipse 3.5 and gwt-2.0.0-rc2.

Please give me an explanation.

Thank you in advance.


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-12-01 Thread codesite-noreply
Comment by vincent.case:

I found these UiBinder use cases very helpful in understanding the APIs.

However, I am unable to determine if UIBinder addresses the gwt 1.7 issues  
I have with formatting my app layout using CSS.

Specifically,
   * HTML generated by gwt layout widgets is not transparent/explicit,  
obscuring the application/intrepretation of css to the layout
   * HTML generated by gwt layout widgets is table based, foregoing the  
possiblity of many css layout techniques

Is one of the intentions of UiBinder to facilitate the use of CSS for app  
Layout by:
   * Allowing definition of an explicit HTML structue in the UIBinder xml to  
which css can be applied
   * Allowing app structure to be defined without use of the table based gwt  
widgets

Thanks for your feedback.



For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-12-01 Thread codesite-noreply
Comment by j...@google.com:

@vincent.case: It's not clear precisely what you're referring to when you  
reference the gwt layout widgets. Are you referring to the new  
*LayoutPanel structures or the existing panels such as DockPanel,  
Horizontal/VerticalPanel and such? The existing panels derived from  
CellPanel are all based on tables, which we know to be problematic under  
some circumstances.

The newer *LayoutPanel classes do not use tables, are much more predictable  
in their behavior, and fully support standards-mode doctypes, unlike the  
older table-based panels.

If you want to use common CSS layout techniques involving tricks like  
float:left, explicit large margins, and so forth, there's nothing stopping  
you from using regular widgets in FlowPanels and HTMLPanels and applying  
whatever CSS trickery you like. UiBinder actually makes this much easier by  
making it simple to use HTMLPanel and mix arbitrary HTML and widgets.


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-11-30 Thread codesite-noreply
Comment by rj...@google.com:

Actually, I was wrong: VerticalPanel and HorizontalPanel are not yet  
deprecated in 2.0. (Although I can't think of any reason at all to use  
VerticalPanel rather than a plain old div.)

In 2.0 StackPanel, TabPanel and DockPanel are all deprecated in favor of  
StackLayoutpanel, TabLayoutPanel and DockLayoutPanel.


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-11-30 Thread codesite-noreply
Comment by revoltcss:

test


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-11-26 Thread codesite-noreply
Comment by julian.pettersen:

That panel is on the verge of being deprecated in favor of the new Layout  
classes.

Can you please tell us what the new layout-classes are? Are they documented  
in the API reference?


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-11-26 Thread codesite-noreply
Comment by julian.pettersen:

@rjrjr+pe...@google.com

That panel is on the verge of being deprecated in favor of the new Layout  
classes.

Can you please tell us what the new layout-classes are? Are they documented  
in the API reference?


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-11-16 Thread codesite-noreply
Comment by alex.dob...@gmail.com:

I'd like to use a Css file from which I'm not using ALL the stylesnames  
initially. However, I've noticed the generated CssResource does not include  
unused stylenames. Is there a way to solve this solution (somewhere in the  
code to use addStyleName) ?


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-11-16 Thread codesite-noreply
Comment by rj...@google.com:

@alex.dobjanschi, that's not an accident. It sounds like you want to create  
your own CssResource and pass it into your template via ui:with


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-11-16 Thread codesite-noreply
Comment by rj...@google.com:

@keith.rogers79 Fixed, thanks.


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-11-16 Thread codesite-noreply
Comment by rj...@google.com:

@alex.dobjanschi, you might find  
com.google.gwt.resources.css.InterfaceGenerator handy.


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-11-13 Thread codesite-noreply
Comment by keith.rogers79:

I think theres a couple of errors in the Using an external resource with a  
UiBinder example, in the .ui.xml file:

The image's resource attribute references {res.logoImage} rather than  
{res.widgetyImage} - what the image is called in the Resources clientbundle

The nameSpan is identified using ui:field=userNameField, which does not  
match the field name in the LogoNamePanel class, where it is called  
nameSpan.




For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-11-11 Thread codesite-noreply

Comment by OsorioJaques:

first of all thank you guys for the great work!

why is nowhere an example to find from the scratch to html design? i  
searching for it very intensive, but iam not founding it...

i am searching for an example where i can embed the xml with html sites for  
multiple modules.
i would like to create themes for my gwt app. am i asking on the right  
place? i hope so.


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---



[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-11-11 Thread codesite-noreply

Comment by rj...@google.com:

@OsorioJaques, we're still stumbling toward just how to use UiBinder  
effectively in a themed app. The last example, Apply Different XML  
Templates... is a hint of how it might be done, though its a bit over  
complex.

I expect we'll wind up with widgets that have default UiBinder instances as  
final static fields, GWT.created to allow substitutions; and which accept  
binder instances as constructor arguments to use instead. Something like:

{{{
   class MyWidget {
 public interface Binder extends BinderWidget, MyWidget{}
 private static final DEFAULT_BINDER = GWT.create(Binder.class);

 MyWidget() {
   this(DEFAULT_BINDER);
 }

 MyWidget(Binder binder) {
   ...
 }
   }
}}}

The ugly bit here is that it would effectively require the themed Widget's  
bound fields to be public and non-final, so we'll probably have to teach  
UiBinder some new tricks to make it more palatable.


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---



[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-11-09 Thread codesite-noreply

Comment by jchimene:

I may be missing something but shouldn't the argument to the initWidget  
call in _Apply different xml templates to the same widget_
be
{{{
   protected FooPickerDisplay(UiBinderWidget, FooPickerDisplay binder) {
 initWidget(binder.createAndBindUi(this));
   }
}}}



For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---



[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-11-09 Thread codesite-noreply

Comment by rj...@google.com:

@jchimene Fixed, thanks.


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---



[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-11-05 Thread codesite-noreply

Comment by gkbees:

Hello all.

I have a question concerning how to access/modify the size of a  
DockLayoutPanel's widget outside of the *.ui.xml file in the java code.

For instance, say I have a DockLayoutPanel with a West widget and a Center  
widget as follows:
{{{
g:DockLayoutPanel unit='EM'
 g:west size='20'
layouts:WestWidget ui:field='westWidget' /
 /g:west
 g:center
   layouts:CenterWidget ui:field='centerWidget' /
 /g:center
   /g:DockLayoutPanel
}}}
Is it possible to dynamically change the width of the westWidget somewhere  
in the associated java code, or can it only by modified in the *.ui.xml  
file.

The problem is, I would like to be able to hide/show the westWidget and  
have the centerWidget fill the remaining space dynamically when the app is  
running,
but changing the width of westWidget in the java code has no effect on the  
width of the West Pane of the DockLayoutPanel that was hard-coded in, there  
is a disconnect between them.

Any help would be greatly appreciated.

Sincerely,

George.




For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---



[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-11-02 Thread codesite-noreply

Comment by rj...@google.com:

Not yet, though it's on the list.


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---



[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-10-31 Thread codesite-noreply

Comment by maar...@maartenvolders.com:

Is there a UIBinder dtd or schema anywhere to which we can validate and use  
in our IDE for auto-completion?


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---



[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-10-21 Thread brett.wooldridge

There is no WYSIWYG editor that I know of.  Because UIBinder is so new
(it's only been in the public source control for about two months), I
wouldn't expect to see such an editor for several months at a
minimum.  If you see one it's likely to come from the guys who make
MyEclipse (google it).

Brett

On Oct 21, 9:08 pm, codesite-nore...@google.com wrote:
 Comment by heralight:

 Hello everybody,
 I've just started studying GWT with UiBinder. good !
 Which WYSIWYG editor can I use to produce design with UiBinder(equivalent  
 to Microsoft Blend) ?

 If not exist how create a design and maintains it with a standard WYSIWYG  
 Html editor like dreamweaver ?

   Thanks!!

 Galb.

 For more information:http://code.google.com/p/google-web-toolkit/wiki/UiBinder
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---



[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-10-05 Thread Joel Webber
Please allow me to respectfully disagree. The notion that this is going to
lead to awkward language constructs being bolted onto XML derives from the
fallacious belief that this system is meant to behave like a template
system, a la JSP. It's not -- it's really just a way to build widget/html
constructs in XML in a way that is much simpler than doing the equivalent
than Java.
This is particularly important if speed is an important goal (it is). In no
browser will it ever be faster to create a widget (or any similar
abstraction) than an HTML element, especially if we know about a collection
of them at once (read: innerHTML). And the difference is significant,
sometimes by a large factor. On top of this, it is often *simpler* to
express certain constructs in simple HTML (perhaps even copied and pasted
from elsewhere) than the equivalent widget construct would have been. All
told, there are a lot of advantages to using a mixture of HTML (where
appropriate) and widgets, and a major goal of UiBinder is to enable this
use-case.

Now don't get me wrong -- I truly hate XML. I think it's a bloated mess that
starts with the goal of being human-readable and reasonably simple, and
fails on both counts. But when you're working with the browser and HTML,
it's the only game in town.

On Sat, Oct 3, 2009 at 5:14 PM, SonyMathew xsonymat...@gmail.com wrote:


 Good questions/suggestsion...

 The XML approach is very much going backwards in my opinion - it
 reminds me of all the legacy web-frameworks - that i have been using
 for the last 10 years.  Essentially language constructs like for
 loops and if/else are going to have some funky syntax in XML along
 with funky binding expressions to Java fields.  All this to
 accommodate HTML elements like div and span?  These concepts
 should be abstracted in my opinion.  GWT won't be able to mask browser
 differences of HTML elements effectively with this approach either.

 I agree - JavaFx like syntax would have been perfect - otherwise Java
 is just fine - the kind of Java/OO things I am doing now with GWT is
 just not going to be possible with XML.  I wish all that energy on
 UIBinder would have been spent on better Java API and Widgets.

 On Sep 30, 4:14 am, codesite-nore...@google.com wrote:
  Comment by markovuksanovic:
 
  Could someone tell if it is possible to achieve something like (syntax is

  definitely wrong but I hope you get the idea - it's more of a pseudo code
 )
 
  foreach (String s in stringList)
   div class='{res.style.mainBlock}'
 div ui:apply='{res.style.userPictureSprite}'
   Well hello there
   ui:gwtLabel value={bind to s} /
 /div
   /div
  end foreach
 
  I've seen that it possible to define a filed of for example list and then

  in java class add items to that field.. but I would prefer something like

  above - to have a loop which would generate widgets and bind there
 property
  to a value.
 
  For more information:
 http://code.google.com/p/google-web-toolkit/wiki/UiBinder
 


--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---



[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-10-03 Thread SonyMathew

Good questions/suggestsion...

The XML approach is very much going backwards in my opinion - it
reminds me of all the legacy web-frameworks - that i have been using
for the last 10 years.  Essentially language constructs like for
loops and if/else are going to have some funky syntax in XML along
with funky binding expressions to Java fields.  All this to
accommodate HTML elements like div and span?  These concepts
should be abstracted in my opinion.  GWT won't be able to mask browser
differences of HTML elements effectively with this approach either.

I agree - JavaFx like syntax would have been perfect - otherwise Java
is just fine - the kind of Java/OO things I am doing now with GWT is
just not going to be possible with XML.  I wish all that energy on
UIBinder would have been spent on better Java API and Widgets.

On Sep 30, 4:14 am, codesite-nore...@google.com wrote:
 Comment by markovuksanovic:

 Could someone tell if it is possible to achieve something like (syntax is  
 definitely wrong but I hope you get the idea - it's more of a pseudo code )

 foreach (String s in stringList)
      div class='{res.style.mainBlock}'
        div ui:apply='{res.style.userPictureSprite}'
          Well hello there
          ui:gwtLabel value={bind to s} /
        /div
      /div
 end foreach

 I've seen that it possible to define a filed of for example list and then  
 in java class add items to that field.. but I would prefer something like  
 above - to have a loop which would generate widgets and bind there property  
 to a value.

 For more information:http://code.google.com/p/google-web-toolkit/wiki/UiBinder
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---