Listbox does not multi select by default

2011-10-25 Thread twoseven
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);

how to display Google map widget in a vertical panel of GWT designer?

2011-10-25 Thread Praveena sunil
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

Re: DataGrid (GWT 2.4) not visible in HTMLPanel

2011-10-25 Thread Emac
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

Re: future of gwt who use gwt

2011-10-25 Thread Shawn Brown
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

Apache Tomcat - Access Files Outside Webroot

2011-10-25 Thread Jmscavaleiro
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

Apache Tomcat - Access Files Outside Webroot

2011-10-25 Thread Jmscavaleiro
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

Re: Array Performance

2011-10-25 Thread ihsan ciftci
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 =

Re: Array Performance

2011-10-25 Thread Thomas Broyer
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

Re: GWT maven plugin doesn't find the GWT linker classes

2011-10-25 Thread Thomas Broyer
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

Re: UIBinder sprite

2011-10-25 Thread Thomas Broyer
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

Re: permutation explosion

2011-10-25 Thread Thomas Broyer
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

Re: permutation explosion

2011-10-25 Thread mma
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

Re: why does the HTML widget do not have a name attribute?

2011-10-25 Thread Thomas Broyer
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

Re: DataGrid (GWT 2.4) not visible in HTMLPanel

2011-10-25 Thread Thomas Broyer
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

Re: Howto listen for global key down events

2011-10-25 Thread Sarjith Pullithodi
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

Re: future of gwt who use gwt

2011-10-25 Thread Thomas Broyer
[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

Re: permutation explosion

2011-10-25 Thread Thomas Broyer
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

Re: Howto listen for global key down events

2011-10-25 Thread Thomas Broyer
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

Re: Array Performance

2011-10-25 Thread ihsan ciftci
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

Re: Apache Tomcat - Access Files Outside Webroot

2011-10-25 Thread Alan Chaney
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

Sort be multiple columns

2011-10-25 Thread Foermchen82
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

Re: can we control what element will build in widget?

2011-10-25 Thread wahaha
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

Re: can we control what element will build in widget?

2011-10-25 Thread Jens
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

Re: GWT Developer Plugin for Firefox 7

2011-10-25 Thread Ivan Dimitrijevic
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

Re: SOLVED how to Put a GWTPanel into a html div/div

2011-10-25 Thread Patrick Tucker
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

Re: permutation explosion

2011-10-25 Thread mma
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

Nested Editor creation question

2011-10-25 Thread opn
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

Re: Nested Editor creation question

2011-10-25 Thread Aidan O'Kelly
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,

Editor not flush values of subeditors

2011-10-25 Thread Cristian Rinaldi
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

Deferred binding, how to see generated java source code?

2011-10-25 Thread ksurakka
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

Re: permutation explosion

2011-10-25 Thread Thomas Broyer
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

Re: Editor not flush values of subeditors

2011-10-25 Thread Thomas Broyer
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

jquery?

2011-10-25 Thread Dennis Haupt
-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

Re: future of gwt who use gwt

2011-10-25 Thread Tomasz Gawel
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

Re: permutation explosion

2011-10-25 Thread mma
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

Re: permutation explosion

2011-10-25 Thread Thomas Broyer
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

Re: jquery?

2011-10-25 Thread Tomasz Gawel
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

Re: Deferred binding, how to see generated java source code?

2011-10-25 Thread Juan Pablo Gardella
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

Re: permutation explosion

2011-10-25 Thread mma
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

Re: A class diagram relating the core GWT MVP model

2011-10-25 Thread Hans-Joachim Belz
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

Re: Nested Editor creation question

2011-10-25 Thread Cristian Rinaldi
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 }

Client-side object serialization

2011-10-25 Thread Bruno Sandivilli
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

Re: jquery?

2011-10-25 Thread Jeff Chimene
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

Re: Client-side object serialization

2011-10-25 Thread Juan Pablo Gardella
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

Re: jquery?

2011-10-25 Thread 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

Re: jquery?

2011-10-25 Thread Dennis Haupt
-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

Re: jquery?

2011-10-25 Thread Manuel Carrasco Moñino
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

Re: jquery?

2011-10-25 Thread Luis Montes
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

Cannot get JPA enhanced object from GAE server through GWT-RPC

2011-10-25 Thread Jean-Marc Truillet
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

Re: Cannot get JPA enhanced object from GAE server through GWT-RPC

2011-10-25 Thread Patrick Julien
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

Re: Editor not flush values of subeditors

2011-10-25 Thread Cristian Rinaldi
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

Re: GWT Developer Plugin for Firefox 7

2011-10-25 Thread Alan Leung
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

Re: GWT Developer Plugin for Firefox 7

2011-10-25 Thread Ivan Dimitrijevic
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

Re: Client-side object serialization

2011-10-25 Thread Bruno Sandivilli
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

Re: GWT Developer Plugin for Firefox 7

2011-10-25 Thread morteza adi
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,

Road Map for GWT?

2011-10-25 Thread sampath sai
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

Re: Click Events not getting attached

2011-10-25 Thread gangurg gangurg
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

Re: table widget wanted

2011-10-25 Thread Magnus
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

CellTable - how to load just one page?

2011-10-25 Thread Magnus
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

[gwt-contrib] loading live, instantly-generated data from the server and displaying it as a line graph

2011-10-25 Thread Arif
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

[gwt-contrib] Re: loading live, instantly-generated data from the server and displaying it as a line graph

2011-10-25 Thread Jeff Larsen
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

[gwt-contrib] Re: Switch to internal implementation of StringInterner to avoid class loader (issue1578804)

2011-10-25 Thread skybrian
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)

2011-10-25 Thread Toby Reyelts
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.

Re: [gwt-contrib] Re: Switch to internal implementation of StringInterner to avoid class loader (issue1578804)

2011-10-25 Thread Ray Cromwell
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,