Re: Extend RequestFactory to Make Use of None Primitive Types

2011-11-08 Thread hkropp
Maybe describing my current problem with RF helps make things clear. I want to use MongoDB for the Employee example. Now MongoDB is using org.bson.ObjectId as the PK instead of the primitive type Long for its objects. So the question is, can I make RF use ObjectId? thx -- You received this

Re: Correct usage of CompositeEditor?

2011-11-08 Thread David Sanders
The correct solution is to use @Path() See: http://code.google.com/p/google-web-toolkit/source/detail?r=9401 (Thanks to Thomas for pointing out :D) On 8 November 2011 02:42, David Sanders shang.xiao.sand...@gmail.comwrote: Is there a better way of doing this? I'm sure there must be some

What is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread tanteanni
I just updated to gwt 2.4 - to get the data grid (very nice). but no my PlaceController construction is deprecated. I read around here but can't find a good solution for this issuehttp://code.google.com/p/google-web-toolkit/issues/detail?id=6653. (is it even an issue?): if i update my

Re: Extend RequestFactory to Make Use of None Primitive Types

2011-11-08 Thread Thomas Broyer
Yes; and no. RF can use any object as the entity ID (returned by the getId method on your entity or locator) on the server side. You cannot use ObjectId on the client-side, but you could map it as a ValueProxy; the only issue is that ObjectId is immutable, so you won't be able to pass an

Re: RequestFactory with Use of Locator

2011-11-08 Thread hkropp
Thank you! It worked, although now I have a *java.lang.IllegalArgumentException: argument type mismatch* to figure out, which probably is related to the Proxy/Entity. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: Is GWT's obfuscate compilation safe enough to protect the js code?

2011-11-08 Thread OrNOt
@Palo,G: Uemit is correct. There are many cases that need client computing and specific algorithms, for instance, image processing, especially for those which need prompt interactivity. You can not always push the data to the sever to process and then get the result back to show. In low bandwidth

Re: replace-with problem

2011-11-08 Thread Thomas Broyer
You said that A has an entry point, so A is your app, and B and C are only libraries. That means B cannot be compiled on its own, it needs to be inherited by an app module, which will have the responsibility of defining a rebind rule (as you did in A). So, I don't understand what you mean by

Re: What is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread Thomas Broyer
How is your GIN configuration impacting your Activities start() methods? As you said, the EventBus passed there comes from the ActivityManagers, so there's no reason GIN would mess things up. (and BTW, Activity is still using the old EventBus because switching to the new one would be a

Re: What is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread tanteanni
my problem is (the same problem as the others have/has?) if i change the event bus in GinModule all other instance get the new event bus. But now nobody (for example the activity manager) could call start(..., OldEventBus) because AbstractActivity's

Problem when deploying new compiled code

