How to pass parameter into Constructor View of UiBinder (by using setInSlot) in GWT Platform?

2014-01-06 Thread Tom
It's very hard to find questions about GWTP (GWT Platform). Ok, Here is my Story. I am using GWTP & eclipse to create the Presenter-View structure automatically. Example, I created a TestPresenter in eclipse, & it created 3 files: TestPresenter.java, TestView.java, TestView.xml In TestView.

How to pass parameter into Constructor View of UiBinder (via setInSlot) in GWT Platform?

2014-01-06 Thread Tom
It's very hard to find questions about GWTP (GWT Platform). Ok, Here is my Story. I am using GWTP & eclipse to create the Presenter-View structure automatically. Example, I created a TestPresenter in eclipse, & it created 3 files: TestPresenter.java, TestView.java, TestView.xml In TestView.

Re: How handle event for Dom element inside custom data grid?

2014-01-06 Thread Ed
When setting the inner html in to a widget/element it will result in a bunch of DOM elements, retrieve the Element instance from the parent element you want to add events to and just add them. See the source code of Widget and see how it's done through the DOM class. Pretty straight forward...

Re: using "applyto()" with a Composite initWidget(Image);

2014-01-06 Thread darkflame
Ah, it seems; imageContents = SetFrames[0].createImage(); initWidget(imageContents); Fixs the problem. Interesting...applyTo() doesnt work on a image thats created ( = new Image() ) but not set? On Monday, January 6, 2014 3:49:51 PM UTC+1, darkflame wrote: > > > Pre-amble: > I have been using

Re: using cusrtom classes in GWT designer

2014-01-06 Thread Magnus
Hi Thomas, ok, but what about that general rule that you "shouldn't extend existing widgets but rather compose/wrap them within Composite or IsWidget"? This sounds interesting to me... Magnus -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gro

Re: Fixed row position FlexTable

2014-01-06 Thread Natanael Maldonado
You could check this threads in SO forums: 1.- http://stackoverflow.com/questions/14879353/colspan-and-rowspan-in-celltable 2.- http://stackoverflow.com/questions/3403674/how-to-set-rowspan-and-colspan-values-on-gwt-grid-cell-containing-a-widget 2014/1/6 Jens > You should be able to do this wit

Re: Fixed row position FlexTable

2014-01-06 Thread Jens
You should be able to do this with DataGrid and a custom Header and/or a custom header builder. See paragraph about header/footers in: http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/cellview/client/AbstractCellTable.html And in addition (if needed): http://www.gwtproject.org/java

Re: Fixed row position FlexTable

2014-01-06 Thread Davide Micheletti
i need something like these.. __ |___MaxCol 1_|__MaxCol 1__ |__MaxCol 1___ | <- Fixed |_Col1_|_Col2_|_Col3_|_Col4_|_Col5_|_Col6_|_Col7_|_Col8_|_Col9_|_Col10_|_Col11 Col12_|

using "applyto()" with a Composite initWidget(Image);

2014-01-06 Thread darkflame
Pre-amble: I have been using an AnimatedIcon class I made myself for a few years now. It extended Image and had two constructors; 1. Takes an ImageURL and a number of frames, and use's setURL to cycle over them (foo1.png,foo2.png etc) 2. Takes a AbstractImagePrototype[] and uses applyto(this) to

Re: StorageMap.StorageEntryIterator#remove() - Issues with order?

2014-01-06 Thread Jens
Looks like you are right and the iterator does not account for such a behavior in case of remove(). If remove() can really result in a different key ordering then iteration can fail to work properly. Adding an element to the underlying collection while iterating is not an issue as the Iterator

StorageMap.StorageEntryIterator#remove() - Issues with order?

2014-01-06 Thread Andreas Kohn
Hi, while reading through the GWT StorageMap class to learn more about using HTML 5 local storage I noticed that the StorageEntryIterator#remove() method seems to assume a stable order of the keys in the local storage, i.e. that removing a key via the iterator does not change the order of the