How can I fix path for project must have only one segment error when creating a new GWT app in eclipse?

2012-11-02 Thread BrianP
I'm using Eclipse Helios on Windows 7, with GWT SDK 2.3. I've got a few GWT projects with GWT 2.3 SDK. Those projects were created a couple years ago. I'm trying to create a new 'Web Application Project' (aka GWT or GAE project) and when I do so, I get the following error: Creation of

Re: how to get the new size after/during onResize()? why doesn't onResize() pass in the new size?

2011-01-10 Thread BrianP
could it be due to a delay? the browser isn't done laying out everything in the new position when it calls onResize? but that seems like a pretty fundamental problem. On Jan 7, 1:46 pm, BrianP brifo...@gmail.com wrote: I have a SplitLayoutPanel where one of the child components is a FlowPanel

how to get the new size after/during onResize()? why doesn't onResize() pass in the new size?

2011-01-07 Thread BrianP
I have a SplitLayoutPanel where one of the child components is a FlowPanel. I've extended FlowPanel to create a ResizableFlowPanel which implements ProvidesResize and RequiresResize, because the FlowPanel has child components which need to Resize as well. When dragging the splitters of the

Re: How to diagnose IE8 javascript error stack overflow at line: 0? ends up in Impl.entry0

2010-11-08 Thread BrianP
complex graphs over RPC) in order to avoid the stack overflow caused by GWT- RPC serialization/deserialization. You may have a look in that direction too. Hope it helps. didier On Nov 5, 8:22 pm, BrianP brifo...@gmail.com wrote: I have a GWT 2.0.3 app that runs fine in Firefox

Re: How to diagnose IE8 javascript error stack overflow at line: 0? ends up in Impl.entry0

2010-11-08 Thread BrianP
It looks like this is the case - a large/complex object over RPC causing the problem. I commented out that call to the server, and the component loaded fine. So the next question is: how do you know your objects are too large for RPC? Where is the threshhold? On Nov 8, 10:40 am, BrianP brifo

How to diagnose IE8 javascript error stack overflow at line: 0? ends up in Impl.entry0

2010-11-05 Thread BrianP
I have a GWT 2.0.3 app that runs fine in Firefox and Chrome. But when run in IE8 I get a javascript error that pops up with 'Stack over flow at line: 0'. When stepping through it in debug mode, I end up in GWT class Impl in the method entry0(Object jsFunction, Object thisObj, Object arguments).

Re: createLoginUrl not working in gwt dev mode (GWT and GAE tutorial)

2010-10-21 Thread BrianP
I've run into the same problem. I'm running in dev mode at http://127.0.0.1:/mypage.jsp?gwt.codesvr=127.0.0.1:9997 but GWT.getHostPageBaseURL() returns http://127.0.0.1:/ and so I am redirected there. Is there any way to detect dev mode and append my info, or have

GWT + GAE StockWatcher tutorial still has issues

2010-10-05 Thread BrianP
I've been following the GWT Tutorial - Google App Engine and following the Eclipse instructions. I downloaded and imported the StockWatcher project from http://code.google.com/webtoolkit/doc/latest/tutorial/projects/GettingStartedAppEngine.zip. Once I got to the point of testing the UserService

why doesn't this right-click capture work in IE?

2010-07-30 Thread BrianP
I'm trying to capture right-clicks on a widget, to popup my own context menu instead of the browser's. I've researched it a bit and pieced together bits and I've got it working in Chrome and FF but not IE. In IE it doesn't display the default browser context menu, but it doesn't display my popup

Re: why doesn't this right-click capture work in IE?

2010-07-30 Thread BrianP
onContextMenu(ContextMenuEvent event)                 {                     showMenu();                     event.preventDefault();                 }             }, ContextMenuEvent.getType()); On Jul 30, 11:16 am, BrianP brifo...@gmail.com wrote: I'm trying to capture right-clicks on a widget

GWTCanvas vs gwt-graphics?

2010-07-29 Thread BrianP
I'm looking for a library with (what seems like) basic drawing capabilities: - drawing circles, rectangles, and lines between them (like a family tree) - text notations on these objects; not exactly ON them, but near them - ability to fill partials on the circles and rectangles, mostly filling a