Re: jQuery

2010-02-09 Thread dougx
There's no magic to this; just add jquery to the page as a javascript include and then use JSNI to invoke various calls. Here is a trivial example: public static native Object query(String selector) /*-{ return($(selector)); }-*/; public static native void hide(Object target) /*-{

Re: Any Google Wave developers in this group?

2010-02-09 Thread dougx
Yes. I use GWT for all my wave code; please post if you create a specific group for wave related GWT stuff... ~ Doug. On Feb 9, 1:57 pm, Jonas Huckestein jonas.huckest...@me.com wrote: Hi guys, I was wondering if there were enough wave developers around here that use gwt so that we could

Re: Authenticate before loading the application

2010-02-09 Thread dougx
Serve content via servlet, it's fair easy. For an example look here: http://blog.goodcamel.com/2010/01/08/workaround-for-google-app-engine-static-file-304-not-modified-gae/ You can then check in the servlet for authentication via cookie / id and refuse to serve unauthenticated users. ~ Doug. On

Re: SuggestBox and HasBlurHandlers

2010-02-09 Thread Thomas Broyer
On Feb 9, 6:32 am, bestey bes...@gmail.com wrote: Just wondering if there is an easy way to know when focus is lost from a SuggestBox? It doesn't implement HasFocusHandlers and HasBlurHandlers but it does have HasFocus! Any advice would be appreciated. Attach your handlers to the

Re: I need SOP disabled in GWT 2.0 built-in web server.

2010-02-09 Thread Thomas Broyer
On Feb 9, 4:26 am, Tatchan tatcha...@gmail.com wrote: Hi Rob, Thanks for the tip. I guess it's the same as the -noserver - startupUrl isn't it? Anyway, I got an external Apache HTTP server working. What I'm saying is that it would be lovely if we have an option to disable SOP with the

Re: gwt-ckeditor v0.3 release

2010-02-09 Thread Thomas Broyer
On Feb 9, 8:57 am, Damien Picard picard.dam...@gmail.com wrote: Hi, I'm pleased to announce the v0.3 release of gwt-ckeditor : v0.3 Changes    - Fixing issues on multiple custom toolbar and attach/detach editor    - Adding entities and enter mode support Many thanks to codex69 for its

Re: jQuery

2010-02-09 Thread muhannad nasser
thanks very much. i will try it On Tue, Feb 9, 2010 at 10:30 AM, dougx douglas.lin...@gmail.com wrote: There's no magic to this; just add jquery to the page as a javascript include and then use JSNI to invoke various calls. Here is a trivial example: public static native Object

Re: RootPanel.get() problems

2010-02-09 Thread Juan M.M.M.
Hi man! Thx for the reply but I can't set the visiblitiy with this method Document.get().getElementById(...) . Can you tell me the exact sintax to acced to the setVisibility method through Document clas? best regards! On Feb 3, 5:38 pm, Thomas Broyer t.bro...@gmail.com wrote: On Feb 2, 6:00 

Re: jQuery

2010-02-09 Thread mariyan nenchev
What does Gquery give you that gwt can't? On Tue, Feb 9, 2010 at 10:30 AM, dougx douglas.lin...@gmail.com wrote: There's no magic to this; just add jquery to the page as a javascript include and then use JSNI to invoke various calls. Here is a trivial example: public static native Object

Re: jQuery

2010-02-09 Thread matttai
speed the gwt compiler has a mind boggling amount of optimization On Feb 9, 8:53 pm, mariyan nenchev nenchev.mari...@gmail.com wrote: What does Gquery give you that gwt can't? On Tue, Feb 9, 2010 at 10:30 AM, dougx douglas.lin...@gmail.com wrote: There's no magic to this; just add jquery

Re: jQuery

2010-02-09 Thread mariyan nenchev
Could you be more detailed :) On Tue, Feb 9, 2010 at 12:06 PM, matttai matt...@hotmail.com wrote: speed the gwt compiler has a mind boggling amount of optimization On Feb 9, 8:53 pm, mariyan nenchev nenchev.mari...@gmail.com wrote: What does Gquery give you that gwt can't? On Tue,

Re: Adding new event types (touch etc.)

2010-02-09 Thread msa...@gmail.com
On Feb 8, 11:17 am, Thomas Broyer t.bro...@gmail.com wrote: On Feb 7, 7:54 pm, msa...@gmail.com msa...@gmail.com wrote: Is there a way to get GWT to deliver new native events to Widget.onBrowserEvent(), Yes, just use @com.google.gwt.user.client.impl.DOMImplStandard::dispatchEvent as the

