cellbrowser open/close nodes programatically
I'm using the gwt cellbrowser, so far it has been an uphill battle. I got this bad feeling that I'm not using it as it is intended to be used. It seems to me that: there is a difference between selecting a node and opening that node. there is no way to open/close nodes programatically. the cellbrowser's open/close handlers never fire (although clicking on a node renders that node's children in the next panel. I'm able to use the selectionModel to select a node but that doesn't open the node. In other words, the node's children don't show up (until I click on the node). Is there anyway, I can open and close nodes programatically? Thanks in advance. -- 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-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
UiBinder errors not very helpful -- am i missing a compiler option?
Hi, I'm starting a new gwt project, and I've decided to use UiBinder instead of pure java. I'm starting to regret this decision. In fact, I'm starting to think that maybe I should switch to pure java. But before that, I thought I post a question and get your feedback. In my limited experience, UiBinder is all great, until something goes wrong. Then there is no indication of how to solve the problem. All I get from eclipse is "Failed to create an instance of vai deferred binding." Followed by a null pointer stacktrace. Not very useful. And if I want to figure out what's going on, I guess I'll have to figure out where the compiled is stored and scan through that...which defeats the point of having a compiler. Am I missing a compiler option or something that would generate better error messages? Thanks in advance. -- 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-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
refreshing elements on the page
Hi I play with GWT in the weekends, and I really like what i've seen so far. I have 2 questions: 1. I don't really understand the execution model of my app. I think that's because I don't know javascript. I'm assuming that there is only one logical thread from the browser running the javascript and it is the same thread that updates the display (disregarding asynchronous requests). So when through js I add 50 elements to a frame, the 50 elements are displayed after all of them are added to the frame. In other words, after the js has finished executing. Do I have it right? Are there articles out there on this topic? 2. Sorry this is not a great example, but it may get my question across. What do I do in the following situation (design): a) update the text in a label to "starting..." b) do a bunch of js and dom manipulation c) update the text in the label to "finished!" Currently, all I see is the after-effect: my dom manipulation and "finished". The label never displays "starting..." How can I force the label to refresh between step a & b. I've seen some posts describing that one could use the Timer and somehow force the element to refresh. But I can't figure out how this is achieved. Looking forward to your suggestions. Thanks in advance. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
bikeshed-expense source code (gwt-bikeshed.appspot.com)?
Hi, Is the source code for the bikeshed app available? You can find the app here (http://gwt-bikeshed.appspot.com/ Expenses.html). Thanks in advance. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Composite - capture arrow keys
Thank you! That worked perfectly. On May 15, 3:05 am, rjcarr wrote: > Instead of adding your event handlers to your composite you should > instead add them to the main component in your widget. Since you need > to capture mouse and key events you'll want to use a FocusPanel > (instead of a FlowPanel). You'll want to add a ClickHandler and one > of the Key Handlers to the FocusPanel. > > Good luck! > > On May 15, 1:11 am, HBA wrote: > > > > > > > Hi, > > > I have written a small widget by extending the Composite (containing a > > flowPanel, image & lable). I'm using the onBrowserEvent method to > > handle mouse clicks. That works well. > > > However, now I'm trying to capture arrow key events. I'm not able to > > capture any keyboard events at all. I have even tried the sinkEvent > > method; sinkEvents(Event.ONKEYDOWN); > > > I'm guessing it is because my widget can't accept input. > > > Thanks in advance. > > > Houman > > > -- > > 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 > > google-web-toolkit+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/google-web-toolkit?hl=en. > > -- > 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 > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Composite - capture arrow keys
Hi, I have written a small widget by extending the Composite (containing a flowPanel, image & lable). I'm using the onBrowserEvent method to handle mouse clicks. That works well. However, now I'm trying to capture arrow key events. I'm not able to capture any keyboard events at all. I have even tried the sinkEvent method; sinkEvents(Event.ONKEYDOWN); I'm guessing it is because my widget can't accept input. Thanks in advance. Houman -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.