Re: UIBinder unusable without a good layout policy.

2010-03-01 Thread Alexander Arendar
Hi Blessed Geek, I don't agree with you here. UiBinder is usable with different layouts. Please take a look at this article: http://aarendar.wordpress.com/2010/03/01/learning-gwt-uibinder-part-1/ Sincerely, Alex On Feb 14, 4:18 pm, Blessed Geek wrote: > The only usable layout forUIBinderis Doc

Re: UIBinder unusable without a good layout policy.

2010-02-17 Thread Blessed Geek
Thx Marcus, I just discovered that after careful rereadng of the GWT UIBinder guide. On Feb 14, 7:23 am, Marcus Christensson wrote: > The trick is to add an annotated constructor. In your case the -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Re: UIBinder unusable without a good layout policy.

2010-02-15 Thread Marcus Christensson
The trick is to add an annotated constructor. In your case the constructor should look something like: @UiConstructor public UIGrid(int rowCount, int columnCount) { super(rowCount, columnCount); } This should work with your ui.xml above. You might have to remove your rowCount and columnCount se

Re: UIBinder unusable without a good layout policy.

2010-02-15 Thread Marcus Christensson
The trick is to add an annotated constructor to your class above: @UiConstructor public UIGrid(nt rowCount, int columnCount) { super(rowCount, columnCount); } Now your code should work as expected. You might need to remove your row and column setter methods. /Marcus On Feb 14, 3:18 pm, Bless

Re: UIBinder unusable without a good layout policy.

2010-02-15 Thread Thomas Broyer
On Feb 14, 3:18 pm, Blessed Geek wrote: > The only usable layout for UIBinder is DockLayoutPanel, which is not > applicable for most layout requirements. Without useable layouts, > uibinder is a good demo technology but unuseable. > > The Grid widget for example. > No setColumnCount nor setRowCo

Re: UIBinder unusable without a good layout policy.

2010-02-14 Thread Blessed Geek
Here is the what I was trying to do when I encountered this bug/ misfeature http://h2g2java.blessedgeek.com/2010/02/gwt-and-uibinder-password.html. -- 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

UIBinder unusable without a good layout policy.

2010-02-14 Thread Blessed Geek
The only usable layout for UIBinder is DockLayoutPanel, which is not applicable for most layout requirements. Without useable layouts, uibinder is a good demo technology but unuseable. The Grid widget for example. No setColumnCount nor setRowCount nor add(widget) methods. OK, that's simple. I'll