Re: gwt-ckeditor v0.3 release

2010-02-09 Thread Damien Picard
Thank you :) 2010/2/9 Thomas Broyer t.bro...@gmail.com On Feb 9, 8:57 am, Damien Picard picard.dam...@gmail.com wrote: Hi, I'm pleased to announce the v0.3 release of gwt-ckeditor : v0.3 Changes - Fixing issues on multiple custom toolbar and attach/detach editor -

Re: gwt-ckeditor v0.3 release

2010-02-09 Thread Abdullah Shaikh
Hey Damien, I just had a look at the editor, its cool .. - Abdullah On Tue, Feb 9, 2010 at 4:45 PM, Damien Picard picard.dam...@gmail.comwrote: Thank you :) 2010/2/9 Thomas Broyer t.bro...@gmail.com On Feb 9, 8:57 am, Damien Picard picard.dam...@gmail.com wrote: Hi, I'm pleased to

Re: jQuery

2010-02-09 Thread matttai
The GWT Extreme video from the 08 Google IO details everything pretty well: http://www.youtube.com/watch?v=2ScPbu8ga1Q On Feb 9, 9:07 pm, mariyan nenchev nenchev.mari...@gmail.com wrote: Could you be more detailed :) On Tue, Feb 9, 2010 at 12:06 PM, matttai matt...@hotmail.com wrote:

[ANN] BST Player 1.1 released

2010-02-09 Thread sbraheem
Hello, I am pleased to announce the release of BST Player API 1.1 - (http:// oss.bramosystems.com/bst-player). The API exposes WMP, QT, Flash, VLC media player plugins as regular GWT widgets. This is a major release with new features and numerous enhancements including: * NativePlayer

How to run tests with GWTTestCases and -noserver mode?

2010-02-09 Thread Ed
How can I run tests that extends from GWTTestCase in gwt 2.0 with noserver mode? I tried it, accoding to the documentation GWT JUnit, but don't really understand why GWT uses his own GWTShellServlet, instead of mine :(... I also tried to use my own war/WEB-INF/web.xml but without any luck. I

Re: Unable to Use GWT Developer Plugin with Firefox 3.6

2010-02-09 Thread vali
Hello! I've got the same problem. I can install the plugin in firefox 3.6 but when i want to use it, i just get a message that i need the plugin (as if it wasnt installed yet). Works with FF3.6 in windows tho' Using 3.5.7 until the bug is fixed... Unfortunately i didnt find many people

Re: gwt-ckeditor v0.3 release

2010-02-09 Thread Prashant Gupta
I was using the JS version of CKEditor, I think gwt-ckeditor will replace it without any problem. Thanks a lot. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To

Re: gwt-ckeditor v0.3 release

2010-02-09 Thread Damien Picard
Thank you. Don't hesitate to add your requirements in the issue tracker : it will provide me a roadmap. 2010/2/9 Prashant Gupta nextprash...@gmail.com I was using the JS version of CKEditor, I think gwt-ckeditor will replace it without any problem. Thanks a lot. -- You received this

Re: ScrollPanel Widget like Google Wave

2010-02-09 Thread Marcos Alcantara
Hi, I would be interested too!! =) Best regards, Marcos Alcantara On 9 fev, 01:59, Allahbaksh a.allahba...@gmail.com wrote: HI All, Any one has implemented the ScrollPanel widget like the one in Google Wave? Any pointer to the any advanced library for doing the same. Regards, Allahbaksh

Re: How to configure my web.xml

2010-02-09 Thread Nathan Wells
If you are running in hosted mode or OOPHM, you should only have to restart the web server, not trigger compilation. It should work like this: Change server source file = restart web server Change client source file (hosted mode) = reload page Change any source file (compiled mode) = recompile

Re: Error loading my app

2010-02-09 Thread Joe Cole
I haven't seen that in particular, but what I usually do is look at the error codes and google them: http://www.google.com/search?sourceid=chromeie=UTF-8q=nsIDOMHTMLSelectElement.selectedIndex It's obviously to do with a select's selected index, probably being set to an invalid index. On Feb 9,

Re: jQuery

2010-02-09 Thread Jan Ehrhardt
The $ method is in the global namespace, which cannot be accessed from GWT native JS code directly. You'll have to use the $wnd variable instead, which brings the global namespace to GWT. So the first method of the simple example has to look like this: public static native Object query(String

