Re: Problem on server side

2009-05-27 Thread alex.d
I would put all your code in try{} catch(Exception e) { System.out.println(e.getMessage()); System.out.println(e.getStackTrace()); } that should give your a clue ;-) On 27 Mai, 17:53, Jemerson Damasio wrote: > Hi guys, >     I'm facing a very strange problem. I can access the app server side, a

Re: Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -Xmx128M)

2009-05-27 Thread alex.d
You should also increase the heap size for your application itself. You can find it under "Run configurations"->Arguments->VM Arguments. Set it to -Xmx512m - works fine for me. On 27 Mai, 14:41, Sagar wrote: > Hello all, > > I created a sample GWT application using GWT1.5. then i moved this > ap

Re: Introducing Shandor Xul: Run you app as Gwt, Swing and SWT

2009-05-27 Thread maku
Hi, I would also interested in seeing a online demo to get a better understanding what's possible in context with GWT (and of course the source code). Regards, Martin On 20 Mai, 19:20, codeoncoffee wrote: > For the past year Pentaho has been developing a JavaXulframework for > writing apps t

Underlying TabPanel components

2009-05-27 Thread Michelle Wood
One thing I've learned in my experience with designing a gwt app: look for lots of nesting. Once you understand how something is built, you can correctly implement and style it. That being said, while it works fine in terms of the javascript output, the tabpanel's HTML output has me slightly c

Removing comments from generated gwt.js and *.nocache.html files

2009-05-27 Thread pie...@gmail.com
Hi all, I'm corious if there is any way to simply switch off comments for generated gwt.js and *.nocache.html files? We use Cenzic PCI complience tool and it shows few warnings pointing to those generated files. I would disable those comments (with mimial effor made - whitout modifing those files

Re: GWT 1.6.4 fails to load

2009-05-27 Thread Dan H
In case anyone is still hitting this problem... I ran into it today and figured out that it is caused by using the same identifier for the GWT module and the DIV that you're injecting the GWT module into (I have a feeling it would be a problem if any DOM elements have the same name as the GWT modu

Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -Xmx128M)

2009-05-27 Thread Sagar
Hello all, I created a sample GWT application using GWT1.5. then i moved this application to GWT 1.6 as instructed in the tutorial provided at the google web toolkit. after finishing i am getting the error of "Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -X

Multiple Entry Points in the same module

2009-05-27 Thread John_Idol
I have multiple entry points in the same module. For example I have an Home entry point for the home page and an Admin entry point for the admin page. The way I am setup now - I need to check somt like this in my OnModuleLoad: if((RootPanel.get("someHomeWidget")!=null)&& (RootPanel.get("so

Problem on server side

2009-05-27 Thread Jemerson Damasio
Hi guys, I'm facing a very strange problem. I can access the app server side, and operate partially on it. The problem is this "partially" thing. I'd like to know if someone can help on figuring out this issue, here is the code and the trace of execution with prints ;)

stress test gwt application simulate users

2009-05-27 Thread asianCoolz
how do you folks stress test gwt application simulate thousands of users using the app? --~--~-~--~~~---~--~~ 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-Toolk

RequestBuilder and native XSL stylesheet processing

2009-05-27 Thread Laurent Malvert
Hello all, Here's what I have: - I have a bunch of XML file on a server describing data, and a bunch of XSL file defining transformations to HTML code. - Each XML file contains the reference to its dedicated timesheet (so that basically, using a browser to view the XML file will render it more o

How to disable click events in Grid cell

2009-05-27 Thread Suren
Hi All, I am having a grid with 100 columns. Among these certain columns are meant for readonly purpose. For these columns I want to disable the text selected when user tries to double click on that cell. Currently when a user double click any cell in the Grid, the text get selected with blue ba

Gwtext Null Pointer exception : any Help Please

2009-05-27 Thread jeeva
Hi friends , i am trying to run some code , but i end in as error . may some one help me to come out this . What kind of error this is ? at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.refl

SOP and linker cross-site

2009-05-27 Thread John
I have spent a lot of time on this, and gotten myself totally confused. At this point I'm not even sure how to clearly frame the question! Let me try this: With Eclipse, and the Google plug in, I create the simple "greeter" example. Now, I deploy on Google AppEngine (Java). All goes well. Now

Re: Will GWT meet my needs?

2009-05-27 Thread peterk
Oops! Sorry for the double reply. I thought the first one hadn't gone through. I think I've found what the problem is with what I was doing..it seems GWT isn't designed to be added dynamically to a page after the fact. A blog post here alludes to the problem: http://www.pathf.com/blogs/2007/08/b

Re: @Resource path is OS-gnostic ( \ or / depending on the Win/Linux). What is a workaround?

2009-05-27 Thread abby
Did anyone open a RFE for this? Also, is the best workaround now having the images in same package as the Bundle interface? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this

Re: Will GWT meet my needs?

2009-05-27 Thread peterk
Hey Ian, Thanks very much for your reply. I don't absolutely need the widget-y stuff, no.. I gave this a quick bash to see if I could get something working quickly. I have a simple GWT app that should add a button to the end of the page it loads in. It works OK in a test page on my machine, loa

Re: Will GWT meet my needs?

2009-05-27 Thread peterk
Hey Ian. Thanks for your reply :) I don't absolutely need the widget stuff, no.. FWIW, I just tried out a very naive first attempt with a simple gwt app that just adds a button to the end of the page. I compiled it for cross-site access ( in the .gwt.xml file), and embedding it in a test page on

Re: Will GWT meet my needs?

2009-05-27 Thread Ian Petersen
I think it depends on what you're doing when you "modify the page". As of GWT 1.5 (the last version I've used personally), it's difficult to construct a Widget around an existing DOM element. On the other hand, if you don't need GWT's Widget API, then GWT is exactly what you need. Some people ar

Will GWT meet my needs?

2009-05-27 Thread peterk
Hi there, I'd appreciate any advice on this. I currently have a javascript application that serves as the base of extensions for various browsers, for a service I run. Basically the extensions pull this javascript into whatever webpage the user loads, and the javascript does some stuff with the

Re: GWT design question

2009-05-27 Thread Paul van Hoven
Thank you, i now made exaclty the same way and it works great. On 27 Mai, 15:15, Chris wrote: > I do this type of thing also.  For us it comes down to packing the > deployments correctly. > > We have multiple client applications in the same gwt project (we use > eclipse).  We then have a gwt xml

Frame.setURL in IE6/7 always cause's refresh of contents? (even if just the #token changed)

2009-05-27 Thread darkflame
Ive notice that, under IE browsers (-sigh-) that setting a frames Url always seems to cause the whole frames contents to refresh, even if its only the history token thats changed; eg. Frame.setURL("www.existingurl.com#old") .. Frame.setURL("www.existingurl.com#new") Firefox and Opera neatly chan

Re: Validation problem

2009-05-27 Thread Ian Bambury
Try if(!textBox.getText().matches("[A-Za-z]+")) // fails validation, can't be blank if(!textBox.getText().matches("[A-Za-z]*")) // fails validation, can be blank You can amend the regular expression to validate pretty much anything Ian http://examples.roughian.com 2009/5/27 hezjing > Hi po

Re: Introducing Shandor Xul: Run you app as Gwt, Swing and SWT

2009-05-27 Thread Rakesh
Do you have an online showcase that would show us how a simple sample application would "look like" all the three platforms? And also the code associated with it? On May 20, 12:20 pm, codeoncoffee wrote: > For the past year Pentaho has been developing a Java Xul framework for > writing apps that

Re: Validation problem

2009-05-27 Thread hezjing
Hi poonam Instead of writing your own validation class, would you consider one of the GWT validation libraries? e.g. https://sourceforge.net/projects/gwt-vl/ I'm a newbie, and I'm still looking for a GWT validation library ... is there anyone able to share their experience in GWT validation? On

Re: GWT and Hibernate XML files vs Annotations

2009-05-27 Thread Rafael Barrera Oro
Sorry for taking so long in replying and thank you for your answers. I am trying to map the following relationship. I have a contact table which holds common data such as name, last name, observations, etc and i have a employee table which inherits all the fields from the contact table and adds th

Re: Handling focus/change events on composite widgets

2009-05-27 Thread Ian Bambury
Ah, I get it now. Have a timer. Start the timer when either box onBlurs. A few ms will do (25?) - you'll have to test, but even quite large delays (500ms) might be acceptable. Cancel the timer if either box gets focus The timer validates the boxes when it runs. It doesn't really matter whether t

Re: Problem with using History tokens and Frames in IE (very basic code included)

2009-05-27 Thread twdarkflame
Ok, an update on progress in case anyone finds it usefull; The above overkill method does work; If the HTML is loaded as part of the main DOM, gwt hyperlinks changing the history token wont refresh the page anymore in IE. If anyone else's use's this message, I'd suggest only using it for IE, and

Re: Is there a Java URL encoder class that can be used in both Java/Javascript?

2009-05-27 Thread Jason Essington
perhaps you could use GWT.isClient() to decide which implementation to use, the GWT version in a GWT environment or the java version in a JVM? -jason On May 27, 2009, at 12:30 AM, TimOnGmail wrote: > > Hi all... > > I have a class that I'd like to use in GWT, and have it work both in a > free

Disable the TAB key effect on a SuggestBox

2009-05-27 Thread Twentyseven
Hello, I'd like to know if it's possible to disable the TAB key effect on a SuggestBox : by default the TAB key select the suggestion and go to the next field. I'd like to go to the next field without selecting the suggestion and keeping what the user entried. Thank's, Eric. --~--~-~--~

Re: Handling focus/change events on composite widgets

2009-05-27 Thread retro
Hi Ian, Sorry for being vague. The use case is having a item height widget with separate boxes for height in feet and one for inches. I need to be able to fire validation on this box as a whole when one of the box changes but only if the focus is not in the other boxes, so this logically

Re: GWT design question

2009-05-27 Thread Chris
I do this type of thing also. For us it comes down to packing the deployments correctly. We have multiple client applications in the same gwt project (we use eclipse). We then have a gwt xml file for each. During our build process we build each of the applications separately and the last step

Re: Hibernate and GWT - location for hibernate xml mapping files under a GWT project - org.hibernate.MappingNotFoundException

2009-05-27 Thread nico
Thank you very much, you solved this problem ! --~--~-~--~~~---~--~~ 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 t

Re: Hibernate and GWT - location for hibernate xml mapping files under a GWT project - org.hibernate.MappingNotFoundException

2009-05-27 Thread nico
Thank you very much, you solved my problem ! --~--~-~--~~~---~--~~ 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 th

Re: Handling focus/change events on composite widgets

2009-05-27 Thread Ian Bambury
You need to be more specific, more unambiguous, and less open to interpretation - if you can't then maybe give a real-life example of its use. Ian http://examples.roughian.com 2009/5/27 retro > > anyone has not tackled this? please reply? > > > --~--~-~--~~~---~--~

Re: Handling focus/change events on composite widgets

2009-05-27 Thread retro
anyone has not tackled this? please reply? --~--~-~--~~~---~--~~ 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

GWT design question

2009-05-27 Thread Paul van Hoven
I've developped a GWT app which runs fine. Now a special version for the iPhone of my website is needed. So far i know gwt runs well on the iPhone. But i have a problem. On the Desktop-Page the user has the full functionality of my webapp. But on the iPhone he should only be able to use certain f

Wierd errors when trying to test GWT app in IE 7.0

2009-05-27 Thread Neo
Hi, I am working on a database driven GWT application. In my application I have a Multi Column Tree control which again is populated by db values and it allows user edits also. I have used Smart GWT in my application to create the Multi-Column tree. My application runs fine when I run it in hoste

Re: Hibernate and GWT - location for hibernate xml mapping files under a GWT project - org.hibernate.MappingNotFoundException

2009-05-27 Thread Raul
Do not put the file anywhere inside WEB-INF directory. Put it inside the root directory of your class path. i.e. say you are modifying the sample Guestbook application. then put it just inside the src directory like. src hibernate.cfg.xml GuestBook GuestBook.client GuestBook.s

Re: Is there a Java URL encoder class that can be used in both Java/Javascript?

2009-05-27 Thread Thomas Broyer
On 27 mai, 08:30, TimOnGmail wrote: > Hi all... > > I have a class that I'd like to use in GWT, and have it work both in a > freestanding Java app, and in GWT.  The problem is, it needs to do > some URL encoding, but GWT's URL class does it's encoding/decoding in > a native method (in Javascrip

Re: AJAX app stuck when running Selenium RC

2009-05-27 Thread Carl Pritchett
Not sure if this is the same issue but Selenium has a clash with GWT that causes certain operations to "freeze" (namely RPC calls after clicks). The answer was to compile with Obfuscated mode (-style OBF). The issues is reported here: http://code.google.com/p/google-web-toolkit/issues/detail?id=