Textarea KeyUpHandler not working

2012-11-28 Thread marco
Hi there, I'm trying to implement a counter for a textarea. Something like this is working for me final TextArea textArea = new TextArea();final Label counter = new Label(Number of characters: 0);...private void addlistener() { textArea.addKeyUpHandler(new KeyUpHandler() {

Re: GWT Window Scroll Bottom hit detection

2012-11-28 Thread Alp Yilancioglu
Document.get() Thanks.. It worked.. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/zEXJpLAldY8J. To post to this group, send email to

DataGrid with several tbody elements possible

2012-11-28 Thread Michael Vogt
Hello. We are using the DataGrid for a new widget, and so far all works pretty good. The only missing feature was to add a ScrollHandler to it, so we could add an infinite scrolling feature, which works pretty good. Now I would like to add some structuring to the data by adding more than one

Re: DataGrid with several tbody elements possible

2012-11-28 Thread Thomas Broyer
On Wednesday, November 28, 2012 10:18:57 AM UTC+1, Michael Vogt wrote: Hello. We are using the DataGrid for a new widget, and so far all works pretty good. The only missing feature was to add a ScrollHandler to it, so we could add an infinite scrolling feature, which works pretty good.

Re: DataGrid with several tbody elements possible

2012-11-28 Thread Jens
You can use DataGrid.setTableBuilder/setHeaderBuilder/setFooterBuilder and provide a custom CellTableBuilder if you want to modify the table's structure. A custom CellTableBuilder can be extended from AbstractCellTableBuilder or DefaultCellTableBuilder. -- J. -- You received this message

Re: DIV with negative top floating above TabLayoutPanel

2012-11-28 Thread johnrellis
Hi Jens, Thanks for the explanation. The TabLayoutPanel is in a dialog that is draggable around the screen so depending on where you drag it, it puts an invisible cover on what is underneath the div. So if I drag the dialog to just under a button group, I am unable to click some of the

ValueProxy and cyclic dependencies lead to infinite loop

2012-11-28 Thread Ümit Seren
I am not sure if this is a known issue. But I recently tried to map some JPA2 Entities to ValueProxy's and run into a weird issue. In the database I have a table (Term) which references itself using an intermediate/mapping table (basically building a graph like structure). Term ---

Re: DataGrid with several tbody elements possible

2012-11-28 Thread Michael Vogt
Thank you both for your quick answers. Yes I am using the TableBuilder. What's basically needed is a way to overwrite the builders that are used after that, maybe the HtmlBuilderFactory would be a good place, as the current implementation of the call startBody() throws an exception when I try

Re: ValueProxy and cyclic dependencies lead to infinite loop

2012-11-28 Thread Thomas Broyer
Is there a Caused by for this UndeclaredThrowableException? On Wednesday, November 28, 2012 10:41:34 AM UTC+1, Ümit Seren wrote: I am not sure if this is a known issue. But I recently tried to map some JPA2 Entities to ValueProxy's and run into a weird issue. In the database I have a table

Re: DataGrid with several tbody elements possible

2012-11-28 Thread Thomas Broyer
On Wednesday, November 28, 2012 10:50:24 AM UTC+1, Michael Vogt wrote: Thank you both for your quick answers. Yes I am using the TableBuilder. What's basically needed is a way to overwrite the builders that are used after that, maybe the HtmlBuilderFactory would be a good place, as the

Re: ValueProxy and cyclic dependencies lead to infinite loop

2012-11-28 Thread Ümit Seren
So basically I get a stackoverflow with these two exceptions. I have to stop/kill the server to stop them. I think the problem is in ValueProxyCategory. It calls the function hashCode() and this calls AutoBeanUtils.getAllProperties(bean).hashCode();This retrieves all properties as a Map and then

ListBox - several Questions

2012-11-28 Thread feuse8
Hi, I would like to pimp GWTs ListBox in order to get some additional functionaility. Maybe you can help me with some issues. 1. I would like to dynamically add Items to my ListBox: when the user scrolls using the scrollbar an event should be thrown. I tried attaching a ScrollEvent which

Re: Textarea KeyUpHandler not working

2012-11-28 Thread marco
Ok I fixed it, with the following changes -public class ValidatableTextarea extends ComplexPanel +public class ValidatableTextarea extends FlowPanel - private FlowPanel rootPanel; protected TextArea input; private Label errorLabel; @UiConstructor public ValidatableTextarea() {

Re: GWT 2.5 GA is Here!

2012-11-28 Thread Max
Very good ! ;) On Oct 26, 12:14 am, unnurg unn...@google.com wrote: Hey all, We're excited to announce the GWT 2.5 Release! There will be an announcement soon on the GWT Bloghttp://googlewebtoolkit.blogspot.com/2012/06/gwt-2.html, and you can download it

Re: ListBox - several Questions

2012-11-28 Thread Thomas Broyer
On Wednesday, November 28, 2012 1:15:23 PM UTC+1, feuse8 wrote: Hi, I would like to pimp GWTs ListBox in order to get some additional functionaility. Maybe you can help me with some issues. 1. I would like to dynamically add Items to my ListBox: when the user scrolls using the

Re: Textarea KeyUpHandler not working

2012-11-28 Thread Thomas Broyer
On Wednesday, November 28, 2012 1:40:18 PM UTC+1, marco wrote: Ok I fixed it, with the following changes -public class ValidatableTextarea extends ComplexPanel +public class ValidatableTextarea extends FlowPanel - private FlowPanel rootPanel; protected TextArea input; private

Remediating older GWT code with GWT 2.3 XsrfProtectedService - any experiences?

2012-11-28 Thread James Scott
Hi all- We're looking at remediating an existing GWT application with the CSRF/XSRF protection features introduced with GWT 2.3. Has anybody else done this, and do you have any experiences/advice to share? I'm looking particularly for testing advice. How did you validate that the XSRF

Re: Firefox 17 dev plugin

2012-11-28 Thread Samyem Tuladhar
Are the windows binaries available yet for FX17? On Monday, November 26, 2012 11:07:21 PM UTC-5, Brian Slesinsky wrote: That's due to a bug in the Makefile: it creates the IOOPHM.h file but not the directory it's in. (The build procedure for plugins is full of this sort of thing.) But if

Re: SingleSelectionModel not firing for root node (CellTree)

2012-11-28 Thread Frank
Same for me still in GWT 2.5, anyone an idea? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/LYiRUtMRpwEJ. To post to this group, send email to

GWT Hosted Mode With Sub Projects

2012-11-28 Thread Callist
Hi, How do I run GWT in hosted mode in a project which inherits from another project? I get errors saying that the classes in the second project cannot be found and may need to be inherited. It works perfectly fine our of hosted mode though - any ideas? P.S - I am not using maven. Thanks. --

CellBrowser improvement

2012-11-28 Thread Rafael Paulino
Hi, it's my first time writing to this community here, if I say something wrong or in the wrong place, just say it :) I've been working with GWT for half a year and it's really great. But this days I've found a behavior I think it's not the best one. I've a CellBrowser which get all the

Re: GWT 2.5 GA is Here!

2012-11-28 Thread Miguel Sequeira
Ñice ! I like the new improvements keep up the good work. One question only :) ... As i upgraded from 2.4.0 to 2.5.0 the only thing that is different is the DatePicker (the top label is different even linked with locale) and the transient method now does not work entirely, since it lets the

Re: GWT Hosted Mode With Sub Projects

2012-11-28 Thread Jens
Your sub project contains GWT modules that you inherit in your main app so the GWT compiler can actually see the source of your sub project? Is your classpath for hosted mode correct? It should contain classes and sources (and resources like *.gwt.xml if you have them in a separate folder) of

Re: Generated class only appearing in one permutation

2012-11-28 Thread Paul Donnelly
So I came back to this 2 weeks later and after much hair pulling finally figured out why this was happening. Figured it was worth answering my own question in case anyone else runs into this... The issue was I was returning null from my generate method if the context.tryCreate(...) method was

[gwt-contrib] Re: Update devmode Firefox plugin to support Firefox 17 on 64-bit Linux. (issue1870803)

2012-11-28 Thread Koen Maes
How do I build this ?? Or is this available prebuilt somewhere ? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] source maps in chrome

2012-11-28 Thread Stephen Haberman
Hey, I'm (finally) playing with super dev mode and am not seeing source maps working--I'm using Chrome 25 and saw this bug: https://code.google.com/p/google-web-toolkit/issues/detail?id=7725 Is this affecting anyone else? - Stephen --

[gwt-contrib] Re: Add Windows DLL for Firefox 17 to dev mode plugin. (issue1871803)

2012-11-28 Thread mdempsky
LGTM http://gwt-code-reviews.appspot.com/1871803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] source maps in chrome

2012-11-28 Thread Ray Cromwell
Chrome 24 introduced a bug, I'm working on a fix. On Wed, Nov 28, 2012 at 10:40 AM, Stephen Haberman step...@exigencecorp.com wrote: Hey, I'm (finally) playing with super dev mode and am not seeing source maps working--I'm using Chrome 25 and saw this bug:

Re: [gwt-contrib] source maps in chrome

2012-11-28 Thread Stephen Haberman
Chrome 24 introduced a bug, I'm working on a fix. Awesome, thanks for the quick reply--I updated the issue appropriately. - Stephen -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Update devmode Firefox plugin to support Firefox 17 on the Mac: (issue1872803)

2012-11-28 Thread skybrian
Reviewers: mdempsky, Description: Update devmode Firefox plugin to support Firefox 17 on the Mac: - started compiling with C++11, using clang (from XCode 4.5.2) - dropped PPC from build Includes release candidate. Review by: mdemp...@google.com Please review this at

[gwt-contrib] Re: Update devmode Firefox plugin to support Firefox 17 on the Mac: (issue1872803)

2012-11-28 Thread cromwellian
On 2012/11/29 03:35:49, skybrian wrote: LGTM. No API/Source breakages this time around? http://gwt-code-reviews.appspot.com/1872803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Update devmode Firefox plugin to support Firefox 17 on the Mac: (issue1872803)

2012-11-28 Thread skybrian
On 2012/11/29 05:45:46, cromwellian wrote: On 2012/11/29 03:35:49, skybrian wrote: LGTM. No API/Source breakages this time around? There were but I already fixed them when I did Linux. For the Mac it was upgrading XCode and figuring out how much I need to mirror Firefox's compiler options.