Re: RootPanel.get() problems

2010-02-09 Thread Thomas Broyer
On Feb 9, 10:37 am, Juan M.M.M. knn0n@gmail.com wrote: Hi man! Thx for the reply but I can't set the visiblitiy with this method Document.get().getElementById(...) . Can you tell me the exact sintax to acced to the setVisibility method through Document clas? Either

Trying to utilize Java List Class with GWT.

2010-02-09 Thread LJ
I will admit this upfront, I am new to GWT programming. To outline the overall application, I am trying to make a selection in the left horizontal panel, which then populates a list of checkboxes on the right. Upon selecting various items via checkboxes, the bottom panel should summarize the

editor for utf-8 properties files

2010-02-09 Thread ]matmat[
Hello, I am looking for a properties file editor for my GWT i18n-ed resources. As the application I am working on supports several languages (en, fr, ja), it would be very handy to be able to edit the different languages on the same window. I found this tool:

SOP in GWT 2.0

2010-02-09 Thread Lothrien
In development mode I can access the xml file I want to read within the GWT application - everything ok so far. When I compile the app and call it from the file system, this was working in v1.7.1, but now I get an SOP error(!) How can I get around this? public String xmlfile=

create or edit a file using Gwt

2010-02-09 Thread sudhir reddy
Hi, I want to create or read or edit a file on client machine using Gwt. Is this possible. Please give me the details. Thanks and regards Sudheer Reddy N M.Tech India -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Re: I need SOP disabled in GWT 2.0 built-in web server.

2010-02-09 Thread Ben Hutchison
That works for us as well. But unfortunately, it doesn't work for GWTTestCase. We would like to use JUnit to run integration tests, running with our own web server that includes proxing to get around the single-origin- policy. But I havent yet found a way in GWT 2.0...? -Ben On Feb 9, 1:32 am,

Page won't update past initial code

2010-02-09 Thread dekushrub
Hi, I'm using Eclipse with GWT and trying to work through the Stock Watcher Tutorial. When I try to do Run As Web Application or compile the code, I only see the webpage with the intial code provided by Eclipse. Does anyone know what the problem may be? -- You received this message because you

How to pin the header row in GWT FlexTable

2010-02-09 Thread musa basbusa
Hi , I want to implement the ability to pin the header row in GWT FlexTable . This feature is needed when using a very long table. Any suggestions ? musa. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

IE 7 scales gif images wrong when application has been compiled

2010-02-09 Thread Bernhard
Hello, im am using GWT 2.0 and found a problem with the scaling of .gif images in IE 7 when the application has been compiled. I am using the following simple code: ... VerticalPanel leftVerPan = new VerticalPanel(); Image logo = new Image(img/logo.gif); leftVerPan.add(logo); ... everything looks

How to use g:DialogBox UIBinder definition from Java

2010-02-09 Thread Ovidiu Gheorghies
Hello, The DialogBox API (http://google-web-toolkit.googlecode.com/svn/ javadoc/2.0/com/google/gwt/user/client/ui/DialogBox.html) notes that a DialogBox can be defined as a UIBinder template as follows: g:DialogBox autoHide=true modal=true g:captionbCaption text/b/g:caption g:HTMLPanel

Re: RootPanel.get() problems

2010-02-09 Thread Juan M.M.M.
Thx for the reply p.d: it's enough with the prototype of the method ;D Bye! On Feb 9, 3:10 pm, Thomas Broyer t.bro...@gmail.com wrote: On Feb 9, 10:37 am, Juan M.M.M. knn0n@gmail.com wrote: Hi man! Thx for the reply but I can't set the visiblitiy with this method

Not able to use External Jar file for DB connection

2010-02-09 Thread vinod M
HI, Can anyone help me in solving the issue faced while developing the application using Postgres DB with SmartGWT-2.0 and GWT 2.0, failing to establish the connection. Configuration Details Eclipse 3.4 (Ganymede) Gwt plugin Appengine 1.3 GWT 2.0 SmartGwt 2.0 Postgres Sql DB I initially tried

Problems wirh the new GWT + GWTdesigner + GWText

2010-02-09 Thread jacevedo
Hi, I have a project of GWT 1.7.1 working with GWT Designer 7.2 and GWTExt 2.0.5 and it works very good. Know I`m migrating to GWT2.0 whit GWT Designer 7.3 because it have the development mode. The first time I made in Eclipse right click on the project - Run AS - GWT Application, the program

set nested tab orders within a popup window

2010-02-09 Thread Kun Yang
Hi, I need to set tab orders on my page, which has a tab menu bar consisting of push buttons. On one of the push buttons (say button A) there is a popup window. When the user presses tab key on the keyboard, he should be able to navigate through the menu, and through the popup window elements.

Crowdsourcing a problem

2010-02-09 Thread Grant
Hi I have been busily hacking away at my first GWT 2 application (my first real GWT application actually) You can see it over here http://gwtcraft.appspot.com and the source code is here http://github.com/gklopper/GWTcraft (MIT license) Be warned it is about World of Warcraft, but then it is

GWT Release Announcements

2010-02-09 Thread Erik Uzureau
I did a bit of searching and can't seem to find if there is an email list or google-group somewhere that posts only release announcements and/or other pertinent information for users[1]. It seems to me (though maybe I'm wrong) that this list hosts the information I'm looking for but also user

Re: RootPanel.get().clear() does not clear the page

2010-02-09 Thread Ashar Lohmar
Hi the clear() method on the HasWidgets objects only removes the child widgets that had been added to it by using the add method in you case the logic is kind of ok, the RootPanel.get(nameofcontainer) is a child of RootPanel.get() in the DOM point of view, but but not for the HasWidgets object

com.google.gwt.dev.jjs.InternalCompilerException: Unable to locate index method: Impl.registerEntry

2010-02-09 Thread Xavier Lawrence
Hi, I keep getting the error below, using maven 2 while trying to compile a GWT Module. Does anybody have a hint about where I should start looking ? I have a second maven project, similar to that one that build correctly without this error. Any help is welcome, since I am struggling to find the

Blackberry browser

2010-02-09 Thread seema
Does GWT support the default browser in the Blackberry device? Thanks, Seema -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send

Re: How to use g:DialogBox UIBinder definition from Java

2010-02-09 Thread Christian Goudreau
That's how : http://pastie.org/816302 Christian On Tue, Feb 9, 2010 at 6:00 AM, Ovidiu Gheorghies ogheorgh...@gmail.comwrote: Hello, The DialogBox API (http://google-web-toolkit.googlecode.com/svn/ javadoc/2.0/com/google/gwt/user/client/ui/DialogBox.html) notes that a DialogBox can be

Re: RootPanel.get().clear does not clear anything

2010-02-09 Thread Ashar Lohmar
check what I've said here http://groups.google.com/group/google-web-toolkit/browse_thread/thread/519854e6a7c77d91?pli=1 but whatch out if you'll do an RootPanel.get().getElement().setInnerHTML(); i think that will remove the iframe that GWT adds it to the document also i don't know if that

Re: jQuery

2010-02-09 Thread dougx
My bad; Jan is of course correct... :) On Feb 9, 8:50 am, Jan Ehrhardt jan.ehrha...@googlemail.com wrote: The $ method is in the global namespace, which cannot be accessed from GWT native JS code directly. You'll have to use the $wnd variable instead, which brings the global namespace to GWT.

Re: Crowdsourcing a problem

2010-02-09 Thread mariyan nenchev
It gives me this: An error has occurred: The call failed on the server; see server log for details Please try search again. Could you please tell me what and where to search? On Tue, Feb 9, 2010 at 4:33 PM, Grant grant.klop...@gmail.com wrote: Hi I have been busily hacking away at my first

Re: ClientBundle compilation error

2010-02-09 Thread RickD
I too am experiencing this exact problem. I have successfully used ImageResources for nearly all of my images, but when I added just one more image it breaks!? The problem seems to be related to the number of images and not the content of the image. I am anxiously awaiting a fix, and in the

Re: Any Google Wave developers in this group?

2010-02-09 Thread Duong BaTien
Yes. We use GWT, GAE, and Wave Duong BaTien DBGROUPS and BudhNet On Tue, 2010-02-09 at 00:32 -0800, dougx wrote: Yes. I use GWT for all my wave code; please post if you create a specific group for wave related GWT stuff... ~ Doug. On Feb 9, 1:57 pm, Jonas Huckestein

Re: Any Google Wave developers in this group?

2010-02-09 Thread Christian Goudreau
Yes I am too ! Christian On Tue, Feb 9, 2010 at 9:57 AM, Duong BaTien duong.bat...@gmail.com wrote: Yes. We use GWT, GAE, and Wave Duong BaTien DBGROUPS and BudhNet On Tue, 2010-02-09 at 00:32 -0800, dougx wrote: Yes. I use GWT for all my wave code; please post if you create a

Re: editor for utf-8 properties files

2010-02-09 Thread Martin Trummer
I'm using: http://sourceforge.net/projects/eclipse-rbe/ and like it On 8 Feb., 21:34, ]matmat[ matthias.buch...@gmail.com wrote: Hello, I am looking for a properties file editor for my GWT i18n-ed resources. As the application I am working on supports several languages (en, fr, ja), it

Re: editor for utf-8 properties files

2010-02-09 Thread Christian Goudreau
Would be great if that was pre-installed within google eclipse plugin. You should write an issue for that. On Tue, Feb 9, 2010 at 9:59 AM, Martin Trummer martin.trum...@24act.atwrote: I'm using: http://sourceforge.net/projects/eclipse-rbe/ and like it On 8 Feb., 21:34, ]matmat[

Re: GWT Release Announcements

2010-02-09 Thread Chris Ramsdale
Given the traffic on the GWT group, I completely agree that you would have to do a fair amount of filtering in order to the catch the release announcements. Typically we pin the announcements to the top of the discussion list, but this is only useful if you use Group's web interface (which I

Re: Crowdsourcing a problem

2010-02-09 Thread Grant
Sorry need to type in a character name. Try this http://gwtcraft.appspot.com/#q=Pete But I do get timeouts from the warcraft armory api from time to time that I have not properly handled yet. Grant On Feb 9, 2:45 pm, mariyan nenchev nenchev.mari...@gmail.com wrote: It gives me this: An

Re: can not set breakpoint

2010-02-09 Thread Jason Parekh
Hi Canal, Which URL is your browser pointing at? jason On Mon, Feb 8, 2010 at 8:51 PM, go canal goca...@yahoo.com wrote: I have upgraded JDK to 1.6u18. tried the default project greetService, still the same. rgds, canal -- *From:* Jason Parekh

Re: Can't debug client code from Eclipse

2010-02-09 Thread Rajeev Dayal
Actually, setting a breakpoint in async callback code should definitely work. In the sample, I set a breakpoint in the onSuccess method of the RPC callback, and it breaks there. Try upgrading your JDK and see if you still experience the problem. On Sat, Feb 6, 2010 at 7:28 AM, urbanus

Re: upgrade gwt 1.5 to 1.6 help!!

2010-02-09 Thread Rajeev Dayal
If you're using the plugin, you don't need to switch to DevMode on your own - the plugin will automatically do this for you, if it recognizes that your project is in a 1.6-compatible form. See the Working with GWT 1.5 and Earlier Projects section of:

Re: GWT 2.0.1 out but Eclipse says There is nothing to update

2010-02-09 Thread Rajeev Dayal
The problem has to do with the P2 system used in Eclipse 3.4+. This is the provisioning system, which is responsible for plugin installation and management. Every so often, P2 performs a garbage collection of plugins that are no longer used by Eclipse. If you deliver SDKs by using plugins as the

Re: GWT 2.0.1 out but Eclipse says There is nothing to update

2010-02-09 Thread Chris Lercher
Ok, I understand. But if this is only about making it possible to keep multiple SDKs at the same time, then I would use com.google.gwt.eclipse.sdkbundle.e35.feature.2.0 instead of com.google.gwt.eclipse.sdkbundle.e35.feature.2.0.0 Or do people actually want to keep both 2.0.0 and 2.0.1 around?

Re: create or edit a file using Gwt

2010-02-09 Thread mikedshaf...@gmail.com
The short answer: you can't. GWT runs in a browser. The browser is prevented intentionally from writing to the local filesystem. Remember, at the end of it all, GWT creates HTML/CSS/Javascript that runs in a browser. Anything you can or can't do in that environment is the same for GWT. On Feb

App works in ff and chrome but not in ie8

2010-02-09 Thread crojay78
Hi, my app is running in chrome and ff as expected but in ie8 nothing will be shown, my two div's will not be filled. I am using a flextable to show user lists and also I use a few times the setstylename method on the widgets. I read that a few people has also problems with flextable in ie8 but I

Re: Large MVP applications and GWT.runAsync()

2010-02-09 Thread jarrod
Joe, In fact, no it does not work properly with multiple instances, and this is a problem I discovered shortly after originally posting this. The solution I devised was to make the Proxy abstract and simply create concrete sub-classes for each Presenter I want to proxy (anonymous sub-classes do

Re: How to use g:DialogBox UIBinder definition from Java

2010-02-09 Thread Thomas Broyer
On Feb 9, 12:00 pm, Ovidiu Gheorghies ogheorgh...@gmail.com wrote: Hello, The DialogBox API (http://google-web-toolkit.googlecode.com/svn/ javadoc/2.0/com/google/gwt/user/client/ui/DialogBox.html) notes that a DialogBox can be defined as a UIBinder template as follows:  g:DialogBox

Re: GWT Release Announcements

2010-02-09 Thread Erik Uzureau
That seems like a good solution to me. Thanks! Erik On Feb 9, 9:11 am, Chris Ramsdale cramsd...@google.com wrote: Given the traffic on the GWT group, I completely agree that you would have to do a fair amount of filtering in order to the catch the release announcements. Typically we pin the

Re: Free memory allocated to GWT widgets

2010-02-09 Thread phb
As I posted a while back, I was having severe memory leak issues. In order: - Look at your own code. If you're still holding references to widgets, GC doesn't think it's supposed to free them (of course). In particular, watch out for static references, which don't get cleared even when objects

Fwd: GWT 2.0 internet explorer 7 devmode issue?

2010-02-09 Thread Jeff Farkas
Hello moderator, I submitted this post the other day as I am a new user this never did make it the forum. Not sure if it was overlooked. Thanks -- Forwarded message -- From: fark ffej.sak...@gmail.com Date: Tue, Feb 2, 2010 at 4:09 PM Subject: GWT 2.0 internet explorer 7 devmode

Re: Authenticate before loading the application

2010-02-09 Thread Simon
Thanks for the answers. About filters : yes I use one for authentication. With that filter all the servlets are secured. My question was about all the non-servlet ressources: the html pages, the javascript files, css, images. So I need to server all those files through servlets (what I suggested

Re: GWT 2.0 internet explorer 7 devmode issue?

2010-02-09 Thread fark
I tried your suggestion and it still does not work in ie dev mode. It works fine in chrome and ff dev mode (and ie compiled). Ie looks like it is still reposting the url and reloading the application. Let me elaborate more on the issue I have 2 cases which are failing in ie dev mode. One is the

Servlet URL not found when deploying

2010-02-09 Thread Davidj2k
When I try to deploy my application to a Linux server I get this error Not Found The requested URL /MyApp/myapp/servletUpload was not found on this server. However, when I am developing it in Eclipse it works fine, what do I need to do to get it to work on the Linux server? -- You received

Re: Servlet URL not found when deploying

2010-02-09 Thread obesga
Maybe it's calling to /MyApp/servletUpload Just try with firebug or httpfox on Firefox to know where is normal calling going, to compare with failure one. Or make servlet-mapping servlet-nameservletUpload/servlet-name url-pattern/MyApp/myapp/servletUpload/url-pattern

Re: Large MVP applications and GWT.runAsync()

2010-02-09 Thread Joe Cheng
OK, great, I went through a similar approach previously. The new approach I'm using is similar but you can remove the boilerplate in the proxy implementation, as the deferred binding mechanism will fill it all in. In fact since you're using Gin it will literally look like this: public abstract

Re: SOP in GWT 2.0

2010-02-09 Thread obesga
Making ../myfile.xml you're telling the browser to access file into another server. ¿ Cant you use myfile.xml on the base url of server ? Hope that helps On 8 feb, 23:25, Lothrien sebastian.fra...@pronetwork.info wrote: In development mode I can access the xml file I want to read within the

Re: Authenticate before loading the application

2010-02-09 Thread Simon
@dougx Thanks for your post, I didn't knew that app engine did not support 304. One difference: I want the files to be accessed *only* by servlet, ie the servlet should serve the files, not redirect to them. On 9 fév, 09:44, dougx douglas.lin...@gmail.com wrote: Serve content via servlet, it's

Re: Servlet URL not found when deploying

2010-02-09 Thread Davidj2k
I did try checking, and it is calling the correct path, but the path does not exist and this is my exact servlet mapping in the web.xml file servlet servlet-nameservletUpload/servlet-name servlet-classcom.myapp.server.FileUploadServlet/servlet-class /servlet servlet-mapping

Re: Problem with Thread in GWT2.0

2010-02-09 Thread Joe Cheng
I just meant something like this. void *pollForEvents() *{ server.getEvents(new AsyncCallback() { public void onSuccess(Event[] result) { handleEvents(result); *pollForEvents();* } public void onFailure(Throwable caught) { // do something with the error... if

Re: Code Splitting: lots of overhead. Too much?

2010-02-09 Thread Sky
Bump I'm really curious if anyone can help me understand how code splitting can be useful given the experience I have had with it. It really makes little sense why the overhead is so huge. On Feb 5, 4:16 pm, Sky myonceinalifet...@gmail.com wrote: Sorry, I have to retract that last post

Re: Any Google Wave developers in this group?

2010-02-09 Thread Sky
I also hope to incorporate wave into my current GWT projects ^_^ It mostly depends on how complete it is. Last I checked (a good number of months ago) the Wave API was very much in it's infancy. I'm going to revisit it soon! On Feb 9, 8:58 am, Christian Goudreau goudreau.christ...@gmail.com

Re: Code Splitting: lots of overhead. Too much?

2010-02-09 Thread Jeff Schnitzer
I have an application whose 600k+ size dropped to about 100k for the initial download using code splitting. Not every app will benefit from code splitting, it really depends on how modular your app is - are there big pieces of functionality that stand alone, or is everything woven together? I

How to get unpublished events from a SuggestBox?

2010-02-09 Thread phb
SuggestBox is an opaque grouping of several underlying widgets which *nearly* does exactly what I want. What it doesn't do is update the textbox with suggested text as you arrow up or down through the list, or as you hover over suggestions with the mouse. For an example of why this is useful,

Re: Large MVP applications and GWT.runAsync()

2010-02-09 Thread jarrod
Ah, well I'd be interested to see what you come up with as far as reducing the boilerplate. I had tried a few different scenarios, but I found that unless the actual call to GWT.runAsync for each proxied Presenter was in a unique class then the compiler wouldn't split out the code properly. I'm

Re: Client Bundle and Image Internationalization

2010-02-09 Thread Christian Goudreau
It doesn't work after build ! My images are a mess and I can't even change de locale, what am I missing ? Christian On Mon, Feb 8, 2010 at 4:24 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: Ok... it's working in dev mode, I don't know why it didnt when going live, I'll do some

Re: Client Bundle and Image Internationalization

2010-02-09 Thread Christian Goudreau
It seem that only the default value is used. I have three files : image.png, image_en_CA.png and image_fr_CA.png. Everything is working fin in dev mode, but when it come to publish, only image.png is taken into account. Maybe it's because I have PHP server side ? Can anyone help me ?

Re: Authenticate before loading the application

2010-02-09 Thread Martin D'Aloia
it's not enough for you doing something like this? filter filter-nameSecurityFilter/filter-name filter-classcom.domain.app.filter.SecurityFilter/filter-class /filter filter-mapping filter-nameSecurityFilter/filter-name url-patternoneServletURL/url-pattern /filter-mapping

Re: Authenticate before loading the application

2010-02-09 Thread dougx
Absolutely, store the files in the data store or something but serve them as though they were normal pages; simply serving a static resource via servlet won't achieve anything. Also; don't use code splitting as a security measure; it's a client side thing, which means it can be avoided. (Yes, I

Read XML file on server using ServletContext.getResource() never works for me

2010-02-09 Thread Lucas86
I've been trying to read an XML in my RPC servlet and I'm having trouble reading the file in development mode using ServletContext.getResource(). This is my first try, and I think I must be missing something simple but I haven't been able to find what the missing piece is. Every path I've passed

Re: Read XML file on server using ServletContext.getResource() never works for me

2010-02-09 Thread Joe Cole
From memory we had heaps of trouble using getResource, and ended up using getResourceAsStream. Give that a go? InputStream stream = configuration.getServletContext().getResourceAsStream(location); On Feb 10, 6:09 pm, Lucas86 lucaslo...@gmail.com wrote: I've been trying to read an XML in my RPC

Re: App works in ff and chrome but not in ie8

2010-02-09 Thread rjcarr
I'm not sure how to address this in GWT 2.0, but prior to 2.0 if I had problems in IE I would run the hosted mode environment in Windows and it would expose the problem. Since the Windows version of hosted mode uses IE it will show you the problem that it is having (almost certainly something

Re: java.io.Serializable not accepted for serialization

2010-02-09 Thread rjcarr
Are you sure that the class that you want to serialize (implements Serializable) is within your gwt module package? On Feb 9, 2:25 am, Andrea Polci apo...@gmail.com wrote: Whenever I try to use in my services a class that implements java.io.Serializable and not IsSerializable I get the

Re: Using RequestBuilder to request from local file system

2010-02-09 Thread rjcarr
Hi David- This is an interesting problem. I can see how browsers would have different policies about how they access files on the local filesystem. I would guess that what you're trying to do most browsers wouldn't allow and/or support. I think you're going to need to rethink how your help

Re: RootPanel.get().clear() does not clear the page

2010-02-09 Thread go canal
Hi, Thanks for your reply. I have not tested but I think getElement().setInnerHTML will work. First, I thought that I can juse use RootPanel.get().clear() to remove everything on the current page; then I hope I can use something like RootPanel.get(id).clear() if I have sometign like this in my

Re: can not set breakpoint

2010-02-09 Thread go canal
it is http://127.0.0.1:/  rgds, canal From: Jason Parekh jasonpar...@gmail.com To: google-web-toolkit@googlegroups.com Sent: Tue, February 9, 2010 11:38:47 PM Subject: Re: can not set breakpoint Hi Canal, Which URL is your browser pointing at? jason

[gwt-contrib] Re: Two BiDi support classes

2010-02-09 Thread Tomer Greenberg
We're working on uploading a good patch. Yes, the goal is to have some widgets use this, not directly though. In my naive design the code is loaded, but the objects are created only if needed. Will it solve anything? Is there a solution scheme that doesn't even load the modules unless needed? On

[gwt-contrib] StackPanelLayout and applying additional style when hovering header.

2010-02-09 Thread Marko Vuksanovic
I thought it would be nice if it was possible to have hovering effect on StackPanelLayout header so I created an issue for that (issue nuber is 4561, or direct link

[gwt-contrib] Re: Use cellIndex and sectionRowIndex in HTMLTable::getCellForEvent

2010-02-09 Thread t . broyer
Ping! ;-) http://gwt-code-reviews.appspot.com/125806 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Trivial fix for issue 3956 (REGRESSION: r5292 broke Opera support for History)

2010-02-09 Thread t . broyer
Ping! http://gwt-code-reviews.appspot.com/126812 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Refactor SessionHandler and BrowserChannelClient to allow other OOPHM clients than HtmlUnit

2010-02-09 Thread t . broyer
On 2009/12/10 14:49:27, jat wrote: Ok, I think we can work on getting this into trunk now. To do that, we need to do the cleanups you mention, such as getting rid of methods that only throw UOE from SessionHandler. Any chance of having it into 2.1?

[gwt-contrib] Fix for KeyPressEvent.getCharCode and overall key events improvements

2010-02-09 Thread t . broyer
Reviewers: jlabanca, Description: See http://groups.google.fr/group/Google-Web-Toolkit-Contributors/t/e705905e2cc78408 This patch: - fixes NativeEvent::getKeyCode so it always returns e.keyCode - introduces NativeEvent::getCharCode to return (e.keyCode || e.charCode) as suggested by PPK (this

Re: [gwt-contrib] StackPanelLayout and applying additional style when hovering header.

2010-02-09 Thread Joel Webber
Thanks, Marko. I'll take a look at it today. On Tue, Feb 9, 2010 at 4:07 AM, Marko Vuksanovic markovuksano...@gmail.comwrote: I thought it would be nice if it was possible to have hovering effect on StackPanelLayout header so I created an issue for that (issue nuber is 4561, or direct link

[gwt-contrib] Re: GWT 2.0.1 breaks incubator 2.0 ... is a new release emminent ?

2010-02-09 Thread newnoise
acutally i get the errors in the version downloaded today also. On 8 Feb., 16:09, John LaBanca jlaba...@google.com wrote: Wow, 2010 already.  Fixed. Thanks, John LaBanca jlaba...@google.com On Sat, Feb 6, 2010 at 8:52 AM, jim n northrup.ja...@gmail.com wrote: can you name it 2010x

Re: [gwt-contrib] Re: GWT 2.0.1 breaks incubator 2.0 ... is a new release emminent ?

2010-02-09 Thread John LaBanca
I'll take a look and make sure we can use the incubator jar with GWT 2.0. Thanks, John LaBanca jlaba...@google.com On Tue, Feb 9, 2010 at 8:35 AM, newnoise tommmuel...@googlemail.com wrote: acutally i get the errors in the version downloaded today also. On 8 Feb., 16:09, John LaBanca

  1   2   >