Listbox does not multi select by default
I have this code inside the constructor of one of my widgets(using uibinder)- lbnames = new ListBox(true); lbnames.setWidth(11em); lbnames.setVisibleItemCount(3); initWidget(binder.createAndBindUi(this)); lbnames.addItem(Item1); lbnames.setItemSelected(0, true); lbnames.addItem(item2); lbnames.setItemSelected(1, true); I expect, the above code will select both the list items by default. But it does not. It adds the two items but with only one visible item. How can I multi select by default in a listbox? -- 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.
how to display Google map widget in a vertical panel of GWT designer?
Hi All, I want to design an web application, wherein i hav to display the google map with multiple markers of different colours and also display the combo box listbox controls next to the map on the same screen. Am using the gwt_Maps API. I want to display the google map in a verticalpanel or in the center of docklayout panel in the GWT designer/window builder. How can i add combo box textbox control next to the google map in the same screen? How can i add multiple markers with different colours on the google map using gwt_maps API. can anyone please help me out in solving these issues as soon as possible, bcoz i hav to complete this project very urgently!! regards Pravina Sunil -- 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.
Re: DataGrid (GWT 2.4) not visible in HTMLPanel
Hello, I have the same issue. But if I don't set a size in pixeles the data grid is hidden. Could you tell me what do you do? Thanks Emanuel On Sep 22, 12:33 pm, Uemit uemit.se...@gmail.com wrote: @Steve: Thanks for the confirmation. I put the DataGrid in a ResizeLayoutPanel and it works fine now. -- 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.
Re: future of gwt who use gwt
The death of Go seems to me that Dart is just another experiment of Google. When did Go die? Also, if it were dead, why did Google introduce it in the most recent AppEngine API? That was two weeks ago. http://blog.golang.org/2011/10/go-app-engine-sdk-155-released.html Just asking... Shawn -- 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.
Apache Tomcat - Access Files Outside Webroot
Hello everyone, I had deployed my GWT application in the application server Apache Tomcat. My GWT application needs to access files in folder C: \Storage. In development mode the application runs like a charm but in an external web server (Apache Tomcat) it does not run, crashes when it tries to copy files from C:\Storage to \docs. I think this might be because i'm trying to access files outside the webroot. How can i solve this situation? Using apache commons libs to deal with files? Could be permissions? I need some enlightment, some help will be very apreciated. Thanks in advance, João Cavaleiro. -- 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.
Apache Tomcat - Access Files Outside Webroot
Hello everyone, I had deployed my GWT application in the application server Apache Tomcat. My GWT application needs to access files in folder C: \Storage. In development mode the application runs like a charm but in an external web server (Apache Tomcat) it does not run, crashes when it tries to copy files from C:\Storage to \docs. I think this might be because i'm trying to access files outside the webroot. How can i solve this situation? Using apache commons libs to deal with files? Could be permissions? I need some enlightment, some help will be very apreciated. Thanks in advance, João Cavaleiro. -- 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.
Re: Array Performance
I wrote JS equivalent of my test case in 4 ways. function mgpoint1(x,y) { this.x = x; this.y = y; this.getX = function() { return this.x; } this.getY = function() { return this.y; } this.getDimension = function() { return 2; } this.setCoordinates = function(x,y) { this.x = x; this.y = y; } } mgpoint2 is array version of mgpoint1. mgpoint3 is prototype version of mgpoin1. mgpoint4 is prototype version of mgpoint2. function mgpoint3(x,y) { this.x = x; this.y = y; } mgpoint3.prototype.getX = function() { return this.x; } mgpoint3.prototype.getY = function() { return this.y; } mgpoint3.prototype.getDimension = function() { return 2; } mgpoint3.prototype.setCoordinates = function(x,y) { this.x = x; this.y = y; } The test code is var i; var z = 0; for(i=0; i 100; ++i ) { var point = new mgpoint1(26,45); var x = point.getX(); var y = point.getY(); var dimension = point.getDimension(); z = x + y + dimension; } Then I wrote another case for simple optimization in js. function mgpoint5() { this.x = 26; this.y = 45; } var i, x, y, point; var z = 0; for(i=0; i 100; ++i ) { point = new mgpoint5(); x = point.x; y = point.y; z = x + y + 2; } My results are a bit strange. 1 million times (Chrome 14 results) JS X-Y: mgpoint1 : 1021 JS Array: mgpoint2 : 1061 Proto X-Y: mgpoint3 : 310 Proto Array: mgpoint4 : 356 Optimized X-Y: mgpoint5 : 308 GWT X-Y: MGPoint2 : 31 GWT Array: MGPoint : 2327 1 million times (Firefox 5 results) JS X-Y: mgpoint1 : 1499 JS Array: mgpoint2 : 1732 Proto X-Y: mgpoint3 : 1166 Proto Array: mgpoint4 : 1379 Optimized X-Y: mgpoint5: 455 GWT X-Y: MGPoint2 : 342 GWT Array: MGPoint : 5613 On Oct 24, 7:21 pm, Thomas Broyer t.bro...@gmail.com wrote: Are you compiling with -XdisableCastChecking? That might make a difference. -- 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.
Re: Array Performance
Compile in -style PRETTY to see how GWT compiles your Java code down to JS. There won't be getX/getY (they'll be inlined), at least in the x,y case (and if there are, they'll be staticified: getX(point) instead of point.getX()). And you'll probably see type coercion/checking in the array case (and if that's the case, as I suspect, it's what causes the difference in performance between your two implementations). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/H0-_ephFQ2UJ. 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.
Re: GWT maven plugin doesn't find the GWT linker classes
The error comes from the maven-compiler-plugin, not the gwt-maven-plugin. It seems like you didn't add com.google.gwt:gwt-dev as a dependency. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/MrwHzI5v-Y0J. 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.
Re: UIBinder sprite
The difference is that the Dev Guide references a ClientBundle (with its own CssResource) from a UiBinder file, whereas in the issue, the OP tries to create a CssResource (ui;style) referencing an ImageResource declared in another ClientBundle. You currently have a choice: - either use ClientBundle+ImageResource+CssResource, following http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html - or benefit from the implicit ClientBundle created by UiBinder, using ui:style to generate a CssResource, and ui:image to generate an ImageResource (and ui:data for a DataResource, FWIW) Unfortunately, ui:image is not documented in the Dev Guide, but you'll find examples in the mail and expenses samples (actually, you'll even find on in the JavaDoc for CustomButton: http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/CustomButton.html ) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/jn0RwDerpaIJ. 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.
Re: permutation explosion
What's the size distribution within war/'module-name'/ ? Do you use many resources (mainly DataResource, ImageResource)? Do you use 'public' resources (files in 'public' subfolders of your modules)? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/rPQQ2dg-F0sJ. 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.
Re: permutation explosion
Hi Thomas. It seems that the deferredjs folder within the war/'module-name' folder takes up 88 MB. Is it normal? The PNGs in war/'module-name' are a only a few with max size of 16 KB. The war/'module-name' has more than 20 html files, each of one larger than 700 KB. Thank you! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/rm-Ka_Xae-4J. 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.
Re: why does the HTML widget do not have a name attribute?
GWT cannot know how many instances of your component you'll instantiate in the lifetime of your application, so it doesn't make it easy to give widgets an ID. It's still possible though (myWidget.getElement().setId(myId), which supposes you know what you're doing). See also https://github.com/stubbornella/csslint/wiki/Disallow-ids-in-selectors (please read the linked blog post, and also follow links from there) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/xhCMtE-6eT8J. 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.
Re: DataGrid (GWT 2.4) not visible in HTMLPanel
Answered yesterday on StackOverflow: http://stackoverflow.com/questions/7875620/solved-gwt-datagrid-automatic-height -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/VlCgeUEmnFoJ. 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.
Re: Howto listen for global key down events
On Mon, Sep 19, 2011 at 12:04 PM, Y2i yur...@gmail.com wrote: Have you tried Event.addNativePreviewHandler() http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/Event.html#addNativePreviewHandler(com.google.gwt.user.client.Event.NativePreviewHandler) ? I was using this option to define short cut keys in the screen. but i have 2-3 screens in my application. so this short cut keys should work differently on screen by screen. So I had to define *NativePreviewHandler *in each screen, and remove them when application unload that screen (to avoid NativePreviewHandler being fired again even after quiting from that screen). but problem arose when I wished to define a common header widget. (just like we use header.jsp). I want to define a few shortcuts where ever this header has been used. but it will be a burden to remove NativePreviewHandler wherever it has been used. ie, this header should be independant. Any idea or workaround to achieve this?. Thanks. -- Sarjith -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/wzgBDGYEFXAJ. 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. -- 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.
Re: future of gwt who use gwt
[This is not the place to discuss Dart, please follow up on https://groups.google.com/a/dartlang.org/group/misc/topics (which I do not follow) ] On Tuesday, October 25, 2011 12:19:54 AM UTC+2, Tomasz Gawel wrote: I still don't understand the need for dart. Have a look at www.infoq.com/articles/google-dart if it would be cross-compiled so where is the advantage over gwt? in gwt we have the language that we allready know and tools that were worked out over years. if it will be incorporated into browser as virtual machine than just why not to incorporate the jvm? licensing issues? Dart is designed so as to be cross-compiled to JS, so there's no impedance mismatch. GWT has to do some really tricky things to compile Java to JS (for instance, in Java every object has a hashCode() method and this causes issues when people try to put DOM elements into maps: http://code.google.com/p/google-web-toolkit/issues/detail?id=4086; in Dart, there's a Hashable interface –implemented by very few objects–, and a Hashmap can only use Hashable-s as keys). and another thing - javascript is extremely powerful scripting language. (as far as it is used for scripting - max 300 lines of code it's flexibility is a real power. when comes to maintaining bigger apps this flexibility occurs to be serious flaw, but it the place where gwt enters the play. as i look closer at DART i start to suspect that probably it is not to replace javascript but to replace java (and so avoid dependence to oracle) but do they think they can provide something better than java which gained its maturity over years? Oh yeah, dependence to Oracle; not as if they're going to provide MySQL in AppEngine ;-) http://googleappengine.blogspot.com/2011/10/google-cloud-sql-your-database-in-cloud.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/QzT8_eAtEQQJ. 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.
Re: permutation explosion
Have a look at your compile report then: http://code.google.com/webtoolkit/doc/latest/DevGuideCompileReport.html and possibly tweak your usage of GWT.runAsync (you probably use it too much). (but really, 137MB still seems huge to me) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/4EbV322CSkwJ. 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.
Re: Howto listen for global key down events
How about using a single NativePreviewHandler into which screens (or other widgets) will register? Or how about having thins NativePreviewHandler singleton fire events on the EventBus, and have screens and other widgets add handlers to the EventBus? (BTW, Activities make it easy to manage the lifecycle of your screen parts, which makes it easy to register/unregister things –it's even easier with the EventBus, as you don't even have to explicitly remove your handlers–) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/udDSY8Xb7BwJ. 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.
Re: Array Performance
I forgot to mention the for loop invariant. By test results are according to var times = document.getElementById(times).value; //Began capturing time for(i=0; i times; ++i) { ... } I have converted it to var times = parseInt(document.getElementById(times).value); //Began capturing time for(i=0; i times; ++i) { ... } So the results are: My results are a bit strange. 1 million times (Chrome 14 results) JS X-Y: mgpoint1 : 645 JS Array: mgpoint2 : 718 Proto X-Y: mgpoint3 : 37 Proto Array: mgpoint4 : 56 Optimized X-Y: mgpoint5 : 23 GWT X-Y: MGPoint2 : 31 GWT Array: MGPoint : 2461 1 million times (Firefox 5 results) JS X-Y: mgpoint1 : 414 JS Array: mgpoint2 : 576 Proto X-Y: mgpoint3 : 120 Proto Array: mgpoint4 : 204 Optimized X-Y: mgpoint5: 114 GWT X-Y: MGPoint2 : 137 GWT Array: MGPoint : 4014 -XdisableCastChecking resulted with no change. On Oct 25, 1:09 pm, Thomas Broyer t.bro...@gmail.com wrote: Compile in -style PRETTY to see how GWT compiles your Java code down to JS. There won't be getX/getY (they'll be inlined), at least in the x,y case (and if there are, they'll be staticified: getX(point) instead of point.getX()). And you'll probably see type coercion/checking in the array case (and if that's the case, as I suspect, it's what causes the difference in performance between your two implementations). -- 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.
Re: Apache Tomcat - Access Files Outside Webroot
João On 10/25/2011 1:44 AM, Jmscavaleiro wrote: Hello everyone, I had deployed my GWT application in the application server Apache Tomcat. My GWT application needs to access files in folder C: \Storage. In development mode the application runs like a charm but in an external web server (Apache Tomcat) it does not run, crashes when it tries to copy files from C:\Storage to \docs. I think this might be because i'm trying to access files outside the webroot. How can i solve this situation? Using apache commons libs to deal with files? Could be permissions? I need some enlightment, some help will be very apreciated. This is something that I do all the time so its your setup that's at fault. Are you seeing any exceptions in the log files - logs/catalina.out would be a good place to look. You can use the standard java.io.*classes such as File , FileReader, FileWriter to make the transfers. I suspect that you have an error in the way the paths are created in your production server. Another possibility is that you have a security manager in place - once again, check your logs. Alan Thanks in advance, João Cavaleiro. -- 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.
Sort be multiple columns
Hi everybody, how is it possible to sort a datagrid or celltable by multiple columns. I want to sort them by clicking on the column header. If I click on a second column, the firt sorting should be used too. Is this possible? Kind regards, Foermchen82 -- 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.
Re: can we control what element will build in widget?
ok,now i have the last question: the element compiled by gwt,what will determine its type?by gwt compiler,or the class's source code? On Oct 25, 11:02 am, Patrick Julien pjul...@gmail.com wrote: If you want this level of control you can use Element directly or an HTMLPanel http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/g... -- 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.
Re: can we control what element will build in widget?
http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/dom/client/Element.html Look at direct known sub classes. There is one element type for each html tag. If you create a custom widget (class MyWidget extends Widget) you have to call setElement(Element e) in MyWidget's constructor. This will tell the Widget which HTML element to use as its container. A GWT Label for example calls setElement(DOM.createDiv()) whereas an InlineLabel does setElement(DOM.createSpan()). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/aiT3E8KwNmgJ. 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.
Re: GWT Developer Plugin for Firefox 7
Works regular for me on Mac OS X 10.7.2 64bit -- S postovanjem, *Ivan Dimitrijevic*, dipl.ing. ISiT, MSc d...@dnjcompany.com d...@dnjcopmany.com http://dimi.dnjcompany.com On Tue, Oct 25, 2011 at 16:29, Joel glatap...@gmail.com wrote: It seems to work for me as well, under Firefox 7.0.1 with Windows 7 x64. When is the deployment planned ? On Oct 10, 6:27 pm, Alan Leung acle...@google.com wrote: For those who had experienced a crash on 32bit Linux, would you mind doing me a favor by trying the attached xpi file? Thanks! -Alan On Mon, Oct 10, 2011 at 3:15 PM, Michael Vogt vmei...@googlemail.com wrote: works perfectly on my Ubuntu 64 bit Linux N53SV 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux FF 7.0.1 Yes works also on my ThinkPad with Ubuntu 11.04 64-bit and Firefox 7.0.1 at home. -- 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. gwt-dev-plugin.xpi 4080KViewDownload -- 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. -- 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.
Re: SOLVED how to Put a GWTPanel into a html div/div
Looks like the only difference would be that he ends up setting the body element, which is retrieved with get(), to 800 x 600. Other than the extra work of moving VLayout from the body element to the main element. On Oct 23, 12:29 pm, Thomas Broyer t.bro...@gmail.com wrote: How is that different from RootPanel.get(main).add(getVLayout()) ? (or maybe RootPanel.get(main).add(getVLayout(), 156, 52), I never use absolute positionning so I don't know how it works when you move your VLayout from RootPanel.get() to RootPanel.get(main)) Did I miss anything? -- 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.
Re: permutation explosion
Thomas, thanks for the advice. I've used set-property name='locale' value='default' / in order to reduce the number of permutations from ~50 to 5. I've learned that I had 50 permutations by looking at the compile report you mentioned. This reduced the war folder size to 86 MB. This will allow me to test with code for different user agents, while locale is still not an issue. Thanks! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/or-x9OrNzA8J. 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.
Nested Editor creation question
Hello, I have a simple case where I've got an UserEditor and an AddressEditor inside the UserEditor. Then there's the UserEditorWidget (in DynatableRF it would be called UserEditorWorkflow, i think) which owns the UserEditor and starts the edit process, flushes the context etc. Now I wondered why i have to use @UiField(provided = true) UserEditor userEditor in my UserEditorWidget, while I can do @UiField UserAddressEditor userAddress; in my UserEditor. To make it clear: I have to instantiate the UserEditor myself (via new UserEditor( ) or injection) while UiBinder is able to create the child editor of the UserEditor itself. Why is that? Regards Alex -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/zddOcoHElA8J. 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.
Re: Nested Editor creation question
On Tue, Oct 25, 2011 at 5:20 PM, opn open...@gmx.net wrote: Hello, To make it clear: I have to instantiate the UserEditor myself (via new UserEditor( ) or injection) while UiBinder is able to create the child editor of the UserEditor itself. Why is that? If you can create your UserEditor, with 'new UserEditor() ' you don't need to use the 'provided=true'. UiBinder can create it for you. provided=true is for when UiBinder cannot create an instance of the object itself, either because it needs constructor arguments, or you want it to use a specific instance. -- 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.
Editor not flush values of subeditors
Hello: I am working in a project with GWT (RF, Editors, MVP). I have an error with bind of Editor The error itself, is that address property is not sent, not sent values with flush is called in method save of *TerceroNewEditorPresenter*. The unique values that are sent, are those that correspond to *Tercero (name and lastName). * Attached files to see and guide me in the error. Thank you very much and sorry for my English. A.U.S Cristian Rinaldi Teléfono Móvil: (0342) 155 238 083 www.logikas.com Lisandro de la Torre 2643 Of 5 - 3000 - Santa Fe Teléfono Fijo: (0342) 483 5138 -- 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. /** * */ package com.logikas.erp.client.ui; import com.google.gwt.user.client.ui.HasConstrainedValue; import com.logikas.erp.client.activity.presenter.MutablePresenter; import com.logikas.erp.shared.proxy.CityProxy; /** * Package: com.logikas.erp.client.ui * File:AddressView.java * Date:11/10/2011 * * @autor cristian - Logikas Conectando Ideas */ public interface AddressView extends View{ public interface Presenter extends MutablePresenterAddressView{ } HasConstrainedValueCityProxy getCitys(); } /** * */ package com.logikas.erp.client.ui; import com.google.gwt.editor.client.Editor; import com.google.gwt.editor.client.IsEditor; import com.google.gwt.user.client.ui.HasConstrainedValue; import com.logikas.erp.client.activity.presenter.NavigationPresenter; import com.logikas.erp.shared.proxy.CityProxy; /** * Package: com.logikas.erp.client.ui * File:SelectorCityView.java * Date:11/10/2011 * * @autor cristian - Logikas Conectando Ideas */ public interface SelectorCityView extends IsEditorEditorCityProxy, View{ public interface Presenter extends NavigationPresenterSelectorCityView{} HasConstrainedValueCityProxy getListCity(); } /** * */ package com.logikas.erp.client.ui; import com.google.gwt.editor.client.Editor; import com.google.web.bindery.requestfactory.gwt.client.RequestFactoryEditorDriver; import com.google.web.bindery.requestfactory.shared.RequestFactory; import com.logikas.erp.client.activity.presenter.MutablePresenter; import com.logikas.erp.shared.proxy.TercerosProxy; /** * Package: com.logikas.erp.client.ui File: TerceroView.java Date: 11/10/2011 * * Representa el formulario de carga de la informacion asociada a un tercero * * @autor cristian - Logikas Conectando Ideas */ public interface TerceroNewView extends View { public interface Presenter extends MutablePresenterTerceroNewView{ } AddressView getAddressView(); RequestFactoryEditorDriverTercerosProxy, ? extends EditorTercerosProxy createEditorDriver( RequestFactory rf); } /** * */ package com.logikas.erp.client.ui; import com.google.gwt.user.client.ui.IsWidget; /** * Package: com.logikas.erp.client.ui File: View.java Date: 03/10/2011 * * @autor cristian - Logikas Conectando Ideas */ public interface View extends IsWidget { } /** * */ package com.logikas.erp.client.ui.impl; import com.google.gwt.core.client.GWT; import com.google.gwt.editor.client.Editor; import com.google.gwt.editor.ui.client.ValueBoxEditorDecorator; import com.google.gwt.inject.client.AsyncProvider; import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.uibinder.client.UiField; import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.gwt.user.client.ui.HTMLPanel; import com.google.gwt.user.client.ui.HasConstrainedValue; import com.google.gwt.user.client.ui.Widget; import com.logikas.erp.client.Constans; import com.logikas.erp.client.ui.AddressView; import com.logikas.erp.client.ui.SelectorCityView; import com.logikas.erp.shared.proxy.AddressProxy; import com.logikas.erp.shared.proxy.CityProxy; import javax.inject.Inject; import javax.inject.Named; /** * Package: com.logikas.erp.client.ui.impl File: AddressWidget.java Date: 11/10/2011 * * @autor cristian - Logikas Conectando Ideas */ public class AddressEditor implements AddressView, EditorAddressProxy { private static AddressWidgetUiBinder uiBinder = GWT.create(AddressWidgetUiBinder.class); private HTMLPanel root; private AddressView.Presenter presenter; @UiField ValueBoxEditorDecoratorString address; @UiField ValueBoxEditorDecoratorInteger number; @UiField ValueBoxEditorDecoratorString code; @UiField(provided = true) SelectorCityView city; interface AddressWidgetUiBinder extends UiBinderHTMLPanel, AddressEditor { } @Inject public AddressEditor( AsyncProviderSelectorCityView selectorCity, @Named(Constans.AddressNewPresenter) AddressView.Presenter
Deferred binding, how to see generated java source code?
Hello, I'm using deferred binding to accomplish one task in my GWT application. Is there some way to see final java source code that my generator class generates? Best regards Kari Surakka -- 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.
Re: permutation explosion
On Tuesday, October 25, 2011 4:55:33 PM UTC+2, mma wrote: I've learned that I had 50 permutations by looking at the compile report you mentioned. Should I understand that you don't look at what the compiler prints on the standard output ?! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/eRjKJE_3q8EJ. 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.
Re: Editor not flush values of subeditors
AddressView (which is the type used in TerceroEditor) extends neither Editor nor IsEditor, so the address property isn't edited. Did I miss something in your code? (I only looked at TerceroNewEditorPresenter, TerceroEditor and AddressView) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/4IBCIS36iCwJ. 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.
jquery?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi there, a coworker told me that jquery has a bunch of advantages over gwt and that gwt offers pretty much nothing that jquery doesn't - and is going to infest our source code if i can't stop him. has anyone here experience with both? the last time some expert told me to use technology X because it was 10x better than Y it turned out that X had problems that were just not obvious at the beginning but messed up everything once it was deeply integrated. my question is: what would i loose if i switched from GWT to jquery? i'd just use both since they don't exclude each other and use whatever seems to be better on a case by case basis. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJOpvz7AAoJENRtux+h35aGDHgQAK1OqSXIYPtRB3Bzl4+iWhje KjnLNxHq/J/5AaMp88IOviyS0cIKb2rWsLpC1nJ2O/PDYCpds698eMabqSthXdIW S8bMlq/menighftxl6KAxwE8NU2yjTi0i2ACAHcStxs8njuj76EveRJZEEneNc9H q1HEw2zgFCMgPiBN1teo1OX+6cNVuhza9C8Gobt1hf7pLnWQNWJJm9qdAgpDEAUh MqLYvSfzQ2i9ntRn8LDIzn2ylsxNBwGkJit1XxFL9XaLVFAcW0QRQMRV7Ulza5sU VsT7Yx3WFcb9qIGA8rAt0p/4c6CtkjNdtQcZckj10aeOWTEGfEuPCoqIRl9ow83M dSNHWm3z7lER/KdPBElICKKoCSO/e70BmBgjz9pJK49QywSh4sc+1K86gZcEojyz ashfI563/qez1aNJY2MD1LW/tZaRjG6NhsqsS3ar3VcZCp2gmsSfhIzqxvClPUfL CprIwuelNQfZgA7dKee1ntI7gWxdRKCrAN8Ls/aMTbQWzdslCekV3JBvl9B24TQL gEFjog95lCmP3P+tacW2NK5NEPcxfJ31BL+pIOF18rrZyNK4+51mGAfBo6vAIuHN jlo7aOuvwrLBt3eIUgW/Os486zv+4JQeF3RXb8Mc1Q+A8on7kOb1Ntm2lBNe59lX WK1oC9arKyZBE/GJrG8w =K3m8 -END PGP SIGNATURE- -- 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.
Re: future of gwt who use gwt
hi thomas, thanks for link to infoq article about dart - so... it seems my guess is possibly right :) - but it's long long way ahead. as to mentioned issue with hashmap - i find it feature rather than problem. and that case is even not java-javascript but ie specific implementation issue. and as to gwt - since this is gwt group - i liked very much the idea of cross-compilation and possibility of maintaining big client side application in java. although it was gwt where i came across it the first time. but than i was not sure about it should try to mimic common java libraries. maybe sticking only to java raw language but with browser specific libriries would be a better solution? libraries that vastly utilize something like JavaScriptObject class in current implementation? maybe the wrong business policy was to target with gwt at existing java developers rather than motivate existing javascript developers to learn java :)? but no tool is perfect - especially from its begining - and imporovements are natural (notice java collections). gwt is still young, and java at its age was imho less convincing technology. if it is not due any legal/licensing strategy than i would stick to java in gwt... if i were gooogle ;). as to mysql - nice to see it on app engine - but this fact does not undermine the possibility of willingness to became independent from oracle owned technology. since mysql community server is open source and GPL licensed, google is no way dependent on oracle in that case. situation with java is quite different, and as i remember some time ago microsoft tried to make its own java, what has been effectively stopped by sun's sue and trial, utlimately resulting in birth of c# :). -- 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.
Re: permutation explosion
For some reason, eclipse is not outputing anything during the compilation. Maybe it's some option that's not set. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/5538869dm18J. 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.
Re: permutation explosion
Is your console view open? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/DNp2ntrIb9IJ. 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.
Re: jquery?
hi, main gwt strong point is maintainability, team work support, and refactoring support which comes from java and java tools (and are not specific to gwt) and are not available in javascript and not possible be available in javascript. javascript is extremely flexible and powerful scripting language - but it is scripting language and becomes a nightmare to maintain large scale application or written by team especially by team with big rotation. -- 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.
Re: Deferred binding, how to see generated java source code?
I think you can use gen parameter in gwt compilerhttp://code.google.com/intl/es/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#DevGuideCompilerOptions 2011/10/25 ksurakka kari.sura...@gmail.com Hello, I'm using deferred binding to accomplish one task in my GWT application. Is there some way to see final java source code that my generator class generates? Best regards Kari Surakka -- 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. -- 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.
Re: permutation explosion
I see console messages when uploading to appengine (creating temp folders, uploading files, etc.), but not when compiling GWT. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/lkIgjulOVHYJ. 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.
Re: A class diagram relating the core GWT MVP model
Hello Daniel, thanks for sharing! Your very neat diagram inspired me to rework the layout and clarify some things in my own depiction. About your generator framework: Isn't that what Spring Roo is all about? - I have to admit, I am no real fan of generator solutions. Often they are only good for bootstrapping or they break, if you stray from the default (read expected) path of the underlying framework. Best regards, Achim. On 18 Okt., 17:38, Daniel Dietrich cafeb...@googlemail.com wrote: Hi Hans-Joachim, as Jens mentioned, you find my post here:http://goo.gl/a6db2 Here is a direct link to the drawing:http://goo.gl/u7Ntq The activity places vs. mvp question arises on and on. What gwt gives to us is a toolkit - but not a framework. There are lot of frameworks out there which give us a solution for making our apps testable or add browser history support. Currently I'm working on a generator which automagically generates all the technical boilerplate code on base of a simple description of the application to have this architecture out of the box. I see me as engineer who creates a factory for developers. Each developer should not concern about how to apply architectural design patterns. A developer should implement business logic, not technical boilerplate. I started an example generator for JPA + Request Factory here:https://github.com/danieldietrich/xtext-javatools(running but work in progress) It needs this plugin to be installed:https://github.com/danieldietrich/xtext-protectedregions See the README.textile files for more information... Next step is a generator for the ui stuff... Greetz Daniel -- 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.
Re: Nested Editor creation question
Hello: Suppose you have a UserView interface, then you can use the interface instead of the concrete class. class UserEditor ... { .. .. UiField (provided = true) UserView view @ Inject UserEditor (UserView v) { this.view = v; UiBinder initialization } } where: class UserViewImpl implements UserView { } By example with GIN: bind(UserView.class).to(UserViewImpl.class).in(Singleton.class); Now, as says Aidan, if you not use GIN or other IOC, (provided = true) it is not necessary, UiBinder does it for you. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/KkMfsZAm9dUJ. 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.
Client-side object serialization
H alli, i have an Object that is created in the client side, how can i send this object via JSON to se server and re-instatiante it ? 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.
Re: jquery?
On 10/25/2011 11:16 AM, Dennis Haupt wrote: hi there, a coworker told me that jquery has a bunch of advantages over gwt and that gwt offers pretty much nothing that jquery doesn't - and is going to infest our source code if i can't stop him. 1) There's always the port of jQuery to GWT called GQuery. It does add some value, and seems to work well for the limited use I've made of it. 2) GWT is much more than just widgets (as is jQuery). Does your co-worker know that GWT provides the benefits of type-safe code, code optimization, leveraging IDEs for Java? 3) jQuery is a fine library. At the end of the day, you're still writing and debugging pure JavaScript. As some Italians say, I'd rather pound on 'it' with large rocks. 4) There's probably a happy medium here, somewhere. But, in my IMNSHO, if your team hasn't settled on a set of technology solutions, and management hasn't supported that decision, then you have other, more substantial issues. -- 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.
Re: Client-side object serialization
Did you see http://code.google.com/p/piriti/? 2011/10/25 Bruno Sandivilli bruno.sandivi...@gmail.com H alli, i have an Object that is created in the client side, how can i send this object via JSON to se server and re-instatiante it ? 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. -- 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.
Re: jquery?
On 25 October 2011 20:57, Jeff Chimene jchim...@gmail.com wrote: On 10/25/2011 11:16 AM, Dennis Haupt wrote: hi there, a coworker told me that jquery has a bunch of advantages over gwt and that gwt offers pretty much nothing that jquery doesn't - and is going to infest our source code if i can't stop him. This is a typical first moment of a flame war. :) 1) There's always the port of jQuery to GWT called GQuery. It does add some value, and seems to work well for the limited use I've made of it. 2) GWT is much more than just widgets (as is jQuery). Does your co-worker know that GWT provides the benefits of type-safe code, code optimization, leveraging IDEs for Java? 3) jQuery is a fine library. At the end of the day, you're still writing and debugging pure JavaScript. As some Italians say, I'd rather pound on 'it' with large rocks. 4) There's probably a happy medium here, somewhere. But, in my IMNSHO, if your team hasn't settled on a set of technology solutions, and management hasn't supported that decision, then you have other, more substantial issues. I have experience at both side. In my thesis I made a small php framework which generate jQuery source code to avoid writing javascript. If you do something like this ever you know this is could be a hard way. This was a hell itself for me. Debugging javascript It's a terrible thing even you have such a good application as firebug. I like jQuery because it's easy to use and fancy and etc, etc, etc. But, this is only a javascript library. By the way, my job is testing a huge website based on .NET technology and I hear every day they cursing my developer colleagues because they have to write javascript, html and C# code. And they have to debug it. Not to mention the fact you can't write junit tests for javascript. In my opinion here is the biggest advantage of gwt. You have to write only java code! From here you have all of advantage of using only one programming language, in this case java. For example, debugging, type safe, OOP and not to mention the IDEs. And top of that if you use other java technologies you have deal with only one programming language and as a consequence you can find employers easier, for example. -- - - -- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu -- http://facebook.com/andras.csanyi -- Trust in God and keep your gunpowder dry! - Cromwell -- 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.
Re: jquery?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 i' not interested in a flamewar like this, there are much better topics (religion a vs religion b) just wanted to gather some intel. Am 25.10.2011 21:15, schrieb András Csányi: On 25 October 2011 20:57, Jeff Chimene jchim...@gmail.com wrote: On 10/25/2011 11:16 AM, Dennis Haupt wrote: hi there, a coworker told me that jquery has a bunch of advantages over gwt and that gwt offers pretty much nothing that jquery doesn't - and is going to infest our source code if i can't stop him. This is a typical first moment of a flame war. :) 1) There's always the port of jQuery to GWT called GQuery. It does add some value, and seems to work well for the limited use I've made of it. 2) GWT is much more than just widgets (as is jQuery). Does your co-worker know that GWT provides the benefits of type-safe code, code optimization, leveraging IDEs for Java? 3) jQuery is a fine library. At the end of the day, you're still writing and debugging pure JavaScript. As some Italians say, I'd rather pound on 'it' with large rocks. 4) There's probably a happy medium here, somewhere. But, in my IMNSHO, if your team hasn't settled on a set of technology solutions, and management hasn't supported that decision, then you have other, more substantial issues. I have experience at both side. In my thesis I made a small php framework which generate jQuery source code to avoid writing javascript. If you do something like this ever you know this is could be a hard way. This was a hell itself for me. Debugging javascript It's a terrible thing even you have such a good application as firebug. I like jQuery because it's easy to use and fancy and etc, etc, etc. But, this is only a javascript library. By the way, my job is testing a huge website based on .NET technology and I hear every day they cursing my developer colleagues because they have to write javascript, html and C# code. And they have to debug it. Not to mention the fact you can't write junit tests for javascript. In my opinion here is the biggest advantage of gwt. You have to write only java code! From here you have all of advantage of using only one programming language, in this case java. For example, debugging, type safe, OOP and not to mention the IDEs. And top of that if you use other java technologies you have deal with only one programming language and as a consequence you can find employers easier, for example. - -- -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJOpxFFAAoJENRtux+h35aGQz8P/0VXdUkfpsx+C1IaJuUc4Spq ke5saoznTWQDai8KljPWohqXtjL34duJv4dRFEVvjccqWCCAE9uH3rdzod/gNrh7 +PHeHglYscRy1+Qyz3b7x3KQSIDC8Cr5fKq/drV24mWpbVUejfpCjVT+Q83Z7Qt+ snMDRTdchWNZJDbpNNDvEKDcHFQvK2sE6NpZed46cRNpuzG65yx1AHc4EA3aqAIe ktbIdmZ4eQsas1+8nHJVz1V0/EK9Btd9otdAFdoUnzOP+tfN/R17smFOk99XKTIc BEujNpFXZRPGv3wTgtuqs81x5FIo22qOmFMZZhhNRjH08dMVP+CoDPLzU/lL4X+O gth/dXZt8j23dy/ZR9DUm7aiCJMwMDUUKD8jDmh8/ivwz75PX0iLvlV8d98bDRMB lLZYPhfZIRNuBzo0RvZkRrcnaIXrIOTi4pr9WWUUK3vppC3d7T2X2sgUjl8gMJ+w 6kuPTx4mtSHFZuvqcOjuVUVq4iIUeHK7uEttSdRH2RfjTxwYiL+SBp8FSqjMWL4h S6VbJ/ZIlRaJYndZbA5IZRUNIR7V/h8Vp5lwsysCIGWfvrBEYNzoCdZxMyNTw8os yABfo2tIsSCYLEpZAlzeTCd7TjSLMlmFBsR+8l6Bn4Bv4BPXXTq59gd0G3DQPUUz wIBF/roe/nfsfzgT9rE9 =9UAA -END PGP SIGNATURE- -- 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.
Re: jquery?
On Tue, Oct 25, 2011 at 8:16 PM, Dennis Haupt d.haup...@googlemail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi there, a coworker told me that jquery has a bunch of advantages over gwt and that gwt offers pretty much nothing that jquery doesn't - and is going to infest our source code if i can't stop him. has anyone here experience with both? the last time some expert told me to use technology X because it was 10x better than Y it turned out that X had problems that were just not obvious at the beginning but messed up everything once it was deeply integrated. You could introduce GQuery in your projects and you will have many of the advantages of jquery. Take a look to this presentation to see what gquery adds to the gwt world: http://www.slideshare.net/dodotis/gquery-a-jquery-clone-for-gwt-rivieradev-2011 - Manolo my question is: what would i loose if i switched from GWT to jquery? i'd just use both since they don't exclude each other and use whatever seems to be better on a case by case basis. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJOpvz7AAoJENRtux+h35aGDHgQAK1OqSXIYPtRB3Bzl4+iWhje KjnLNxHq/J/5AaMp88IOviyS0cIKb2rWsLpC1nJ2O/PDYCpds698eMabqSthXdIW S8bMlq/menighftxl6KAxwE8NU2yjTi0i2ACAHcStxs8njuj76EveRJZEEneNc9H q1HEw2zgFCMgPiBN1teo1OX+6cNVuhza9C8Gobt1hf7pLnWQNWJJm9qdAgpDEAUh MqLYvSfzQ2i9ntRn8LDIzn2ylsxNBwGkJit1XxFL9XaLVFAcW0QRQMRV7Ulza5sU VsT7Yx3WFcb9qIGA8rAt0p/4c6CtkjNdtQcZckj10aeOWTEGfEuPCoqIRl9ow83M dSNHWm3z7lER/KdPBElICKKoCSO/e70BmBgjz9pJK49QywSh4sc+1K86gZcEojyz ashfI563/qez1aNJY2MD1LW/tZaRjG6NhsqsS3ar3VcZCp2gmsSfhIzqxvClPUfL CprIwuelNQfZgA7dKee1ntI7gWxdRKCrAN8Ls/aMTbQWzdslCekV3JBvl9B24TQL gEFjog95lCmP3P+tacW2NK5NEPcxfJ31BL+pIOF18rrZyNK4+51mGAfBo6vAIuHN jlo7aOuvwrLBt3eIUgW/Os486zv+4JQeF3RXb8Mc1Q+A8on7kOb1Ntm2lBNe59lX WK1oC9arKyZBE/GJrG8w =K3m8 -END PGP SIGNATURE- -- 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. -- 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.
Re: jquery?
Maintaining JS doesn't have to become a nightmare on large projects. Other toolkits besides jquery have taken things like modularity,dependency management, and modularity into account. Write in GWT if you want to write in Java. On Tue, Oct 25, 2011 at 11:33 AM, Tomasz Gawel tomaszga...@op.pl wrote: hi, main gwt strong point is maintainability, team work support, and refactoring support which comes from java and java tools (and are not specific to gwt) and are not available in javascript and not possible be available in javascript. javascript is extremely flexible and powerful scripting language - but it is scripting language and becomes a nightmare to maintain large scale application or written by team especially by team with big rotation. -- 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. -- 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.
Cannot get JPA enhanced object from GAE server through GWT-RPC
Hello, I would like to know if I am facing a limitation of GWT. I have stored a JPA entity with owned OneToOne and OneToMany relationships in GAE DataStore through GWT-RPC without any problem. I've succeeded in retrieving the main entity alone, as well as the main entity with the entity linked by the OneToOne annotation. But when I try to get the main entity with the ones in the collection associated to the OneToMany annotation, I get this exception: Type 'org.datanucleus.sco.backed.List' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = [com.mydomain.myapp.shared.MyClass@ef3b6f] I thought this enhanced class issue was solved with the version 2.0 of GWT as explained in the doc. Can someone confirm my case is not supported by GWT? Or am I doing something wrong? If there is no obvious solution I will probably use RequestFactory. Thanks for your help. Jean-Marc -- 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.
Re: Cannot get JPA enhanced object from GAE server through GWT-RPC
In order for this to be solved by GWT 2, you need to be using RequestFactory instead of GWT-RPC. http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html List, Set and Collection will be properly copied to a shim when using this facility -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/6JD0lFmmqQUJ. 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.
Re: Editor not flush values of subeditors
Thomas, thanks for the fast responce. I will see if this is causing the error. AddressWidget implements AddressView and Editor for AddressProxy, you say that the AddressView must be extend Editor? Now, one design question. I love MVP, this pattern is very powerfull but, with Activities and Place some thing are dificult. Activities are for when you need navigation, but if want each view has a Presenter, I thought the following: One interface Presenter for each View, where View delegate the logic in the presenter implementation. Now, presenter is not Activity. When I need navigation, I make a Activity that inject the presenter and delegate in this the logic of View. I want keep separate in the best forms the concepts of view and presenter, but I want to know if inject the presenter in view is ok. The presenter have a method called onCreate(T) where T is a View. That method is called when View is initialized after make UiBinder interface. In the onCreate(T) I inicialize the editor driver, etc. When I precise a Activity, in the start method I obtain the view, by example, with AsyncProvider, how the View inject Presenter, the Activity delegate logic to Presenter. I started think this for nested complex widget, for example, load Employees associated with bank accounts, where the Widgets for list of selection and creation bank account is a widget that delegate logic in a presenter that is not Activity. But, i can use this widget alone in other view where is necesary one Activity. All this is fine or I've gone crazy? Sorry for my english. A.U.S Cristian Rinaldi Teléfono Móvil: (0342) 155 238 083 www.logikas.com Lisandro de la Torre 2643 Of 5 - 3000 - Santa Fe Teléfono Fijo: (0342) 483 5138 2011/10/25 Thomas Broyer t.bro...@gmail.com AddressView (which is the type used in TerceroEditor) extends neither Editor nor IsEditor, so the address property isn't edited. Did I miss something in your code? (I only looked at TerceroNewEditorPresenter, TerceroEditor and AddressView) -- 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.
Re: GWT Developer Plugin for Firefox 7
Sometimes this week. It seems to be pretty stable. -Alan On Tue, Oct 25, 2011 at 7:31 AM, Ivan Dimitrijevic dim...@gmail.com wrote: Works regular for me on Mac OS X 10.7.2 64bit -- S postovanjem, *Ivan Dimitrijevic*, dipl.ing. ISiT, MSc d...@dnjcompany.com d...@dnjcopmany.com http://dimi.dnjcompany.com On Tue, Oct 25, 2011 at 16:29, Joel glatap...@gmail.com wrote: It seems to work for me as well, under Firefox 7.0.1 with Windows 7 x64. When is the deployment planned ? On Oct 10, 6:27 pm, Alan Leung acle...@google.com wrote: For those who had experienced a crash on 32bit Linux, would you mind doing me a favor by trying the attached xpi file? Thanks! -Alan On Mon, Oct 10, 2011 at 3:15 PM, Michael Vogt vmei...@googlemail.com wrote: works perfectly on my Ubuntu 64 bit Linux N53SV 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux FF 7.0.1 Yes works also on my ThinkPad with Ubuntu 11.04 64-bit and Firefox 7.0.1 at home. -- 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. gwt-dev-plugin.xpi 4080KViewDownload -- 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. -- 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. -- 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.
Re: GWT Developer Plugin for Firefox 7
Also works fine from Win7 64bit. -- S postovanjem, *Ivan Dimitrijevic*, dipl.ing. ISiT, MSc d...@dnjcompany.com d...@dnjcopmany.com http://dimi.dnjcompany.com On Tue, Oct 25, 2011 at 23:14, Alan Leung acle...@google.com wrote: Sometimes this week. It seems to be pretty stable. -Alan On Tue, Oct 25, 2011 at 7:31 AM, Ivan Dimitrijevic dim...@gmail.comwrote: Works regular for me on Mac OS X 10.7.2 64bit -- S postovanjem, *Ivan Dimitrijevic*, dipl.ing. ISiT, MSc d...@dnjcompany.com d...@dnjcopmany.com http://dimi.dnjcompany.com On Tue, Oct 25, 2011 at 16:29, Joel glatap...@gmail.com wrote: It seems to work for me as well, under Firefox 7.0.1 with Windows 7 x64. When is the deployment planned ? On Oct 10, 6:27 pm, Alan Leung acle...@google.com wrote: For those who had experienced a crash on 32bit Linux, would you mind doing me a favor by trying the attached xpi file? Thanks! -Alan On Mon, Oct 10, 2011 at 3:15 PM, Michael Vogt vmei...@googlemail.com wrote: works perfectly on my Ubuntu 64 bit Linux N53SV 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux FF 7.0.1 Yes works also on my ThinkPad with Ubuntu 11.04 64-bit and Firefox 7.0.1 at home. -- 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. gwt-dev-plugin.xpi 4080KViewDownload -- 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. -- 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. -- 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. -- 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.
Re: Client-side object serialization
Thank again Juan! I'll take a look at this library! 2011/10/25 Juan Pablo Gardella gardellajuanpa...@gmail.com Did you see http://code.google.com/p/piriti/? 2011/10/25 Bruno Sandivilli bruno.sandivi...@gmail.com H alli, i have an Object that is created in the client side, how can i send this object via JSON to se server and re-instatiante it ? 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. -- 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. -- 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.
Re: GWT Developer Plugin for Firefox 7
I'm new here !! where can i download gwt-dev-plugin.xpi for ff7 ? can you please provide a link. Truly yours, Morteza Adi On Wed, Oct 26, 2011 at 12:52 AM, Ivan Dimitrijevic dim...@gmail.comwrote: Also works fine from Win7 64bit. -- S postovanjem, *Ivan Dimitrijevic*, dipl.ing. ISiT, MSc d...@dnjcompany.com d...@dnjcopmany.com http://dimi.dnjcompany.com On Tue, Oct 25, 2011 at 23:14, Alan Leung acle...@google.com wrote: Sometimes this week. It seems to be pretty stable. -Alan On Tue, Oct 25, 2011 at 7:31 AM, Ivan Dimitrijevic dim...@gmail.comwrote: Works regular for me on Mac OS X 10.7.2 64bit -- S postovanjem, *Ivan Dimitrijevic*, dipl.ing. ISiT, MSc d...@dnjcompany.com d...@dnjcopmany.com http://dimi.dnjcompany.com On Tue, Oct 25, 2011 at 16:29, Joel glatap...@gmail.com wrote: It seems to work for me as well, under Firefox 7.0.1 with Windows 7 x64. When is the deployment planned ? On Oct 10, 6:27 pm, Alan Leung acle...@google.com wrote: For those who had experienced a crash on 32bit Linux, would you mind doing me a favor by trying the attached xpi file? Thanks! -Alan On Mon, Oct 10, 2011 at 3:15 PM, Michael Vogt vmei...@googlemail.com wrote: works perfectly on my Ubuntu 64 bit Linux N53SV 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux FF 7.0.1 Yes works also on my ThinkPad with Ubuntu 11.04 64-bit and Firefox 7.0.1 at home. -- 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. gwt-dev-plugin.xpi 4080KViewDownload -- 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. -- 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. -- 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. -- 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. -- 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.
Road Map for GWT?
Hi , Any one has RoadMap for GWT 2012? Please provide some links.. Thanks, Sai -- 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.
Re: Click Events not getting attached
Any thoughts on the question below ? On similar lines , How to retain Widgets Events after the widget is added as an Element . I could add widget as an Element but loose the fact that dont get events attached to the widget . Is there any work around for this ? -- 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.
Re: table widget wanted
Hi, thanks! This works! Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/GDE0pAYAxm8J. 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.
CellTable - how to load just one page?
Hi, I have a large list, which I do not want to load all at once. I would like to load and display just one page and let the user navigate to other pages. The problem I see with CellTable is that it needs the whole list at once (setRowData). So I have to transfer all the data. Is it possible just to load the data for one page, and load the next portion if the page changes? Other questions: How can I add a simple navigation buttons (page next, last) to a CellTable? Finally, assume that the CellTable resides within a panel with a given size. Is it possible to set the page size so that there are no scroll bars, i. e. fill the panel with cell rows without exceeding the available space? Thanks Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/6tXwO208nAUJ. 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.
[gwt-contrib] loading live, instantly-generated data from the server and displaying it as a line graph
Hi, I have created a desktop application that I need to convert and deploy as a web application. Here is my project's description: 1. I have a Java application (written in NetBeans) that produces an XML file each time it runs. This XML file is fed as an input to a Java simulation program (which is a standalone JAR file). 2. The desired output of the simulation is a timeline graph that should be generated dynamically as the simulation progresses in time. This works fine as a desktop application; but I need to convert and deploy it as a web application. I have ideas about how to proceed with Part 1, for example, I can create forms using GWT (Google Web Toolkit) to generate the XML input and then pass it to my Java simulation program. Users would use their browsers to do this. But here is where I need suggestions: assuming that the Java simulation program is residing in my server, how can: 2.1. it be called to run with the XML file 2.2. I show the graph as it is generated dynamically (to retrieve live, instantly-generated data from the server and display it on a line graph) I tried with php's exec() function to call the simulation and that worked, but I am not sure how to show the graph dynamically if I use exec(). Any better ideas would be appreciated... ? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: loading live, instantly-generated data from the server and displaying it as a line graph
This is probably a better discussion for the users group, but I'll answer it anyway. I'm using HighCharts for some of my charting needs, you'll just need to send the data down to the charting software and either poll for new data, or implement server push/cometd and have it update the graph that way. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Switch to internal implementation of StringInterner to avoid class loader (issue1578804)
Surprisingly, using a ThreadLocal is the slowest so far. Going back to using shards. http://gwt-code-reviews.appspot.com/1578804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Switch to internal implementation of StringInterner to avoid class loader (issue1578804)
This is a little too surprising. ThreadLocal accesses are very fast (think 1us). On Tue, Oct 25, 2011 at 9:25 PM, skybr...@google.com wrote: Surprisingly, using a ThreadLocal is the slowest so far. Going back to using shards. http://gwt-code-reviews.**appspot.com/1578804/http://gwt-code-reviews.appspot.com/1578804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Re: Switch to internal implementation of StringInterner to avoid class loader (issue1578804)
Maybe it is GC driven, if you have N threads each with a copy of all of the Strings in the program, collections take longer? -Ray On Tue, Oct 25, 2011 at 8:11 PM, Toby Reyelts to...@google.com wrote: This is a little too surprising. ThreadLocal accesses are very fast (think 1us). On Tue, Oct 25, 2011 at 9:25 PM, skybr...@google.com wrote: Surprisingly, using a ThreadLocal is the slowest so far. Going back to using shards. http://gwt-code-reviews.appspot.com/1578804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors