Re: Is GWT preferable for large scale projects similar to FB?

2011-12-21 Thread Ed Bras
easily cross 1.5 MB I don't agree with easily. A few things: - Perform efficient coding. - Use Soyc to optimize your code splitting. - Transferring the files gzipped between browser and server will deliver a file reduction of about 50%.. - Using multiple modules if size is getting too big. -

Re: Can't deploy to appengine with Eclipse Google Plugin 2.5 (using maven)

2011-12-21 Thread Mathieu Clavel
I opened the issue 6603 for that problem : https://code.google.com/p/googleappengine/issues/detail?id=6603 -- 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: Why com.google.gwt.dev.DevMode doesn't recognize the argument -style?

2011-12-21 Thread hallmit
Many thanks Thomas for your clear explanation...You're right, in development mode the GWT-JVM is actually executing the application code as compiled Java bytecode, as described at GWT Doc [1] :), and no JS is generated. So, pretty mode for JS generation doesn't make sense here. Hallmit [1]

GWT Developer Plugin for Firefox 9

2011-12-21 Thread tdk
it looks like we can't keep up with the development speed of Mozilla : ( As they now released FF 9 the plugin is incompatible (yet again). Alan, can you compile it again in your usual speed and timelieness :) Your fans you would carry you on their shoulders, vistually ;) -- You received this

Request Factory Security

2011-12-21 Thread EMan
there have been several posts on RequestFactory security, but I am still not clear. the sample code here: http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/expenses/src/main/java/com/google/gwt/sample/gaerequest/#gaerequest uses a filter to determine if a user can access

Re: Request Factory Security

2011-12-21 Thread Thomas Broyer
On Wednesday, December 21, 2011 3:18:25 PM UTC+1, EMan wrote: there have been several posts on RequestFactory security, but I am still not clear. the sample code here:

Re: How to set a Presenter in a composite Widget?

2011-12-21 Thread David
Many ways to do this. ViewImpl.ui.java will have a binding for the composite widget So you can simply pass the presenter or the instance of ViewImpl.ui.java to the composite widget. @UiField MyCompositeWidget theWidget; .. theWidget.setParent(this) Or you can use @UiField(provided=true)

Re: Request Factory Security

2011-12-21 Thread Alfredo Quiroga-Villamil
I find Spring Security to be a viable and simple solution to use while giving you a range of possibilities for both Authentication and Authorization. You get exactly that method to add the check (probably based on some annotation on the method). as one of the options. See:

marquee in gwt

2011-12-21 Thread Katta Vijay
how can i create a marquee in gwt ? is there any library available for this in gwt . i tried in this group previous posts there is no proper information available . can any one help me ! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Compilation time doubles after upgrading to GWT 2.3

2011-12-21 Thread Deepali
We are seeing a huge increase in the compilation time after upgrading from GWT version 1.7 to 2.3. Given below is a comparison of the compile time that we are seeing for one language and one browser. It does not seem to be related to code splitting or IE9 support. Has anyone else noticed such an

GWT Hosted mode with SSL enabled

2011-12-21 Thread Nemanja Vukosavljevic
Hi to all, I'm fairly a beginner in GWT and Maven and I did try to find the answer to the this problem in the archive but didn't succeed. So I have the following problem. I've developed a GWT (ver 2.4) application coupled with Spring Framework and Maven as a build tool and for the sake of

Can DateTimeConstants and NumberConstants be derived from a Dictionary in the same way that localized strings can

2011-12-21 Thread Rajesh Akkineni
Hi, I have a situation where I am using Dictionary to load messages. I want to load DateTimeConstants , NumberConstants in the same way.. Is there any solution for this? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

i18ncreator giving java.io.IOException: Cannot run program chmod: CreateProcess error=2, The system cannot find the file specified

2011-12-21 Thread Shaik Muhammad
Hi, I am using gwt i18ncreator script to generate the java interface. But i am getting the error java.io.IOException: Cannot run program chmod: CreateProcess error=2, The system cannot find the file specified. Read from the internet that the i18nCreator will not work. is it so? Is there any

multiple selection file-upload

2011-12-21 Thread Robert Fix
hi, i need a file-upload like it is used in Google+ and want to implement it in a gwt-project. In GWT i can only find a FileUpload with single selection. I hope you can help me because i don't want to use a javascript solution. Best regards, Robert Fix -- You received this message because you

Re: multiple selection file-upload

2011-12-21 Thread Nicolas Antoniazzi
did you try gwt-upload ? 2011/12/21 Robert Fix rob3rt...@googlemail.com hi, i need a file-upload like it is used in Google+ and want to implement it in a gwt-project. In GWT i can only find a FileUpload with single selection. I hope you can help me because i don't want to use a javascript

Re: RequestFactory ValidationTool

2011-12-21 Thread RickL
I've had a similar problem before. I am using maven and doing a Run as Maven Clean followed by a Run as Maven Install corrected the problem for me. By the way, my maven pom was modified from the Expenses sample app's pom. On Dec 20, 8:01 am, Mike Breytenbach mikebreytenb...@gmail.com wrote:

Re: GWT Hosted mode with SSL enabled

2011-12-21 Thread Thomas Broyer
Try server:ssl/server or -Dgwt.server=:ssl http://mojo.codehaus.org/gwt-maven-plugin/run-mojo.html#server -- 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: Compilation time doubles after upgrading to GWT 2.3

2011-12-21 Thread Eric Clayberg (Google)
What is the size of the resulting application in both cases? Quite a few new compiler optimizations went into GWT between 1.7 and 2.3, so I would expect compilation time to increase quite a bit if you have all of those new optimization turned on. There are compiler flags you can turn on to

Re: Compilation time doubles after upgrading to GWT 2.3

2011-12-21 Thread Ashton Thomas
For reference: try draftCompile and maybe only compile certain models with only certain permutation. $ java -cp gwt-dev.jar com.google.gwt.dev.Compiler Missing required argument 'module[s]' Google Web Toolkit 2.4.0 Compiler [-logLevel level] [-workDir dir] [-gen dir] [-style style] [-ea]

Re: Compilation time doubles after upgrading to GWT 2.3

2011-12-21 Thread Ashton Thomas
Also, the reference was for 2.4 not sure of exact changes for 2.3 but you can easily run the command -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

RequestFactory Imposible To use

2011-12-21 Thread MagusDrk
Hi everybody! I have two weeks trying to implement RequestFactory, I've done my data classes model, locators, proxies, etc, but I simply can't get it to work. I've tried all configurations suggested on Starting With Requst Factory Page, but I still get the same problem. When the line

RequestFactory Imposible To use

2011-12-21 Thread MagusDrk
Hi everybody! I have two weeks trying to implement RequestFactory, I've done my data classes model, locators, proxies, etc, but I simply can't get it to work. I've tried all configurations suggested on Starting With Requst Factory Page, but I still get the same problem. When the line

Re: GWT Developer Plugin for Firefox 8

2011-12-21 Thread Samyem Tuladhar
Can the plugin be made to work on the current stable release of Firefox 9 as well? 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

Re: RequestFactory Imposible To use

2011-12-21 Thread Thomas Broyer
When you say never reaches the server side, you mean it never reaches your own code, right? Have you looked at the server logs? You might be interested by http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_4#RequestFactorySource_and_Annotation_Processing too, which is

Re: Remote Logging

2011-12-21 Thread Keith Bennett
Thomas, thanks for the feedback. I included the log4j-over-slf4j, jcl- over-slf4j, and jul-to-slf4j jars in my project, but I still do not see anything logged in my logback files. When you stated that I needed to configure the slf4j bridge, do you know if there is anything else I need to do

Re: GWT compiler hangs when Compiling permutation 0

2011-12-21 Thread tunichtviel
On Dec 15, 8:14 pm, Jens jens.nehlme...@gmail.com wrote: I think you should file a bug for this and/or maybe post this issue in the Google Web Toolkit Contributors group. Would be great if you can narrow your issue down to a very simple GWT app. -- J. Ok, I will try to create a mini-app

Re: RequestFactory Imposible To use

2011-12-21 Thread Aidan O'Kelly
On Wed, Dec 21, 2011 at 6:07 PM, MagusDrk magus@googlemail.com wrote: never reaches the server side. All error detail is a Server Error: null (absolutelly nothing else) RequestFactoryServlet by default catches all exceptions and returns them to the client, without stack-traces or much

Re: marquee in gwt

2011-12-21 Thread Harpal Grover
GWT has an animation api. You can use this to create a marquee. On Wed, Dec 21, 2011 at 1:02 AM, Katta Vijay katta.vij...@gmail.com wrote: how can i create a marquee in gwt ? is there any library available for this in gwt . i tried in this group previous posts there is no proper information

Re: I could use some Guru recommendations on MapV3 API Event bindings model?

2011-12-21 Thread Brandon Donnelson
Here is my snippets of the more formalized version I'm now using with most of the classes as snippets: http://c.gwt-examples.com/home/wrapping/event-binding -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the

Re: Remote Logging

2011-12-21 Thread Ed
Have a look at: + gwt logging: http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html + gwt-log: http://code.google.com/p/gwt-log/ http://code.google.com/p/gwt-log/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: GWT Developer Plugin for Firefox 8

