Re: Unexpected behavior

2019-03-14 Thread Velusamy Velu
Colin: Appreciate that, and I got the solution I have been looking for in your response. On Thursday, March 14, 2019 at 8:48:09 AM UTC-4, Colin Alworth wrote: > > Also telling your JS debugger to pause on uncaught exceptions will help - > it will stop when that null.toString() takes place,

Re: Unexpected behavior

2019-03-14 Thread Colin Alworth
Also telling your JS debugger to pause on uncaught exceptions will help - it will stop when that null.toString() takes place, letting you examine which method you are in when it happens, and which local variable or field is null. On Wednesday, March 13, 2019 at 3:33:48 PM UTC-5, Jens wrote: >

Re: Unexpected behavior

2019-03-13 Thread Jens
Why don't you just look at the JavaScript in Chrome to see if GWT compiler did some easy optimizations which cause your stepping though source maps look strange. Especially if you start SDM using -style PRETTY and -XmethodNameDisplayMode you can understand the JS relatively well, even without

Re: Unexpected behavior

2019-03-13 Thread Velusamy Velu
Paul: I appreciate your prompt response and suggestions. Yes, I'm aware of the toString() on a null object. My attempt is to identify how it landed on statement that doesn't make any sense to me. That's the main issue. As you suggested I attempted to get more meaningful exception stack. Tried

Re: Unexpected behavior

2019-03-12 Thread Paul Robinson
I don't think you're showing us enough code. The exception indicates something is calling toString() on a null object, but there's nothing in what you've shown us that calls a toString() method. Try compiling in pretty mode with full stack traces. You'll see better error information. Paul On

Re: Unexpected behavior

2019-03-12 Thread Velusamy Velu
Adding a larger screen clip. [image: Screen Shot 2019-03-12 at 5.40.52 PM.png] On Tuesday, March 12, 2019 at 5:48:59 PM UTC-4, Velusamy Velu wrote: > > Friends: > > I'm developing a Chemical drawing tool and have been progressing steadily > with a lot of difficulties. My technology stack is

Unexpected behavior

2019-03-12 Thread Velusamy Velu
Friends: I'm developing a Chemical drawing tool and have been progressing steadily with a lot of difficulties. My technology stack is Java 8, GWT 2.8.2, GMD 2.x, Eclipse Photon, running on a MacBook Pro, and Chrome | Firefox | Opera for testing. A limited functioning pilot is running at

Re: Gwt celltable : Unexpected behavior : when record deleted from page then other record repeated in page.

2011-11-27 Thread vaibhav gwt
Any Idea How to resolve this issue ? On Nov 15, 10:11 pm, vaibhav gwt bhalke.vaib...@gmail.com wrote: I also called updateRowData(startIndexOfPage, recordList); updateRowCount(updatedRecordCount, true); Still same issue :-| On Nov 15, 6:01 pm, vaibhav bhalke bhalke.vaib...@gmail.com wrote:

Gwt celltable : Unexpected behavior : when record deleted from page then other record repeated in page.

2011-11-15 Thread vaibhav bhalke
Hi, I am using celltable -- gwt2.3. I found strange behavior in celltable. My celltable's pagesize is 10. Total 13 records. When Page contains 3 records A 1 11 B 2 22 C 3 33 When I deleted any one record e.g. A record then that record is deleted from page but other record repeated / sets in page.

Re: Gwt celltable : Unexpected behavior : when record deleted from page then other record repeated in page.

2011-11-15 Thread Thomas Broyer
You probably only called setRowData(0, newList) and forgot to first call setRowCount. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Gwt celltable : Unexpected behavior : when record deleted from page then other record repeated in page.

2011-11-15 Thread vaibhav gwt
I also called updateRowData(startIndexOfPage, recordList); updateRowCount(updatedRecordCount, true); Still same issue :-| On Nov 15, 6:01 pm, vaibhav bhalke bhalke.vaib...@gmail.com wrote: Hi, I am using celltable -- gwt2.3. I found strange behavior in celltable. My celltable's pagesize is

TextBox.setReadOnly(true) - strange and unexpected behavior.

2009-08-21 Thread BobM
I an using GWT 1.6.0.18. I found no reference of this matter in either the 1.7 release notes nor the issues tracking list. I use a TextBox where I enter some text, then update a database record with this data. Once I successfully enter this data into the TextBox and update the database, I want

Re: unexpected behavior of FlowPanel's insert method

2009-02-05 Thread Giles Baxter
I realized I didn't need the two elements that came after the content. So I tried add instead of insert as you suggested, but I still get the same behavior. On Wed, Feb 4, 2009 at 11:49 PM, Giles Baxter giles.bax...@gmail.comwrote: Seems to be consistent. Here are the screenshots - don't

Re: unexpected behavior of FlowPanel's insert method

2009-02-05 Thread Damien Picard
And if you only try to remove the currScreen ; is it removed ? 2009/2/5 Giles Baxter giles.bax...@gmail.com I realized I didn't need the two elements that came after the content. So I tried add instead of insert as you suggested, but I still get the same behavior. On Wed, Feb 4, 2009 at

Re: unexpected behavior of FlowPanel's insert method

2009-02-05 Thread Giles Baxter
If I comment out the add() call, no content is added at all, so I never get a link that I can use to navigate to the next page. On Thu, Feb 5, 2009 at 12:18 AM, Damien Picard picard.dam...@gmail.comwrote: And if you only try to remove the currScreen ; is it removed ? 2009/2/5 Giles Baxter

Re: unexpected behavior of FlowPanel's insert method

2009-02-05 Thread Giles Baxter
My solution is to create a new content screen each time, by checking the class at runtime and calling a factory method. It's a workaround...but I would still like to know what was going on under there! Thanks for your help. On Thu, Feb 5, 2009 at 8:20 AM, Giles Baxter giles.bax...@gmail.com

unexpected behavior of FlowPanel's insert method

2009-02-04 Thread Giles
Hi, I'm trying to give the impression of navigating through a site by updating a component contained in a FlowPanel. Each time I call myPanel.insert(myComponent, index), the contents of myComponent are repeated. I have some screenshots from running the debugger in Eclipse if anyone thinks they

Re: unexpected behavior of FlowPanel's insert method

2009-02-04 Thread Damien Picard
Hi, Could you copy past your code ? I think that it is probably an error in your algorithm. Regards, Damien 2009/2/5 Giles giles.bax...@gmail.com Hi, I'm trying to give the impression of navigating through a site by updating a component contained in a FlowPanel. Each time I call

Re: unexpected behavior of FlowPanel's insert method

2009-02-04 Thread Giles Baxter
Sure. I used the Showcase sample as a template. They have a tree where the tree items map to different content widgets. I've created two Maps: one for history tokens and one for link texts. Here are the two listeners that use them to figure out what screen to display: final

Re: unexpected behavior of FlowPanel's insert method

2009-02-04 Thread Damien Picard
Your mainInnerPanel is a FlowPanel, right ? try something like that : public void setCurrScreen(Widget content) { mainInnerPanel.remove(currScreen); mainInnerPanel.add(content); currScreen = content; } does the problem always appears ? 2009/2/5 Giles Baxter

Re: unexpected behavior of FlowPanel's insert method

2009-02-04 Thread Giles Baxter
Seems to be consistent. Here are the screenshots - don't know if that'll help. http://www.engr.uvic.ca/~gbaxter/tests.html Only problem with the code you suggested is that I want to insert the content at a specific point in mainInnerPanel. If I use add, content will be at the end... On Wed,