Tracking down an erroneous brace

2012-11-29 Thread David Pinn
I'm not seeing any ill effects of this GWT compilation error, but I'm anxious about leaving this warning un-addressed: [INFO] [gwt:compile {execution: default}] [INFO] Compiling module net.byandlarge.rendezvous.Rendezvous [INFO]Computing all possible rebind results for

Re: Tracking down an erroneous brace

2012-11-29 Thread David Pinn
Well, that's embarrassing. You know, you can look at something forever and still not see what is right there in front of you. Abraham, thank you, thank you. -David On Friday, November 30, 2012 2:32:27 PM UTC+11, Abraham Lin wrote: Looks like there's an extra comma on line 20 (right before

Adding and deleting editable list items

2011-05-22 Thread David Pinn
How would I implement this?: I have a list of text items. When the users clicks the Add button, a new item is added to the end of the list, and is put into edit mode so that the user can edit the text in place. When the user has finished editing the new item, the new item is highlighted and has

Need help with Data Presentation Widget selection concepts

2011-05-19 Thread David Pinn
Let me see if I understand this correctly. a) The Data Presentation Widgets have two notions of item selection: the selected item (SI), and the keyboard selected item (KSI). b) Application code can set the SI via the selection model; application code cannot set the KSI. c) You can make the SI a

Re: GWT community in Sydney?

2011-05-18 Thread David Pinn
This is a great start. I've booked myself into the May 31 meeting of Sydney GTUG. Brett and mattai, will either of you guys be attending? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: GWT community in Sydney?

2011-05-18 Thread David Pinn
Yes, do come, Slava. On May 19, 9:08 am, Brett Freer rhapsodysoluti...@gmail.com wrote: Yes. GTUGs are free and open to everyone. Come along and get involved! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

GWT community in Sydney?

2011-05-17 Thread David Pinn
I rub shoulders with a bunch of Ruby folk, amongst whom there is a real sense of camaraderie and community. They get together to code, drink beer, go on Rails camps, etc. For them it's a face-to-face social experience, not just an on-line one. As a GWT developer I feel left out. Is there a GWT

JavaScript errors in dynamic host page

2011-04-06 Thread David Pinn
I'm trying to implement the dynamic host page pattern as described here: http://code.google.com/webtoolkit/articles/dynamic_host_page.html; but Im finding that the module won't load. I suspect that the existence of two JavaScript errors in GWT-generated code are the reason. When running the

Re: JavaScript errors in dynamic host page

2011-04-06 Thread David Pinn
what's going on here, and how I might get around it? On Apr 6, 5:49 pm, David Pinn dp...@byandlarge.net wrote: I'm trying to implement the dynamic host page pattern as described here:http://code.google.com/webtoolkit/articles/dynamic_host_page.html; but Im finding that the module won't load. I

Re: JavaScript errors in dynamic host page

2011-04-06 Thread David Pinn
these headers also. Do you think their omission is to blame? On Apr 6, 8:03 pm, Paul Robinson ukcue...@gmail.com wrote: Have you used firebug to check that the response body *and* the http headers are the same in the static and dynamic versions? On 06/04/11 08:54, David Pinn wrote: Oops

Re: JavaScript errors in dynamic host page

2011-04-06 Thread David Pinn
Using BurpSuite, I intercepted the HTTP response to the request for the dynamic page, inserting the four headers that I mentioned earlier. It worked. I am now officially very excited. As to *why* it worked, I am in the dark. On Apr 6, 10:13 pm, David Pinn dp...@byandlarge.net wrote: I have now

Re: JavaScript errors in dynamic host page

2011-04-06 Thread David Pinn
Yes, yes! That's it! I had the following at the top of both the static and dynamic pages: ? xml version=1.0 encoding=utf-8 ? When I removed it from the dynamic version, it worked. And I didn't have to mess around with any headers. On Apr 6, 10:36 pm, Thomas Broyer t.bro...@gmail.com wrote:

Re: JavaScript errors in dynamic host page

2011-04-06 Thread David Pinn
So, GWT doesn't like XHTML? On Apr 6, 10:59 pm, Thomas Broyer t.bro...@gmail.com wrote: Glad that it works, but you should really send a Content-Type header! (and if you have to do it manually, try to send the encoding in it too, rather than using a meta –or nothing at all?!–:

Dynamic host page - GWT module not loaded

2011-04-04 Thread David Pinn
Has anybody been successful in running a GWT application the host page of which is dynamically created as per http://code.google.com/webtoolkit/articles/dynamic_host_page.html? I can't get it to work. The page itself appears, but the GWT module does not get loaded. -- You received this message

Rendering labels within text fields

2011-03-30 Thread David Pinn
I'm trying to render labels inside text fields. When the user begins typing, the labels fade away and become invisible.To accomplish this, I'm giving the TextBox widgets 'background: none; z-index: 10'; and I'm rendering the labels behind them with 'background: #fff; z-index: 1'. Just

Re: Rendering labels within text fields

2011-03-30 Thread David Pinn
, David Pinn dp...@byandlarge.net wrote: I'm trying to render labels inside text fields. When the user begins typing, the labels fade away and become invisible.To accomplish this, I'm giving the TextBox widgets 'background: none; z-index: 10'; and I'm rendering the labels behind them

Re: Rendering labels within text fields

2011-03-30 Thread David Pinn
Hey! it worked. Thanks again. On Mar 31, 5:36 am, Javier javierferre...@gmail.com wrote: Are you positioning the elements? z-index only works on positioned elements (position:absolute, position:relative, or position:fixed) On 30 mar, 04:42, David Pinn dp...@byandlarge.net wrote: I'm

Re: FormPanel.SubmitEvent cancel not working

2011-01-11 Thread David Pinn
I'm seeing this behaviour in GWT 2.1.1. I am explicitly cancelling the SubmitEvent; yet the following error message is displayed: GWT module 'blahblah.MyApp' may need to be (re)compiled I've been unable to completely diagnose the problem, but this might be a clue: The FormPanel class has

Purposes of three JAR files

2010-12-25 Thread David Pinn
What purposes are served by each of the main GWT JAR files: gwt-user.jar, gwt-servlet.jar, and gwt-dev.jar? I'm putting together a project definition in Intellij IDEA, and would like to know which JAR files to include, and at which scope (compile, test, provided, runtime) -- You received

Re: Giving focus to a node in a CellTree

2010-11-25 Thread David Pinn
On Nov 24, 9:21 pm, ep eplisc...@googlemail.com wrote: what do you mean by node? I mean a branch of the tree. The CellTree displays the selected branch (aka node) using a blue background. The branch with focus is displayed with a light yellow background, unless that focussed branch is also

Giving focus to a node in a CellTree

2010-11-23 Thread David Pinn
The CellTree widget has a setFocus() method..cool; but I can't see how I can give keyboard focus to a specific node within the tree. Can someone help me with that? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: Problems selecting a Cell in a CellTree

2010-11-21 Thread David Pinn
Have a look at the implementation of DatePickerCell. On Nov 22, 12:18 am, dleins dle...@gmail.com wrote: John, thanks for the idea, but the goal is to identify a particular cell to permit the change of a whole set of parameters when a particular cell is selected, not just the text in the cell.

Re: CellTree with different types at same level

2010-11-16 Thread David Pinn
I think type checking and casting within the cell is necessary in that case. On Nov 17, 10:47 am, decitrig rws...@gmail.com wrote: The docs for CellTree say that nodes at the same level usually share a common type, but that it isn't necessary. However, since the data providers node info are

Re: FocusPanel with nested focusable elements

2010-11-05 Thread David Pinn
I'm eager to read an answer to this too. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to

How can I use a Widget to edit a CellTree node?

2010-11-03 Thread David Pinn
When the user edits a node of my CellTree, I want to inject a composite widget into the tree at that point to handle the editing. To experiment with this, I created the following custom TextArea sub- class: class MyTextArea extends TextArea { public static MyTextArea addToElement(Element

Re: CellTree reordering nodes?

2010-11-01 Thread David Pinn
I don't know you you've screwed up; but if you have, so have I. I too have been seeing very strange event-handling behaviour, with values being passed to getNodeInfo that are not for the node clicked on. Using your trick with .add(0, Object) made my problem go away too. Right now I'm really happy

Re: CellTree reordering nodes?

2010-11-01 Thread David Pinn
...@google.com On Mon, Nov 1, 2010 at 5:17 AM, rahul vijay shinde shinderah...@rediffmail.com wrote: These mail are been wrongly marked to me Please avoid. Regards Rahul Shinde On Mon, 01 Nov 2010 13:53:51 +0530 David Pinn wrote I don't know you you've screwed up

My kingdom for a cache

2010-09-16 Thread David Pinn
I'm looking for a Java class or Java library that will help me implement a client-side cache for data fetched from the server. I'm thinking of a Map-like structure the contents of which are evicted on a least-recently-used basis, or after some predefined duration. Since it will be embedded in a

Re: My kingdom for a cache

2010-09-16 Thread David Pinn
Thank you, Marcin; that is useful. On Sep 16, 10:36 pm, Marcin Zawadzki marcin.zawad...@gmail.com wrote: Take a look at this, might help http://turbomanage.wordpress.com/2010/07/12/caching-batching-dispatch... On Thu, Sep 16, 2010 at 2:15 PM, David Pinn dp...@byandlarge.net wrote

Re: My kingdom for a cache

2010-09-16 Thread David Pinn
:15 PM, David Pinn dp...@byandlarge.net wrote: I'm looking for a Java class or Java library that will help me implement a client-side cache for data fetched from the server. I'm thinking of a Map-like structure the contents of which are evicted on a least-recently-used basis, or after some

Google's commitment to GWT

2010-08-20 Thread David Pinn
Perhaps it's the demise of Wave; or maybe I've just been hanging out with too many Ruby fan boys; but I'm nervous about the future of GWT. I have a huge investment in GWT, in terms of learning and effort, not to mention a sizeable and growing code base. Please tell me that GWT isn't going away.

Re: RichTextArea initialization

2010-05-13 Thread David Pinn
Cross-posting to stackoverflow.com. See http://stackoverflow.com/questions/2824853/why-does-gwts-richtextarea-implement-hasinitializehandlers. On May 11, 5:18 pm, David Pinn dp...@byandlarge.net wrote: Why doesRichTextAreaimplement HasInitializeHandlers? What can I do with myRichTextAreabefore

RichTextArea initialization

2010-05-11 Thread David Pinn
Why does RichTextArea implement HasInitializeHandlers? What can I do with my RichTextArea before the onInitialize method has been called, and what must wait until afterwards? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Giving each new account its own sub-domain

2010-03-02 Thread David Pinn
I'd like my application's sign-up process to give each new account its own sub-domain, through which users would subsequently access the application proper. The 37Signals (http://37signals.com) applications, for example, work that way. If I sign up for Basecamp, a new david.basecamphq.com sub-

Re: Giving each new account its own sub-domain

2010-03-02 Thread David Pinn
On Mar 3, 10:14 am, Brett Morgan brett.mor...@gmail.com wrote: That is pretty much outside of the realm of control of GWT, it's more a question of how you setup your DNS and your web server. Do you refer to URL re-writing? Are you thinking that I could translate

setVisible vs. add/remove

2009-10-03 Thread David Pinn
I want to confirm my understanding of the fastest way to reveal and hide widgets. For example, as the user navigates around my application, different widgets should appear in the 'contents' part of the screen. Am I correct in assuming that calling: myWidget.setVisible(true);