2011-12-21 Thread Alan Leung
Not sure. The official xulrunner sdk was not release until today. I am currently testing it. I'll keep everyone updated. -Alan On Wed, Dec 21, 2011 at 10:20 AM, Samyem Tuladhar sam...@gmail.com wrote: Can the plugin be made to work on the current stable release of Firefox 9 as well? Thanks.

Re: marquee in gwt

2011-12-21 Thread Ed
Why not create the marque as html text and wrap it a HTML widget. You can wrap this all in a Composite widget. Or create a Marquee class that extends Widget and create your own marquee Element in the constructor (just like other widgets as Label and HTML). Then add public methods to modify/set

Re: Remote Logging

2011-12-21 Thread Keith Bennett
Ed, I have followed all of the guidelines as documented in the first link you sent. Again, I am able to direct the log output to my logback-managed files, but only if I use the RemoteLoggingServiceImpl and RemoteLoggingServiceUtil custom classes I created that use the slf4j Logger and LogFactory

Re: Remote Logging

2011-12-21 Thread Ed Bras
Make sure you correctly install the jul bridge: SLF4JBridgeHandler.install() when your app starts. See: http://www.slf4j.org/api/org/slf4j/bridge/SLF4JBridgeHandler.html If that doesn't work, then debug it, and you will quickly find out what goes wrong. On Wed, Dec 21, 2011 at 8:54 PM, Keith

Re: RequestFactory Imposible To use

2011-12-21 Thread MagusDrk
Hi, Thomas, I've read the RequestFactorySource and Annotation Processing. I have already the requestfactory-apt.jar referenced as it is shown in the link bellow, but it doesn't seem to be the problem. Right now I'm trying to implement something in order to catch the server side exception as Aidan

Re: RequestFactory Imposible To use

2011-12-21 Thread MagusDrk
Aidan, thanks by your answer. When I said my server side is not reached, I reffer to some breakpoints in the back-end wich are never reached on debug mode (in the Service class in server side). just after calling the fire method, the debug stake catches another breakpoint in the onFailure method

Re: App with hundreds of code splits won't finish compiling

2011-12-21 Thread Eric Andresen
Hi Aaron, Did you ever find a way to make this work? I'm running in to the same problem. I have an app that currently compiles to about 12mb of javascript, but that single large file is killing my load times on IE. I tried splitting it at my most logical spots, which causes about 100

Re: UiBinder use ImageResource height and width to specify a elements height and width

2011-12-21 Thread Patrick Tucker
It is not me that is entering the width=22, the value 22 is programatically injected by {res.refreshButton.getWidth}. The error message is complaining because the function getWidth does not return a String. I also try to use tables as little as possible, but in this case I have to use one in

Re: Can't deploy to appengine with Eclipse Google Plugin 2.5 (using maven)

2011-12-21 Thread David Chandler
Hi Mathieu, I'm cross-posting to the Google Plugin for Eclipse group to make sure the right folks see this. Also, please file the issue here: http://code.google.com/p/google-plugin-for-eclipse/issues/list Thanks, /dmc On Tue, Dec 20, 2011 at 10:24 AM, Mathieu Clavel math.cla...@gmail.comwrote:

Re: RequestFactory Imposible To use

2011-12-21 Thread MagusDrk
Hi all again! I've just tried to use a CustomRequestFactoryServlet in order to catch and resolve the NPE in the server side. I could do it, but the catched error was NullPointerException with no other info (at all), no strackTrace, no specific cause (just null) and no location specified! Help,

Re: RequestFactory Imposible To use

2011-12-21 Thread Aidan O'Kelly
Give this a try: Start in debug mode, 1 - Get the app ready to fire() your request, *then* 2 - In eclipse, add Java Exception Breakpoint on java.lang.NullPointerException - make sure 'caught exceptions' is ticked. 3 - Make your app fire() the request. You should drop into debug mode when the NPE

Re: multiple selection file-upload

2011-12-21 Thread Jim Douglas
myFileUpload.getElement().setPropertyBoolean(multiple, true); On Dec 21, 5:39 am, Robert Fix rob3rt...@googlemail.com wrote: hi, i need a file-upload like it is used in Google+ and want to implement it in a gwt-project. In GWT i can only find a FileUpload with single selection. I hope you

Re: GWT Developer Plugin for Firefox 8

2011-12-21 Thread tmy
Looking forward to the good news, but it is really annoying that the extension is incompatible after firefox upgrades every time, especially today firefox updates much more frequently. Anyway, thanks so much, Alan! -- You received this message because you are subscribed to the Google Groups

