Retrieving ui:field value from custom Widget

2012-01-16 Thread Gervais.b
Hello everyone. In our app, we have the requirement that each inputs would have a fixed Html ID. So we always write "anInput.getElement().setId("myId")", that's boring and we are used to forget it. So I have tried to write custom widgets where we can call "setId" from code or UiBinder. So that we

Activities and Places, how to deal with nested views ?

2011-10-26 Thread Gervais.b
Dear GWT profesionnals, I try to create an little app who allow users to make search. The main screen contains some inputs and a TabLayoutPanel who contains two set of inputs. The main screen is created with UiBinder and the two containeds into the tabs are also described with UiBinder. I have one

Why GWT ignore standard html tags ?

2011-10-26 Thread Gervais.b
Hi all, I'm playing with GWT since some weeks and now I want to create a form (not int Html sense); In this form I want to use the Html tag to set focus on the field referenced by the "for" attribute value. 1° But that don't works because GWT "ui:field" don't set the Id to the field. 2° So I h

GWT Tutorial, and then ? How to learn reald world GWT development

2011-09-30 Thread Gervais.b
Hi everyone, I want to learn how to use GWT for professionnal apps. So, I have followed the tutorial[1] and Googled a lot until found some interesting resources. Especially the presentation from ray Ryan at Google IO 09 "Google Web Toolkit Architecture: Best Practices For Architecting Your GWT App

Tree and OpenHandler, opened item always nulll

2011-09-04 Thread Gervais.b
Hi everyone, I try to add an OpenHandler on a tree to lazilly load the tree structure. But when I try to retrieve the node with OpenEvent.getTarget().getUserObject() I always get a null reference. I don't understand why the userObject is null.. Please help me. ... private final Tree hierarchy =