2011-11-08 Thread Ice13ill
Hello, I use GWT + GAE for my app development and I have a problem when deploying a version containing a lot of changes (compared to the last version): for example: same gadgets but with a different code/ architecture, changed DTOs, etc. Some times, when deploying a new version (and then setting

Re: What is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread Thomas Broyer
The question is: if only Activity uses the old event bus, and that one happens to be provided by ActivityManager (which has a dependency on the new event bus), and why couldn't you use the new event bus everywhere else than the Activity#start method?

Re: Problem when deploying new compiled code

2011-11-08 Thread Thomas Broyer
You probably need to tweak your server settings re. caching. Particularly, make sure that the *.nocache.js is *not* cached by intermediaries and browsers. See http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#perfect_caching -- You received this message because

Re: Problem when deploying new compiled code

2011-11-08 Thread Andrei Cosmin Fifiiţă
Thank you for your reply Thomas. I was firmly convinced that my config file had the necessary settings, but i was wrong. On 8 November 2011 14:00, Thomas Broyer t.bro...@gmail.com wrote: You probably need to tweak your server settings re. caching. Particularly, make sure that the *.nocache.js

Re: What is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread tanteanni
Thx Thomas, The activity has no dependency on the singleton/global event bus, and the one passed to its start() method doesn't come from GIN; so what's the problem? I think that's wrong in my case. ActivityManagers are provides this way in my code: @Provides @Singleton

Re: What is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread Thomas Broyer
On Tuesday, November 8, 2011 1:40:25 PM UTC+1, tanteanni wrote: Thx Thomas, The activity has no dependency on the singleton/global event bus, and the one passed to its start() method doesn't come from GIN; so what's the problem? I think that's wrong in my case. ActivityManagers are

Problem Injecting Javascript

2011-11-08 Thread George Agiasoglou
Hi there, Is it possible to inject something like this and expect it to work? google.load('visualization', '1', {'packages': ['table', 'corechart']});google.setOnLoadCallback(drawVisualization); function drawVisualization() {var wrap = new

Re: What is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread tanteanni
OK, let's start from the beginning: what do you mean exactly by the compilation fails ? Java compilation ? GWT compilation ? where exactly and with which error ? Good Idea (an Thx for your patience - again): If i change the binding of EventBus (

Re: What is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread tanteanni
i guess i got it and saved my day -again. i just eliminated all old(and changed where necessary) imports and put com.google.gwt.event.shared.EventBus in each startMethod. but i have some bad feelings about that - some tests call the start methods. at the moment start(panel, new

Using DockPLayoutPanel - can I get an autoexpanding south widget?

2011-11-08 Thread King_V
All, Ok, I realize DockLayoutPanel is a full-screen sort of Panel, that REQUIRES an explicit size for every widget attached. So, given that, I'm wondering if what I want to do is even possible. I'm trying to go for an application-like look. Essentially, the screen will be in three sections:

Re: Is GWT's obfuscate compilation safe enough to protect the js code?

2011-11-08 Thread Palo G.
I have to disagree with this attitude about time consuming computations. It's about how are we looking at this problem. I agree that client side code shouldn't be just presenter of text data or eye- candy animation maker. I'll try to explain why I think that time consuming computations don't

Re: replace-with problem

2011-11-08 Thread Thomas Broyer
[back to the group] On Tue, Nov 8, 2011 at 5:39 PM, ailinykh ailin...@gmail.com wrote: I meant run time error. I want module B (which is a library) to use implementation defined in app (module A). Let's say this is error message screen, it could be pop up, separated page, what ever. So all

Unable to load GWT Design View in Eclipse

2011-11-08 Thread Jonathan Gossage
I have installed a clean version of Eclipse 3.7 and the Google Web Toolkit 2.4 including App-engine and GWT. The designer shows up as installed but I can find n way to invoke or use it. How am I supposed to access it. Jonathan Gossage -- You received this message because you are subscribed to

How To Upload a File Over 2GB?

2011-11-08 Thread Boris
Can I upload a file over 2GB to server by GWT? Thank you. -- 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

GWT and reports

2011-11-08 Thread Shalin
Hello, I'm new to GWT, and am planning to build an JAVA EE application with a GWT front-end for a better usability. Before I start learning GWT, I would like to know whether it is possible to build reports, off a database, using GWT. I briefly had a go at GWT and recall having difficulty going

installing in eclipse 3.7

2011-11-08 Thread netra
plz reply me I have installed ecipse 3.7 with latest update of gwt2.4.I try to run Stockwatcher application,it works fine.But when i wish to develop login application for that i want GWT project as a option in file when i create new web application.But i didnt get that option in Design bar of

CandleStick Chart using GWT Java API

2011-11-08 Thread ember
Hi, I am new to GWT. I am unable to find a way to create a Candlestick Chart through Java API using the 'com.google.gwt.visualization.client.visualizations.corechart'. I would like to use Java as I am not proficient in UI. Can anyone please guide me? -- You received this message because you are

Re: Notification Mole styling

2011-11-08 Thread andrew
I too would like to learn to style NotificationMole. So far, the only thing I have achieved is (by using setStyleName with my own style name) on it is to style the outer box and it's background but the content is shown inside a span inside a div, with classes: div my class name div class

RE: how to Integrated GWT into eclipse

2011-11-08 Thread Dejan Karan
Follow the steps on the link below. 1. Download Eclipse with Java support. Install Eclipse 2. Open Eclipse - Help - Install New Software - In the Work With text box enter this URL http://dl.google.com/eclipse/plugin/3.6 - Add 3. Name the resource repository and then select the tools you need, I

info and thoughts on using GWT for mobile web apps

2011-11-08 Thread Jenson
Hi Folks, I'm interested in using GWT for building mobile web apps. I have some experience developing with GWT for desktop browser based RIA's but this is my first effort in mobile focused dev. I'd appreciate it if others would like to join the discussion: What are your thoughts and

Re: replace-with problem

2011-11-08 Thread ailinykh
Yes, I can compile. I get ClassNotFoundException when in module B (library) I try to create interface replaced by concrete class in app. 09:17:51.405 [ERROR] [myapp] Could not load deferred binding result type 'com.ais.myapp.client.ExceptionHandlerImpl' java.lang.ClassNotFoundException:

Re: Unable to load GWT Design View in Eclipse

2011-11-08 Thread Eric Clayberg (Google)
Have you tried opening one of your GWT UI classes (Java or UiBinder) with the WindowBuilder Editor (as shown in the docs)? -- 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: What is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread Jens
i just eliminated all old(and changed where necessary) imports and put com.google.gwt.event.shared.EventBus in each startMethod. but i have some bad feelings about that Why? Isn't this the normal situation? Every Activity/Places related class can take the new web.bindery EventBus,

GWT 2.4 installation

2011-11-08 Thread sachin sreenivasan
Hello people, I am really struggling to install the GWT2.4 + Eclipse. I tried different versions of Eclipse. In some of them I dont see the the deploy module option at all and so I cant generate the war file. I then tried with Eclipse Indigo. When I do an Install Software with the

Hosted mode memory leaks - am I missing something?

2011-11-08 Thread Mark Allerton
Hi, I'm sure I'm not the only person who has ever thought that it might be possible to use Java-based heap profiling tools to look for memory leaks in GWT-based applications, but in practice this has turned out to be a little frustrating because at least based on my naive interpretation, Hosted

Re: Is GWT's obfuscate compilation safe enough to protect the js code?

2011-11-08 Thread Jens
I would see it from a slightly different angle. I'll put my code on the server if one or more of these points matches: - Algorithm is so time consuming that its impossible to implement on client side without having the browser to freeze. (UI responsiveness/speed, user experience) - I have to

Re: Integrating GWT with Tomcat and Jersey

2011-11-08 Thread amos
Monika, I'm not sure if this is your issue but the WEBINF directory should have a dash ('-'): WEB-INF Tomcat will look for the specific name and then look for the lib directory under that. Amos On Nov 7, 9:28 am, Brandon Donnelson branflake2...@gmail.com wrote: What I do is: If your not

Re: MVP Pattern

2011-11-08 Thread Alberto Jesús Rubio Sánchez
Thanks for all to response. But which is the use of the places? Regards, Alberto J. On 3 nov, 18:29, Christian Goudreau goudreau.christ...@gmail.com wrote: Well activities and presenter really look alike and the two denomination are confusing, but a hint is the presenter interface in Gwt

Re: Unable to load GWT Design View in Eclipse

2011-11-08 Thread Jonathan Gossage
Apparently I am not looking in the right place for documentation. I spent an entire day looking for this information without success. On Tue, Nov 8, 2011 at 12:23 PM, Eric Clayberg (Google) clayb...@google.com wrote: Have you tried opening one of your GWT UI classes (Java or UiBinder) with

Re: CandleStick Chart using GWT Java API

2011-11-08 Thread Uemit
The gwt-google-api visualization api doesn't contain a GWT wrapper for the Candlestick Chart however it is quite straightforward to create one yourself. Here is a tutorialhttp://code.google.com/p/gwt-google-apis/wiki/VisualizationNewWrapper . You can take the LineChart

Re: info and thoughts on using GWT for mobile web apps

2011-11-08 Thread Alain Ekambi
Here are some of the projects that i ve found pretty interesting: http://nextinterfaces.com/ http://www.m-gwt.com/ And off course my favorite :) http://www.emitrom.com/gwt4touch Gwt4Touch is my favorite because well first we created it :) and second i think nothing beats Sencha Touch when

Re: How To Upload a File Over 2GB?

2011-11-08 Thread Kevin Jordan
If your server supports uploading that much (i.e. no POST quota), then yes. Except for initiating the form POST, GWT doesn't have much to do with file upload to the server. On Nov 8, 1:36 am, Boris boris2...@163.com wrote: Can I upload a file over 2GB to server by GWT? Thank you. -- You

sending a url with parameters, as a url parameter

2011-11-08 Thread andrew
I am calling a servlet from GWT client code using RequestBuilder. In the request (a POST) I am passing some request data... builder.sendRequest(postData, new RequestCallback() In postData, one of the url parameters is called returnToUrl This returnToUrl has url parameters, and would

Re: sending a url with parameters, as a url parameter

2011-11-08 Thread Jens
You have to encode the url you want to pass to the server. Use URL.encodeQueryString(): http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/http/client/URL.html#encodeQueryString(java.lang.String) -- J. -- You received this message because you are subscribed to the

Re: GWT and reports

2011-11-08 Thread Rob
Hi, Take a look at this post re GWT, JasperReports and iReport: - http://uptick.com.au/content/working-hsqldb-jasperreports-and-ireport And this demo (click Reports then double-click on a report): - http://gwt-cx.com/serendipity/Serendipity.html However, iReport is a thick-client application.

Re: How To Upload a File Over 2GB?

2011-11-08 Thread Rob
Hi, Take a look at: - http://jupload.sourceforge.net/ Cheers Rob http://code.google.com/p/gwt-cx/ On Nov 9, 9:39 am, Kevin Jordan ke...@kjordan.net wrote: If your server supports uploading that much (i.e. no POST quota), then yes.  Except for initiating the form POST, GWT doesn't have much

SuggestBox with RequestFactory

2011-11-08 Thread Mark Wengranowski
Hi Everyone, I was wondering if anyone knows of a source code example that uses requestfactory, a suggestbox and a dynamic suggest oracle? I already have suggestboxes that i populate with a list of strings from a RF call but need a more dynamic approach for a search tool. The list is way too

Re: How To Upload a File Over 2GB?

2011-11-08 Thread Rob
And this post - http://www.motobit.com/help/ScptUtl/pa98.htm re: Upload limits for Internet Explorer, Mozilla Firefox, Google Chrome, Opera, ... On Nov 9, 10:43 am, Rob rob.fergu...@uptick.com.au wrote: Hi, Take a look at: -http://jupload.sourceforge.net/ Cheers Rob

Re: MVP Pattern

2011-11-08 Thread Thomas Broyer
A place is like a URL; see http://tbroyer.posterous.com/gwt-21-places (and follow-up articles about activities) for a more in-depth look. -- 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 Maven repo with daily or at least weekly GWT snapshots?

2011-11-08 Thread David Chandler
Not yet, but we're working on it. /dmc On Mon, Nov 7, 2011 at 2:52 AM, Alexander Orlov alexander.or...@loxal.netwrote: Is there a Maven repo that provides daily/weekly GWT 2.5 snapshots? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: SuggestBox with RequestFactory

2011-11-08 Thread Ashwin Desikan
have you checked out the sample in the following location. http://jectbd.com/?p=45 the example uses an RPC connection, but that can be easily replaced with RF. This has example of how to implement filtering and restrict the number of results from server. one option for you would be to use a

[gwt-contrib] Re: Fix com.google.gwt.http.client.UrlBuilder to encode the query string using URL.encodeQueryString(). (issue1586804)

2011-11-08 Thread t . broyer
I'm a bit late but: Note that it fixes http://code.google.com/p/google-web-toolkit/issues/detail?id=4940 http://gwt-code-reviews.appspot.com/1586804/diff/1/user/src/com/google/gwt/http/client/UrlBuilder.java File user/src/com/google/gwt/http/client/UrlBuilder.java (right):

[gwt-contrib] Re: Fix com.google.gwt.http.client.UrlBuilder to encode the query string using URL.encodeQueryString(). (issue1586804)

2011-11-08 Thread jlabanca
LGTM http://gwt-code-reviews.appspot.com/1586804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Avoid Java bottleneck by using explicit Charset for byte[]-String conversions (issue1588803)

2011-11-08 Thread t . broyer
Given that only UTF-8 is used, how about an eagerly-initialized RPCServletUtil.UTF8_CHARSET instead? (similar to Guava's Charsets.UTF_8 [1]) [1] http://docs.guava-libraries.googlecode.com/git-history/v10.0.1/javadoc/com/google/common/base/Charsets.html#UTF_8

[gwt-contrib] Re: Avoid Java bottleneck by using explicit Charset for byte[]-String conversions (issue1588803)

2011-11-08 Thread t . broyer
LGTM, but I'm not a Googler sorry. You'll have to find a reviewer and committer. http://gwt-code-reviews.appspot.com/1588803/diff/2001/src/com/google/gwt/user/server/rpc/RPCServletUtils.java File src/com/google/gwt/user/server/rpc/RPCServletUtils.java (right):