Re: Severe performance problem after upgrading to GWT 1.5.2 (final)

2008-10-01 Thread hbatista
In my case I made some mistake while profiling my code... turns ot that for some reason the database access got really slow. I switched the database drivers (from jtds to the microsoft jdbc driver for sql server) and everything went back to normal. On Sep 30, 8:20 pm, Manuel [EMAIL PROTECTED]

Re: RPC Across Modules

2008-10-01 Thread [EMAIL PROTECTED]
Thanks for your quick reply guys. Ive already got that bit thanks jamie. And ive imported all the classes so it compiles happily. And just to clarify the rpc folder has seval dependencies (JPA, JAXB) that i dont want anywhere else in the project and to achieve this seperation i have moved them

Re: Delaying a loop.

2008-10-01 Thread Ed
What Thomas mentions works fine. I do the same: have a dispatcher that dispatches events. When a subscriber/listener indicates in the dispatched event that the dispatcher needs to wait dispatching any further event, the dispatcher queues all following events and waits untill it gets a signal from

Re: Standard themes not crossbrowser?

2008-10-01 Thread mattscape
I've found these two issues: http://code.google.com/p/google-web-toolkit/issues/detail?id=2547 http://code.google.com/p/google-web-toolkit/issues/detail?id=2781 But that doesn't explain why the standard example isn't working. --~--~-~--~~~---~--~~ You received

Re: RPC Across Modules

2008-10-01 Thread [EMAIL PROTECTED]
Ok well i have resolved that issue by compiling all the classes to the same directory (still giving the compile time checks for dependencies). I have a new issue however. my server side is failing to load the libraries it uses. It is throwing the following error at runtime. ParseFactory is in my

Basic login security/session management question

2008-10-01 Thread nogridbag
Hi, I'm fairly new to web apps so I have a few basic questions about handling the user's secure session. I read the article on login security here: http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ I understand everything up to the section How to remember logins. At

RPC application and isolated classpaths

2008-10-01 Thread Kieron Wilkinson
Hi, I have tried to find other posts here and elsewhere with a similar problem to no avail. I am using Intelli-J IDEA and structuring my GWT application into 3 *Intelli-J* modules (being different to GWT modules), client, rpc and server. Client contains my widgets, rpc contains business objects

Ajax on a server that does not support servlet

2008-10-01 Thread slow
I am implementing a client side interface that gets raw data from a web server embedded on an FPGA device and graph that data. The server does not support java. As I was reading through the gwt tutorial it seems like that in order to implement Ajax one needs to use servlet or some JSON scripts.

Deploying DynaTable example to Tomcat servlet container 6.0.18

2008-10-01 Thread Duc Cuong
Hi everybody, I am trying to deploy the Dynamic Table example ( the example that goes along with Google Web Toolkit 1.5 installation package) on the Tomcat servlet container 6.0.18. I have followed every step in the Example Deployment with Tomcat section in the online Google Web Toolkit 1.5

Re: Ajax on a server that does not support servlet

2008-10-01 Thread Lothar Kimmeringer
Hello ... whoever, slow schrieb: I also read that you can form ordinary http requests within gwt code. My question then: Is it possible to use the normal http requests without JSON or servlets to implement ajax. If so how does one go about doing that. RequestBuilder is used to perform

Re: How to call applet in gwt

2008-10-01 Thread Lothar Kimmeringer
Martin Trummer schrieb: HTML applet = new HTML(); panel.add(applet); applet.setHTML(APPLET src=\/applets/MyApplet.class\ etc.); Yes, but in this case you have to take care that it works in different browsers, which can become a nightmare: I know that and I assumed that the one asking is

Re: Info Windows

2008-10-01 Thread walden
Hello Xavier, In addition to what Sumit said above, could you please refrain from posting unless you have either a specific question about GWT or a specific answer about GWT? Posts which contain neither of those (most of yours) look to me like they would really confuse someone who is new to the

Localization: getting messages by dynamic parameter

2008-10-01 Thread Andrey
Hello! I want to solve the problem of correct localization of noun cases (nominative, accusative) and genders in some languages: Russian, Spain and so on. The problem is that a word in my case comes from database, so its gender is dynamic information. I am going to make a few messages, each for

Re: Fire TableListener Event from inside a TableListener

2008-10-01 Thread walden
Bear, I don't think it's covered by documentation, and I also don't think it's really a simple thing to do. I have implemented something like this relative to the 1.4 codebase, so it may not take advantage of features in 1.5, I don't know. One issue is that whatever you use as a cell editor

GWT embeded on phoneme device

2008-10-01 Thread ff
Hi I want to embed an http server and my GWT web application on a phoneme device (CLDC 1.1) but the serialization causes crash because it uses split String Method not present in CLDC. java.lang.NoSuchMethodError: java.lang.String: method split(Ljava/lang/ String;)[Ljava/lang/String; not found

Re: GlassPanel bug: has anyone else encountered this

2008-10-01 Thread Ian Bambury
This really isn't the best way to manage a glass panel. First, you are adding it to the base RootPanel which, as you have discovered, scrolls the top of the glass panel into sight. Second, you still get the scrollbars and can scroll away. The way to overcome this is to remove the scrollbars from

Re: Safe to make *ServiceAsync a singleton?

2008-10-01 Thread Alex dP (Violet UML Editor, WebVNC...)
Whatever you choice, be careful to work in a transactional context on the server side. Alex On Sep 30, 11:02 am, hezjing [EMAIL PROTECTED] wrote: Hi I have many service creation (like the following code) in my GWT application, XxxxServiceAsync Service = GWT.create(XxxxrService.class);

Calling activation functions in frames

2008-10-01 Thread Nick
Currently, my project is adding gwt features to an existing web app. The web app currently has a main page that loads 5 iframes in a frame set. The gwt code is loaded into the top window. I have a DialogPanel that needs to be displayed over the entire window numerous times throughout the

Re: Child browser not responding...

2008-10-01 Thread Maddy
Any thoughts on this? On Sep 30, 6:44 pm, Maddy [EMAIL PROTECTED] wrote: Hi, We have developed a GWT applicaation and it can be accessed from another page using a link. Issue: When we launch the GWT application, it opens in a child window. Before it gets the response from GWT service,

Re: GWT and servlet session

2008-10-01 Thread walden
Sim123, I'm sorry, I didn't write the GWTLogin Security paper, which documents an approach other than what I use. I think that if you buy into the idea of using session cookies for security (i.e., reinventing the security wheel in order to get control over login/registration form look and

Re: GWT and servlet session

2008-10-01 Thread Lothar Kimmeringer
walden schrieb: However, I'm suggesting a simpler approach, one which I'm using on my project, which is simply configuring your server to protect the resources you want protected using HTTP Digest authentication. Depending on what your server is, find the documentation on configuring that.

Creating Toolbar

2008-10-01 Thread Prithviraj
Hi all, i want to know is there any way to create or use inbuilt toolbar in GWT. please help me if anyone can . waiting for ur reply. Thanks, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: GlassPanel bug: has anyone else encountered this

2008-10-01 Thread Fred Sauer
Rusty, Thanks for calling attention to this. I've updated the issue. Fred Sauer [EMAIL PROTECTED] On Tue, Sep 30, 2008 at 11:54 PM, rusty [EMAIL PROTECTED] wrote: http://code.google.com/p/google-web-toolkit-incubator/issues/detail?id=152 I've been trying to work around it, but have given

Re: Overriding Object.clone() generates error?

2008-10-01 Thread Isaac Truett
The emulated version of Object doesn't implement clone(). I imagine that's why you get a complaint. On Wed, Oct 1, 2008 at 7:20 AM, Ed [EMAIL PROTECTED] wrote: When I create method clone() in my class and add annotation @override, the hosted mode browser complaints that it's not overriding a

Re: RPC application and isolated classpaths

2008-10-01 Thread gregor
It's basically the same in Intellij. But really your RPC servlets are part and parcel of your GWT web application, so why isolate them from it? Why not locate them in your GWT modules /server directory since that's what it's for? regards gregor On Oct 1, 1:56 pm, Isaac Truett [EMAIL PROTECTED]

Re: GTW tutorial - a minor inaccurateness?

2008-10-01 Thread Alex Rice
I agree this is confusing, but I got it because I am familiar with command-line and path types of issues like this. Maybe more confusing for people aren't strong in the unix shell area. :-) --~--~-~--~~~---~--~~ You received this message because you are

Friendly undeclared exceptions

2008-10-01 Thread luisfpg
Hi. Basically any method in my remote servlets may throw some common exceptions, like PermissionDeniedException, UserDisconnectedException and so on, but I don't want to declare them in every single method, in every single service. Since I use a custom servlet, I tried to hack the serialization

Re: Seems like there is a conflict in the tutorial docs

2008-10-01 Thread Alex Rice
It is discussed some in this thread: let's see if this link works http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/184204844b622067/34a347c50f17d31f?hl=enlnk=gstq=json+%2Bmindlube#34a347c50f17d31f Basically the first paragraph you quoted, is incorrect at the present time.

Re: Ajax on a server that does not support servlet

2008-10-01 Thread Jason Essington
AJAX (Asynchronous Javascript and XML) really only implies the client side technology, and GWT is server agnostic (with the exception of GWT- RPC). So, Sure, you can use whatever you want on the server. You build up your request on the client using the RequestBuilder class. The data that

Re: Safe to make *ServiceAsync a singleton?

2008-10-01 Thread Jason Essington
Sure, it is a very reasonable thing to do. Some notes though, Lazy instantiation would be good, particularly if you have many services that won't necessarily be used in a particular service. And I put the singleton into the xxxServiceAsync interface rather than the xxxService interface.

switching from @gwt.resource to [EMAIL PROTECTED] makes it stop working

2008-10-01 Thread benw
Hi, I recently upgraded to GWT1.5. When I tried changing my image bundles from @gwt.resource to [EMAIL PROTECTED], the compiler started throwing errors: [ERROR] No matching image resource was found; any of the following filenames would have matched Here is the change I was trying to make :

Re: Is it caching ?

2008-10-01 Thread Amit Dhingra
Yes it is caching... You may append a timestamp each time to make the call seem different. Thats a newbie approach.. GWT gurus may give you better solutions though.. :) regards, Amit On Wed, Oct 1, 2008 at 9:38 PM, ArunDhaJ [EMAIL PROTECTED] wrote: Hi All, I'm calling a servlet using

Re: JSONNumber getValue() and ints

2008-10-01 Thread Alex Rice
Seven, I am seeing it in the Javadoc (GWT API Reference) for com.google.gwt.json.client.JSONNumber. --~--~-~--~~~---~--~~ 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: Invalid version number null when using the hosted mode

2008-10-01 Thread Dominik Steiner
Ok, i have something to add here too. I had the same issue and my maven build was using the correct new gwt vars, but i wasn't able to connect to a remote url as i was before moving to gwt 1.5.2. What helped for me was to load the hosted.html url directly in the gwt shell, so something like

Re: GWT and servlet session

2008-10-01 Thread walden
In addition, note that it's relatively easy to mark-up a link or image for malicious inclusion in an unsuspecting page. Note also that these controls interact with the server through GET requests. So make sure you follow REST adivce and make all your GET service routines safe. No side effects

Re: switching from @gwt.resource to [EMAIL PROTECTED] makes it stop working

2008-10-01 Thread Peter D.
The actual syntax is: @Resource(com/company/client/control/icons/up.gif) public AbstractImagePrototype upIcon(); There is no need to preceed the annotation name with ImageBundle and java annotations cannot be placed within comments. On Oct 1, 12:39 pm, benw [EMAIL PROTECTED]

using javax InternetAddress ?

2008-10-01 Thread [EMAIL PROTECTED]
Is it possible to use InternetAddress in gwt client. I am trying to make it validate a inputted email address in the textbox using this. However i am getting compile error saying the class is not found. --~--~-~--~~~---~--~~ You received this message because you

GWT in Joomla

2008-10-01 Thread Amit Dhingra
Hi All, I plan to embed my GWT widget in Joomla, and for the same reason I found iFrame as a solution. But I feel that the widget doesn't look good inside a black box. Are there any alternatives on using GWT widgets with Joomla? -- Warm Regards, Amit Dhingra

Re: JSONNumber getValue() and ints

2008-10-01 Thread Seven Reeds
Oh! feh, I had googled gwt JSONNumber. The class ref that came back was the 1.4 doc version. 1.5 is very different it seems. thanks for everyone's help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

Re: Is it caching ?

2008-10-01 Thread ArunDhaJ
It would be helpful to know how to append the timestamp. Thanks in Advance ! -ArunDhaJ --~--~-~--~~~---~--~~ 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: Is it caching ?

2008-10-01 Thread ArunDhaJ
Hi All, I've found a work around for solving this problem. This might help newbie like me.. ;-) In Internet explorer: Tools Internet options Settings Every visits to the page. I'm not sure about other browsers. Now I wanted to know whether this approach is a better one. -ArunDhaJ

Re: Hmmm - new analytics (ga.js) integration?

2008-10-01 Thread Ian Bambury
Wow. I just put this script src='http://www.google-analytics.com/ga.js' type='text/javascript'/script script type=text/javascriptvar pageTracker = _gat._getTracker(UA-nn-n);/script in the index.html, and use this public static native void urchinTracker(String pageName) /*-{

ListBox: Drop-Down Images using CSS?

2008-10-01 Thread Kevin
Hi, I hope your day's going well. In my GWT client code, I have a ListBox that has text representing cars. If you pick Sedan, it should bring up a picture of a sedan. If you select SUV, it should bring up a picture of an SUV. I know that you can't add images as inputs to a GWT ListBox, however

Re: Standard themes not crossbrowser?

2008-10-01 Thread mattscape
Please anybody? - I can't be the only one with this issue. --~--~-~--~~~---~--~~ 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

Read external file

2008-10-01 Thread emdafe
Hi, I am new with gwt; i built an application and at start up i must to read a configuration file. Before GWT i used to put the path of configuration file in a parameter inside web.xml. If i run gwt in hosted mode it doesnt run web.xml so i cant read configuration parameter and cant test

Troubles linking GWT and php server using JSon

2008-10-01 Thread RamI
Hi all, I am trying to use JSON to get data from a php server. Here is my code : String url = authenticate.php?name=\'+name\'pwd=\'+pass+\'; System.out.println(url); RequestBuilder requestBuilder = new RequestBuilder(

Re: Newbie question - adding GWT to my existing application

2008-10-01 Thread Surendra Viswanadham
Hi Walden, Here's what I did: 1) My current project is set up with the source code as *project - webroot (all JSP, WEB-INF, etc lie here) - src - package - subpackage - Class1 - Class2 - subpackage2

Re: Newbie question - adding GWT to my existing application

2008-10-01 Thread Suri
Hi Walden, Here's what I did: 1) My current project is set up with the source code as *project - webroot (all JSP, WEB-INF, etc lie here) - src - package - subpackage - Class1 - Class2 - subpackage2

Re: Safe to make *ServiceAsync a singleton?

2008-10-01 Thread Matt Bishop
I have developed the following class for Service singletons. It has three advantages: 1. Service class is not instantiated until the service needs to be used. 2. _instance is never checked for null, which isn't a necessary use of time during the life of the app. 3. The static init code is

Re: Troubles linking GWT and php server using JSon

2008-10-01 Thread Pavel Byles
I don't think I understand what your problem is. Are you getting an error? If so, what _exactly_ is the error you are getting? Did you try running the code in debug mode and made sure that response. getText() contained the JSON response from your PHP script? -Pavel On Wed, Oct 1, 2008 at 12:17

Re: switching from @gwt.resource to [EMAIL PROTECTED] makes it stop working

2008-10-01 Thread benw
Works now. Thanks! On Oct 1, 1:09 pm, Peter D. [EMAIL PROTECTED] wrote: The actual syntax is:         @Resource(com/company/client/control/icons/up.gif)         public AbstractImagePrototype upIcon(); There is no need to preceed the annotation name with ImageBundle and java annotations

Re: Standard themes not crossbrowser?

2008-10-01 Thread Ian Bambury
GWT Themes are not a complete solution for every css property in your application. GWT themes don't eff up your existing css, it just sets what it needs to set to get a theme looking theme-like. Different browsers have different defaults (margins, borders, padding, text-sizes etc) which is why

Re: Troubles linking GWT and php server using JSon

2008-10-01 Thread Ian Bambury
The Tomcat server that hosted mode runs doesn't run the file through the PHP preprocessor so all you get back is the text, just like any other file. If you don't actually need to test the PHP, just put the required response text in the php file, otherwise search this list, there has been a recent

Sorting Script HELP!!!

2008-10-01 Thread Xavier Live Tech.S
Hello All, As most of you know i am a student and i am new to this whole GWT thing! So i know my professor is just waiting to give us a pre-test study packet on what we call Sorting Script. And there seems to be allot of problems in the class on this topic. So i though i would get help here

Re: Sorting Script HELP!!!

2008-10-01 Thread Xavier Mathews
We are creating this program with Ajax or something and we are use the GWT to figure out ow to sort the Script! UGH??? Xavier A. Mathews Student/Developer/Web-Master GG Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing

Re: Sorting Script HELP!!!

2008-10-01 Thread Ian Bambury
This group is for people who have problems with a GWT program they are writing. If you have a problem with using a GWT widget or feature, please detail it and post the relevant code. This is not the place for general programming problems with 'Ajax or something'. There are plenty of general

error uploading generated files

2008-10-01 Thread nrsatgg
Hi, I tried to deploy the generated files in the I18N to my geocities site. However, geocities upload tool complained that some of the files like: 8C80C1B751C399A5409656D94AC06D06.cache.html are invalid format. I was able to upload only subset of the generated files in the

Re: GWT deployment to JBoss

2008-10-01 Thread Ronak Patel
Thanks, That did it. Another question for you...I am now getting OutOfMemoryErrors while trying to compile and build Google Web Toolkit from Maven. I tried setting my pom file to: plugin groupIdcom.totsp.gwt/groupId artifactIdmaven-googlewebtoolkit2-plugin/

Re: Ajax on a server that does not support servlet

2008-10-01 Thread slow
Thank you very much all of you. My FPGA has an embedded server so the point of origin is not a problem. Last night I was trying to use the RequestBuilder to make request but I ran into problems that I could not solve. I used the code that appears on the tutorial. here is the code that has a

Re: Ajax on a server that does not support servlet

2008-10-01 Thread Jason Essington
well sure, RequestCallback is an interface that has just 2 methods onError(Request request); and onResponseReceived(Request req, Response res); your inline class implements 2 methods: onError() and onRequestReceived() onRequestReceived is not part of the interface, and doesn't really belong

redirect problem

2008-10-01 Thread deanhiller
I have a Servlet Filter installed, and because of our single sign on between all our apps, this same Servlet Filter is used on all projects and redirects to the login page after the session times out. the problem is every function call in GWT that goes through this Servlet Filter ends up passing

Re: Google, how do I use your toolkit and make a site that is also searchable by your webcrawler?

2008-10-01 Thread bill robertson
'I think either you've misunderstood hijax, you've misunderstood GWT, or you're being belligerent.' Probably all three to some degree. I guess I look at it this way, if I can write the app in Java, and have GWT translate it to a form that will run in the browser, then I would like to do that.

[gwt-contrib] TimePicker/ValueSpinner bug

2008-10-01 Thread Paul Robinson
I don't know whether TimePicker is going to be reworked into gen2 as well as DatePicker, but I've found a bug in the current incubator version of TimePicker. It's in the ValueSpinner constructor. It adds a text box, then sets the vertical alignment for the ValueSpinner, then adds the spinner. On

[gwt-contrib] GWT Incubator: svn tags or lack thereof

2008-10-01 Thread Mr. R08040
Why isn't a tag made in the repository when a new GWT Incubator drop is made? Just curious. Many thanks! --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Code Review: In JSIO, coerce null, undefined boolean values to false

2008-10-01 Thread Eric Ayers
Sorry, patch attached this time. On Tue, Sep 30, 2008 at 6:00 PM, Eric Ayers [EMAIL PROTECTED] wrote: (This issue was previously discussed in a thread with the subject: RR: Hosted mode accepts 'undefined' or 'null' for booleanprimitive type) Hello Bob, I would like for you to review the

[gwt-contrib] Re: TimePicker/ValueSpinner bug

2008-10-01 Thread Paul Robinson
Done. http://code.google.com/p/google-web-toolkit/issues/detail?id=2932 Paul Emily Crutcher wrote: Can you file a bug report? That way I can assign it appropriately. On Wed, Oct 1, 2008 at 6:39 AM, Paul Robinson [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I don't know whether

[gwt-contrib] Re: GWT Incubator: svn tags or lack thereof

2008-10-01 Thread Emily Crutcher
The underlying philosophical reason is because only the gwt incubator trunk is supported code, the idea of a release branch is not supported. As of the last public release we did not bake in the svn version into the jar, by the next public release (which should happen once the handlers are moved