Re: TabLayoutPanel with scroll buttons

2013-04-11 Thread Philippe Lhoste
By popular demand (my own taste, and a request of a tester), I hide a button when we can no longer scroll in this direction... I replaced the hackish test: if (scrollRightButton.isVisible()) with a specialized field: private boolean isScrolling; The following are the added / modified

How to handle a Python server-side Exception in GWT client code?

2013-04-11 Thread Carl
I'm using AsyncCallbackString() to handle JSON replies from my Python-backed server. If the server throws a custom exception, NotUniqueException my client code AsyncCallback.onFailure(Throwable caught) is called. In the GWT client code, how do I gain access to NotUniqueException? Or at least

Re: moveable areas as in iGoogle?

2013-04-11 Thread Olivier TURPIN
There's also GQuery its plugin with Droppable Draggable widgets http://code.google.com/p/gwtquery-plugins/ Olivier. Le mercredi 10 avril 2013 12:33:33 UTC+2, Magnus a écrit : Hi, how can one realize such moveable areas, which can be placed with drag drop at predefined positions, such

JavaScript overlay type, how to pass variable to $this

2013-04-11 Thread Jonas
Javascript newbie here, trying to create the following Javascript overlay type. How can I accomplish this? this.name should evaluate to this.userId public class LoginInfo extends JavaScriptObject { private static final String USER_ID = userId; protected LoginInfo() { }

Re: How to handle a Python server-side Exception in GWT client code?

2013-04-11 Thread Carl
One less layer... I'm using RequestBuilder's sendRequest and handling errors in that call's onResponseReceived(Request req, Response resp) That function still has flatten the server's exception to resp.getStatusCode() of 500 and resp.getStatusText() of INTERNAL SERVER ERROR. What approach

Re: How to handle a Python server-side Exception in GWT client code?

2013-04-11 Thread Ümit Seren
You can't just simply handle server side exception in GWT especially when you deal with non-JAVA backends (GWT RPC/RequestFactory have ways to translate server side exceptions to the client side exceptions). So you have to roll your own exception translation. You can catch exceptions in your

Re: Repainting a canvas - clear or create new object?

2013-04-11 Thread Kody
Could you post the code where you stack the layers? Because as I wrote in, my 2 canvsa layers appear one below the other, not behind each other! So both layers are visible at a time. What's wrong with the code example I posted? 2013/4/10 Thad thad.humphr...@gmail.com If you don't want the

Re: How to handle a Python server-side Exception in GWT client code?

2013-04-11 Thread Carl Roach
thanks Ümit. That's the only approach I could think of too. I think it can be wrapped nicely but thought I'd check there wasn't a smarter technique available (it's all just data after all). thanks for boosting my confidence that this wasn't such a blunt instruction. On 11 April 2013 16:11, Ümit

Re: Repainting a canvas - clear or create new object?

2013-04-11 Thread Thad
Sorry if my terminology is confusing. My Cavases are stacked--as in their z-indexes place one on the other ( http://www.w3.org/TR/CSS21/visuren.html#propdef-z-index)--and are visible at the same time as the Canvas is a transparent object. As I said before, if you don't want the lower layer to

How to control the scroll bar of a ContentPanel with the UP and DOWN key of keyboard

2013-04-11 Thread kelvinliu1111
How to control the scroll bar of a ContentPanel with the UP and DOWN key of keyboard? I want to control the scroll bar of a ContentPanel with the UP and DOWN key of keyboard as the grid. In my Project, there are some blank grids with horizontal scroll bar on some page, when I focus the blank

Re: RequestBuilder POST + setHeader() = OPTIONS

2013-04-11 Thread Seray Uzgur
Hi, i am facing with the same thing. I know its old but i wonderred if you found and solution? 21 Ekim 2010 Perşembe 19:51:15 UTC+3 tarihinde Márcio Menezes yazdı: BTW... Browser Firefox 3.6 2010/10/21 Márcio Menezes marci...@gmail.com javascript: Ok... but it happens with ANY header. Even

Re: Repainting a canvas - clear or create new object?

2013-04-11 Thread Kody
I totally understand you: your final image is composed of different canvas layers, that's also what I'd like to have. My problem is, that my canvases like in the code above are place BELOW each other. Which means: layer2 does NOT show at position 0,0. But starts where layer1 ends. Thus something

Re: How to globally catch all exceptions?

2013-04-11 Thread Kody
Where can I find the logfile on the serverside if using the standardgwt.logging.simpleRemoteHandler ? I see the console output in eclipse, but need this in some file. com.google.gwt.logging.server.RemoteLoggingServiceUtil logOnServer [...] 2013/4/10 Andrea Boscolo andrew...@gmail.com Use the

Re: Repainting a canvas - clear or create new object?

2013-04-11 Thread Thad
Oh, I think I see your point now. Maybe--and this is a guess--is that you're attaching the style to the Canvases and the AbsolutePanel doesn't see it? (Does Firebug or some similar tool offer any clues?) I don't use a style sheet to control positioning items in an AbsolutePanel. In UiBinder I

In UiBinder, how to make a namespace import from multiple packages?

2013-04-11 Thread Mohammad Al-Quraian
I tried many ways but nothing worked. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this

[gwt-contrib] Change in gwt[master]: Reduce O(N^2) memory complexity to O(N)

2013-04-11 Thread Matthew Dempsky
Matthew Dempsky has uploaded a new change for review. https://gwt-review.googlesource.com/2460 Change subject: Reduce O(N^2) memory complexity to O(N) .. Reduce O(N^2) memory complexity to O(N) For long strings with lots

[gwt-contrib] Change in gwt[master]: Reduce O(N^2) memory complexity to O(N)

2013-04-11 Thread Matthew Dempsky
Matthew Dempsky has posted comments on this change. Change subject: Reduce O(N^2) memory complexity to O(N) .. Patch Set 1: Without this patch, ResourcesSuite fails in dev mode with an out-of-memory error when run with

[gwt-contrib] Change in gwt[master]: Reduce O(N^2) memory complexity to O(N)

2013-04-11 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Reduce O(N^2) memory complexity to O(N) .. Patch Set 1: (4 comments) Nits only. I'm still somwhat sleep-deprived so feel free to disregard my comments ;-)

[gwt-contrib] Change in gwt[master]: Reduce O(N^2) memory complexity to O(N)

2013-04-11 Thread Matthew Dempsky
Matthew Dempsky has posted comments on this change. Change subject: Reduce O(N^2) memory complexity to O(N) .. Patch Set 1: (4 comments) Thanks for the review! Commit

[gwt-contrib] Change in gwt[master]: Reduce ClassSourceFileComposer memory and time complexity to...

2013-04-11 Thread Matthew Dempsky
Matthew Dempsky has uploaded a new patch set (#2). Change subject: Reduce ClassSourceFileComposer memory and time complexity to O(N) .. Reduce ClassSourceFileComposer memory and time complexity to O(N) For long strings with

[gwt-contrib] Change in gwt[master]: Reduce ClassSourceFileComposer memory and time complexity to...

2013-04-11 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Reduce ClassSourceFileComposer memory and time complexity to O(N) .. Patch Set 2: Code-Review+1 (1 comment) I'm fine with pushing the fix of print(foo\n)

[gwt-contrib] Change in gwt[master]: Reduce ClassSourceFileComposer memory and time complexity to...

2013-04-11 Thread Matthew Dempsky
Matthew Dempsky has uploaded a new patch set (#3). Change subject: Reduce ClassSourceFileComposer memory and time complexity to O(N) .. Reduce ClassSourceFileComposer memory and time complexity to O(N) For long strings with

[gwt-contrib] Change in gwt[master]: Reduce ClassSourceFileComposer memory and time complexity to...

2013-04-11 Thread Matthew Dempsky
Matthew Dempsky has uploaded a new patch set (#4). Change subject: Reduce ClassSourceFileComposer memory and time complexity to O(N) .. Reduce ClassSourceFileComposer memory and time complexity to O(N) For long strings with

[gwt-contrib] Change in gwt[master]: Reduce ClassSourceFileComposer memory and time complexity to...

2013-04-11 Thread Matthew Dempsky
Matthew Dempsky has posted comments on this change. Change subject: Reduce ClassSourceFileComposer memory and time complexity to O(N) .. Patch Set 2: (1 comment) File

[gwt-contrib] Change in gwt[master]: Prevent dev mode breakage when lots of jso classes are used.

2013-04-11 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Prevent dev mode breakage when lots of jso classes are used. .. Patch Set 3: I've only skimmed, but it looks like changing the format for a dispId would be

[gwt-contrib] Change in gwt[master]: Prevent dev mode breakage when lots of jso classes are used.

2013-04-11 Thread James Nelson
James Nelson has posted comments on this change. Change subject: Prevent dev mode breakage when lots of jso classes are used. .. Patch Set 3: Yes, this patch will not be able to fix the actual underlying issue; the best it

[gwt-contrib] Change in gwt[master]: Avoid creating anonymous inner classes with wildcard type pa...

2013-04-11 Thread Roberto Lublinerman
Roberto Lublinerman has uploaded a new change for review. https://gwt-review.googlesource.com/2470 Change subject: Avoid creating anonymous inner classes with wildcard type parameters. .. Avoid creating anonymous inner

[gwt-contrib] Change in gwt[master]: Avoid creating anonymous inner classes with wildcard type pa...

2013-04-11 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Avoid creating anonymous inner classes with wildcard type parameters. .. Patch Set 1: Code-Review+1 (4 comments)

[gwt-contrib] Change in gwt[master]: Avoid creating anonymous inner classes with wildcard type pa...

2013-04-11 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Avoid creating anonymous inner classes with wildcard type parameters. .. Patch Set 1: (2 comments)

[gwt-contrib] Change in gwt[master]: By default, disable Super Dev Mode on https pages. This shou...

2013-04-11 Thread Brian Slesinsky
Brian Slesinsky has uploaded a new change for review. https://gwt-review.googlesource.com/2480 Change subject: By default, disable Super Dev Mode on https pages. This should make it safer to leave the Super Dev Mode hook on all the time when the production server uses https.

[gwt-contrib] Re: Jenkins test setup

2013-04-11 Thread Matthew Dempsky
Status update: I've moved gwt-ci.dempsky.org to a new VPS with more RAM and swap (and better uptime, I expect), and now the open source test suite is actually able to successfully run: http://gwt-ci.dempsky.org:8080/job/gwt/4/ Still takes about 2 hours to just run the dev+draft tests, and I

[gwt-contrib] Change in gwt[master]: By default, disable Super Dev Mode on https pages. This shou...

2013-04-11 Thread Matthew Dempsky
Matthew Dempsky has posted comments on this change. Change subject: By default, disable Super Dev Mode on https pages. This should make it safer to leave the Super Dev Mode hook on all the time when the production server uses https.

Re: [gwt-contrib] Re: Jenkins test setup

2013-04-11 Thread Goktug Gokdogan
Cool! dev+htmlunit combination is the fastest internally so you might consider running it more frequently to get even quicker feedback. On Thu, Apr 11, 2013 at 3:44 PM, Matthew Dempsky mdemp...@google.comwrote: Status update: I've moved gwt-ci.dempsky.org to a new VPS with more RAM and swap

[gwt-contrib] Change in gwt[master]: Changes error messaging in devmode.js.

2013-04-11 Thread Goktug Gokdogan
Goktug Gokdogan has uploaded a new change for review. https://gwt-review.googlesource.com/2481 Change subject: Changes error messaging in devmode.js. .. Changes error messaging in devmode.js. This change makes sure we show

[gwt-contrib] Change in gwt[master]: Changes error messaging in devmode.js.

2013-04-11 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Changes error messaging in devmode.js. .. Patch Set 1: Code-Review+1 -- To view, visit https://gwt-review.googlesource.com/2481 To unsubscribe, visit

[gwt-contrib] Change in gwt[master]: By default, disable Super Dev Mode on https pages. This shou...

2013-04-11 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: By default, disable Super Dev Mode on https pages. This should make it safer to leave the Super Dev Mode hook on all the time when the production server uses https.

[gwt-contrib] Change in gwt[master]: Changes error messaging in devmode.js.

2013-04-11 Thread Goktug Gokdogan
Goktug Gokdogan has abandoned this change. Change subject: Changes error messaging in devmode.js. .. Abandoned Submitted. -- To view, visit https://gwt-review.googlesource.com/2481 To unsubscribe, visit