Re: Best practices?

2009-04-27 Thread Ben FS
Hi Laird, see below. I appreciate the efficiency of this from a DRY standpoint--the GWT internals are downloaded once--but I don't appreciate the *in*efficiency of this from a load-the-whole-world perspective.  That is, I don't particularly want 27 sub-apps living in my browser unless they

Re: How to debug whats grabbing my click events?

2009-04-25 Thread Ben FS
...@gmail.com wrote: Anyone? I'm still having trouble working out what widgets grabbing my clicks. Not sure if Ben's having the same trouble as me, but there must be some method to work it out no? (using Firebug, debuging code...anything?). On Apr 21, 7:00 am, Ben FS ben.su...@gmail.com wrote

Re: Insert Element into DOM and receive click events?

2009-04-24 Thread Ben FS
a great help. On Thu, Apr 23, 2009 at 1:12 PM, Ben FS ben.su...@gmail.com wrote: Hi Sumit, Is there any reason why you couldn't just call treeItem.setWidget(b) ? Yes. See issue #2297 that I submitted one year ago. TreeItem.setWidget deletes state/content of the widget

Re: Module without EntryPoint - How to compile?

2009-04-23 Thread Ben FS
. On Wed, Apr 22, 2009 at 9:05 PM, Ben FS ben.su...@gmail.com wrote: Do you see the non-entry point module in the list? Yes. If so, can you hit Restore Defaults, run the launch configuration, and see if that fixes your problem? Okay, I tried this as you describe and it worked. When I

Re: Best practices?

2009-04-23 Thread Ben FS
1. War files don't know about other war files.  So war file 1 can't go rummaging around in war file 2 to find a GWT module.  That's nevertheless sort of what I want to happen. Don't think so much in terms of WAR files and EntryPoints, and rather think in terms of existing HTTP and HTML

Re: Insert Element into DOM and receive click events?

2009-04-23 Thread Ben FS
that helps, -Sumit Chandel Thank you for taking the time to respond, it is much appreciated. On Tue, Apr 21, 2009 at 9:50 AM, Ben FS ben.su...@gmail.com wrote: I'd like to dynamically insert a Widget into/next to a single TreeItem, whenever a TreeItem is selected, but event handlers

Re: Best practices?

2009-04-23 Thread Ben FS
And I could have a module without an EntryPoint, as I understand it. Yes. Useful for common utility classes, UI components, authentication framework, etc. Or you can have one GWT module that itself includes and arranges other GWT modules (the sub-applications). Perhaps a *really* stupid

Re: Insert Element into DOM and receive click events?

2009-04-23 Thread Ben FS
gets a fix. Hope that helps, -Sumit Chandel Thanks, you've definitely been a great help. On Thu, Apr 23, 2009 at 1:12 PM, Ben FS ben.su...@gmail.com wrote: Hi Sumit, Is there any reason why you couldn't just call treeItem.setWidget(b) ? Yes. See issue #2297 that I submitted one year

Insert Element into DOM and receive click events?

2009-04-21 Thread Ben FS
I'd like to dynamically insert a Widget into/next to a single TreeItem, whenever a TreeItem is selected, but event handlers on the Widget never fire when I do this. My approach so far: I dynamically manipulate the DOM of a single TreeItem, when a selection event occurs. First I insert a DIV

Re: A native GWT chart library?

2009-04-21 Thread Ben FS
Thanks all for your help. You're welcome! Ben, I looked at the links you gave me, a lot of interesting things but no client-site library that fits my need. For what it's worth, I too would really like a client-side library - mainly so that I can do lots of quick, small updates without much

Re: How to debug whats grabbing my click events?

2009-04-20 Thread Ben FS
I too would like to know how to debug event-related problems? In my case, I dynamically insert an Element into a TreeItem, via DOM manipulation, in order to display an editing control for the selected tree node. This worked well using GWT 1.4.62, but no longer works using GWT 1.6.4. It looks

Re: Module without EntryPoint - How to compile?

2009-04-20 Thread Ben FS
To exclude non-entry point modules from being included during a Hosted Mode launch or a GWT Compilation, right-click on your project, and select Google Web Toolkit Settings. From there, you can remove the common module from the list of entry point modules. This should fix the problems that

Re: Module without EntryPoint - How to compile?

2009-04-20 Thread Ben FS
Hello Salvador, thanks for your feedback - I appreciate it. The errors I got have to do with some specifics of the Google Eclipse Plugin, and mainly the fact that I did not know where to find the settings that apply to the GWT compiler (in the past, I used a different IDE without the Plugin,

Re: A native GWT chart library?

2009-04-20 Thread Ben FS
See the following page where I maintain a list of various charting libraries (many are client-side), amidst a bunch of other toolkits. You might want to do a Find for chart. http://code.google.com/p/macdadi/wiki/BenLinks I unfortunately can't use Google Visualization bc it's for an intranet

Re: How to debug whats grabbing my click events?

2009-04-20 Thread Ben FS
Widget's ClickHandler is not getting called, but don't know how to go about investigating (or fixing this). Any advice? On Apr 20, 5:13 pm, Ben FS ben.su...@gmail.com wrote: I too would like to know how to debug event-related problems? In my case, I dynamically insert an Element into a TreeItem, via