Re: Help! com.google.gwt.user.client.rpc.StatusCodeException: 500 The call failed on the server; see server log for details

2011-12-21 Thread HARISH SAHARAN
When we works on development mode this error comes generally because of our outOfMemory issue if you see on jetty server it will show you the outOfMemory issue. We all know that our development mode depends on our system's memory . So either increase the memory or check it on web mode On Dec

Clearing cache of fileupload widget.

2011-12-21 Thread Rahul Sharma
Hi, Can anyone help me out in clearing the contents of the fileupload widget. I mean for textbox we write textBox.setText() to clear the content of it, is there anyway to clear the FIleupload also. Thanks in Advance rahul -- You received this message because you are subscribed to the Google

[gwt-contrib] Re: Add History.replaceItem(String) method to replace the current history (issue1614809)

2011-12-21 Thread t . broyer
+1 for the idea! (I know Closure has it, and the HTML5 History API has a replaceState in addition to pushState; and there's been a few requests on the forum to add this feature to GWT) There *will* be a need to override nativeReplace, at least in HistoryImplIE6. Also, I haven't checked but I'm

[gwt-contrib] Re: Add null check to ValueListBox.updateListBox (issue1619803)

2011-12-21 Thread t . broyer
http://gwt-code-reviews.appspot.com/1619803/diff/7001/user/src/com/google/gwt/user/client/ui/ValueListBox.java File user/src/com/google/gwt/user/client/ui/ValueListBox.java (right):

[gwt-contrib] Re: Add null check to ValueListBox.updateListBox (issue1619803)

2011-12-21 Thread Jens
I am one of these guys who loves to have a null value in a ListBox to be able to deselect things in a ListBox. So my server just gives me a,b,c and I call setAcceptableValues() with this list without any call to setValue() before (new view, activity loads list of acceptable values and just

[gwt-contrib] Re: Properly encode request parameters that use Collections when in JSON-RPC mode. (issue1618806)

2011-12-21 Thread Thomas Broyer
On Wed, Dec 21, 2011 at 12:45 AM, Brian Slesinsky skybr...@google.com wrote: On Tue, Dec 20, 2011 at 2:36 PM,  rda...@google.com wrote: On second thought, even though List and Set are the two that are technically allowed, there's really no problem with JSON-RPC and the encoding of a

[gwt-contrib] Re: Add null check to ValueListBox.updateListBox (issue1619803)

2011-12-21 Thread Thomas Broyer
On Wed, Dec 21, 2011 at 1:38 PM, Jens jens.nehlme...@gmail.com wrote: I am one of these guys who loves to have a null value in a ListBox to be able to deselect things in a ListBox. So my server just gives me a,b,c and I call setAcceptableValues() with this list without any call to setValue()

[gwt-contrib] Re: Add null check to ValueListBox.updateListBox (issue1619803)

2011-12-21 Thread stephen . haberman
http://gwt-code-reviews.appspot.com/1619803/diff/7001/user/src/com/google/gwt/user/client/ui/ValueListBox.java File user/src/com/google/gwt/user/client/ui/ValueListBox.java (right):

[gwt-contrib] Re: Add null check to ValueListBox.updateListBox (issue1619803)

2011-12-21 Thread Stephen Haberman
Wouldn't this patch break the app behavior for everyone that has implemented it like this? Yes. So my List now contains null anyways. Good! :-) I guess the idea of merging acceptable values with the selected value is the root issue here. Agreed. The javadoc for HasConstrainedValue

[gwt-contrib] Re: Add History.replaceItem(String) method to replace the current history (issue1614809)

2011-12-21 Thread jat
The idea and initial implementation looks good, but most of the complexity and implementation details are due to cross-browser issues. In particular, we left out functionality that we couldn't implement consistently across all browsers, and my recollection is that this was one of those cuts. It

[gwt-contrib] Re: Properly encode request parameters that use Collections when in JSON-RPC mode. (issue1618806)

2011-12-21 Thread rdayal
Based on Thomas' comments, I'm inclined to leave it, but I agree that unit tests need to be put in place. Those will be in a forthcoming CL. http://gwt-code-reviews.appspot.com/1618806/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add History.replaceItem(String) method to replace the current history (issue1614809)

2011-12-21 Thread t . broyer
On 2011/12/21 16:23:03, jat wrote: The idea and initial implementation looks good, but most of the complexity and implementation details are due to cross-browser issues. In particular, we left out functionality that we couldn't implement consistently across all browsers, and my

[gwt-contrib] Re: Adding an option to change the debug id property and prefix. Some users prefer to use a random a... (issue1618804)

2011-12-21 Thread jlabanca
committed as r10806 http://gwt-code-reviews.appspot.com/1618804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors