Re: RequestFactory error

2011-09-10 Thread Pavel Byles
I'm now getting: Caused by: java.lang.NoClassDefFoundError: org/json/JSONException Caused by: java.lang.ClassNotFoundException: null at this line: requestFactory.employeeRequest().getName().fire(new Receiver() { @Override public void onSuccess(String response) { nameField.setText(response); }}

Re: Generated HTML Doesn't Display

2011-09-10 Thread Nick Apperley
Correction - Just tried the application using Jetty instead of Glassfish and the same problem occurs. On Sep 11, 3:32 pm, Nick Apperley wrote: > Found some strange behavior going on with GWT 2.3 when the application > is deployed onto Glassfish 3.1 instead of the built-in Jetty. Normally > an im

Generated HTML Doesn't Display

2011-09-10 Thread Nick Apperley
Found some strange behavior going on with GWT 2.3 when the application is deployed onto Glassfish 3.1 instead of the built-in Jetty. Normally an image map is displayed on the web page after the user selects some things from some combo boxes which works in Jetty. Under Glassfish 3.1 (via dev mode) t

Re: Validation in GWT 2.4 How To?

2011-09-10 Thread Y2i
Oh, the post is about request factory validation. Before 2.4 the errors were caught at GWT compile time (or debug time in debugging mode), now they are caught at javac compile time. Sorry, I misunderstood the question. -- You received this message because you are subscribed to the Google Grou

Request Factory and com.google.appengine.api.datastore.Text type

2011-09-10 Thread Sydney
In my application the user can upload a CSV file to import data. The first implementation was to process the content on the server side. The issue is that it can take more than 30s to process, so I decided to do the processing on the client side. The process consists in extracting data from the

Re: Anyone using Place/Activity feature in GWT?

2011-09-10 Thread Robin
Good to know the source code can be generated using WindowBuilder. Will following your advice. Thanks for that! On Sep 9, 11:15 pm, cri wrote: > We use it on all of our projects/web apps with very good success. At > least a half dozen so far and counting. A good way to get started is > using "Ne

Re: why does DockLayoutPanel care about the order of its elements?

2011-09-10 Thread Eric Clayberg (Google)
In the latest GWT Designer release, it will ensure that edge widgets are added before the center widget when creating a Java UI. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.goog

Re: Calling *.nocache.js from a remote page

2011-09-10 Thread Alexander Orlov
Thx, worked like a charm! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/C2LP4XKZjcQJ. To post to this group, send email to google-web-toolkit@

Re: Validation in GWT 2.4 How To?

2011-09-10 Thread objectuser
I may be further from understanding that I thought, but I'm talking about Bean Validation (javax.validation). Is that post still applicable? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https:

Re: cant contact the server

2011-09-10 Thread cheney
I have solved this issue already,in web.xml i have a liitle error greetServlet com.clothing.server.GreetingServiceImpl greetServlet /women_clothing/greet i thought my project name shoud be same with url-pattern "women_clothing" On 9月10日, 下午8时11分, cheney wrote: > Hi everyo

Re: Validation in GWT 2.4 How To?

2011-09-10 Thread Y2i
I used this postto set it up. The shared RequestFactory interfaces and their server domain counterparts are only required during the compilation. -- You received this message because you are subscribed to the

Validation in GWT 2.4 How To?

2011-09-10 Thread objectuser
Is there a how-to on setting this up? I actually have it working but am wondering about a couple things like: 1. Do I have to have the two source archives in WEB-INF/lib, or do they just need to be in the compile path? 2. Is there a recommended way of setting it up with GIN? Thanks

Re: Custom Serializable Class in GWT RPC Call

2011-09-10 Thread Y2i
Is 'project name'.server.data.SubscriptionData in your source path? http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideModules Modules can specify which subpackages contain translatable *source*, causing the named package and its subpackages to be added to the *

Re: Hosted mode issues

2011-09-10 Thread Vrushali Patil
Thanks alot. My application is running properly in apache Tomcat. Vrushali On Sun, Sep 11, 2011 at 2:09 AM, Thomas Broyer wrote: > You can then open > http://localhost:8080/tutorialDemo1/TutorialDemo1.html?gwt.codesvr=127.0.0.1:9997in > your browser to start running in DevMode. > But if you ch

Re: need a class which can be used on server as well as client.

2011-09-10 Thread Thomas Broyer
You'd better use GWT.isClient() to detect which version of your code to use. And if you have to use some code on the client that is not translatable to JS (e.g. using ResourceBundle) but can provide a translatable version (i.e. WarnDataTableStrings) then you can use and provide both versions i

Re: GWT plugin update site problems

2011-09-10 Thread Eric Clayberg (Google)
No. Now that Eclipse 3.7 is out, we no longer support 3.4. Our general policy is to support the current release plus the two most recent prior releases. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web

Custom Serializable Class in GWT RPC Call

2011-09-10 Thread Iacopo
Hi everyone, i'm building an university project with GWT + AppEngine. In my RPC implementation (in /rpc) i have the following method: public String subscribeToService(SubscriptionData userData); which is then implemented and declared in the Async interface. The SubscriptionData is a class define

Re: Hosted mode issues

2011-09-10 Thread Thomas Broyer
You can then open http://localhost:8080/tutorialDemo1/TutorialDemo1.html?gwt.codesvr=127.0.0.1:9997 in your browser to start running in DevMode. But if you change "-startupUrl Tutorialdemo1.html" to "-startupUrl http://localhost:8080/tutorialDemo1/TutorialDemo1.html";, then DevMode will propos

Re: Drag & Drop support and GWT 2.4

2011-09-10 Thread Deepak Singh
The relevent documentation should be made available. Kindly do it soon. 2011/9/10 Dimitrijević Ivan > Thank you for your response > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://

Re: need a class which can be used on server as well as client.

2011-09-10 Thread Sachin Dole
Yes, in my case, I have all that but I need to use classes that are not available in the jre emulation library. On Sep 10, 2011 12:15 PM, "András Csányi" wrote: > On 10 September 2011 19:04, doles wrote: >> mainly because those string values are being used as keys for manipulating >> the data. so

Re: PLEASE HELP ME

2011-09-10 Thread Eric Clayberg (Google)
Click "OK". That isn't a problem that you need to solve. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/9LYl5QcL_fQJ. To post to this group, se

PLEASE HELP ME

2011-09-10 Thread velihasanov
First of all, thanks a lot for reading my email. I installed gwt and plugged in it to Eclipse Indigo 3.7 . Then I met some mistakes, because of it I'd deleted all of files about eclipse, and gwt. Now I am trying to install GWT again. But it gives an error: Such that "You are installing software tha

Re: Hosted mode issues

2011-09-10 Thread S3S团队-团长
I'm sorry, I am a Chinese, I'm not very English -- Original -- From: "Vrushali Patil"; Date: Sat, Sep 10, 2011 11:45 PM To: "google-web-toolkit"; Subject: Re: Hosted mode issues Hi, I went through the link but I am not able to resolve my issue.

What causes "onModuleLoad() threw an exception" - and how to handle with it ?

2011-09-10 Thread sivan margalit
Hello I just introduced to GWT. Now days I'm trying to learn how to use Eclipse IDE to build and debug GWT projects, step by step (using to toturials in Google Code documents). I build StackWatcher (http://code.google.com/intl/iw-IL/webtoolkit/ tools/gwtdesigner/tutorials/stockwatcher.html) and a

cant contact the server

2011-09-10 Thread cheney
Hi everyone: I am new one in gwt,I've been working - step-by-step through the GWT sample It retured an error "An error occurred while attempting to contact the server. Please check your network connection and try again." when i click send button I thought the follow was 2 error tips: 1.the cons

Select previous deselected element in CellList using SelectionModel or ListDataProvider

2011-09-10 Thread Vipul Jain
I found this bug when i was working with CellList, ListDataProvider and SelectionModel. You will find the bug discussion here also: http://stackoverflow.com/questions/7219572/select-element-in-celllist-using-selectionmodel-or-listdataprovider Below is the code: = SingleSelectionMod

Constant classes and performance

2011-09-10 Thread Behi
Hi, I recently noticed that in a GWT project, constant classes are being defined like this: public class Constants { private final Integer foo = 1; public Integer getFoo() { return foo; } } instead of the good ol': public class Constants { public static final Integer FOO = 1; }

Re: GWT plugin update site problems

2011-09-10 Thread Tim LeMaster
The update site and zip for eclipse 3.4 seem to be offline. Are they still supported? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/L9KFqIy7X

Re: Drag & Drop support and GWT 2.4

2011-09-10 Thread Dimitrijević Ivan
Thank you for your response -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/yqCjChvPWmkJ. To post to this group, send email to google-web-toolki

Re: need a class which can be used on server as well as client.

2011-09-10 Thread András Csányi
On 10 September 2011 19:04, doles wrote: > mainly because those string values are being used as keys for manipulating > the data. so, if a table has a column whose header name is "Fraud Count", we > want to use the string Fraud Count as a key. maybe I could re-think that > design, but for now, i a

Re: need a class which can be used on server as well as client.

2011-09-10 Thread doles
mainly because those string values are being used as keys for manipulating the data. so, if a table has a column whose header name is "Fraud Count", we want to use the string Fraud Count as a key. maybe I could re-think that design, but for now, i am hoping to make gwt compile my code as it is.

Re: need a class which can be used on server as well as client.

2011-09-10 Thread András Csányi
On 10 September 2011 18:53, doles wrote: > Hello, > I am writing a new project from ground up and need internationalization on > both client and server side. May I ask why do you need internalization on server side? What is the purpose? As far as I know and I could imagine it it's needed only cli

need a class which can be used on server as well as client.

2011-09-10 Thread doles
Hello, I am writing a new project from ground up and need internationalization on both client and server side. for my domain objects that are serialized on the wire, i would like to use values from the message resource files. it is very convenient that i can use the same .properties files on th

Re: Drag & Drop support and GWT 2.4

2011-09-10 Thread Jeff Larsen
No, it exists. If you want a tutorial, pull up the mobilewebapp sample project. It is used in there. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-too

Re: Hosted mode issues

2011-09-10 Thread Vrushali Patil
Hi, I went through the link but I am not able to resolve my issue. Can you give me a example. I am new with Java Programming. But following through the link also I am getting errors. I copied the war folder from workspace to C:\apache-tomcat\webapps\tutorialDemo1 and for arguments in Run con

Re: A class conflict in a release build in GWT 2.4.0

2011-09-10 Thread Y2i
Thanks a lot Thomas, the jar from Maven repository fixes the problem! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/LGnCr081O44J. To post to t

Drag & Drop support and GWT 2.4

2011-09-10 Thread Dimitrijević Ivan
As far as I remember one of the biggest GWT enhancement announced on Google IO 2011 was drag and drop support? What about that? I can see some classes and interfaces in Java Doc but there is no tutorial on this subject. Is drag&drop support moved for some next version of GWT or what? -- You r

Re: Calling *.nocache.js from a remote page

2011-09-10 Thread Thomas Broyer
See http://code.google.com/webtoolkit/doc/latest/FAQ_Server.html#What_is_the_Same_Origin_Policy,_and_how_does_it_affect_GWT? Except: use the newer "xsiframe" linker instead of oldish and soon to be deprecated "xs" one. -- You received this message because you are subscribed to the Google Group

Re: Installation Problem: Eclipse HELIOS and the latest GWT Eclipse

2011-09-10 Thread Sudhakar Abraham
Download GWT SDK from the link "http://code.google.com/webtoolkit/ download.html". Extract the gwt-2.4.0.zip file to your own directory. In eclipse IDE choose the Project -->Properties-->Google-- >Web Toolkit-->configure sdk tab. Point to your extracted gwt-2.4.0 directory. S. Abraham www.DataSto

Re: Scalability problem with Cell widgets and KeyboardPagingPolicy.INCREASE_RANGE

2011-09-10 Thread Marcin Biegan
I have run into this issue as well. In the end I handle keyboard events myself (but I also needed jumping to items as the user is typing their names). -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to goo

Re: Creating my own UiBinder panel

2011-09-10 Thread aviadbd
Great it worked! Thanks..! On Sep 9, 7:01 pm, aviadbd wrote: > Okay, this looks very promising! I'll try it and let you know..! > > But one question: shouldn't this be described somewhere in the > documentation? I don't remember seeing this anywhere... > > Thanks! > > On Sep 9, 5:18 pm, Thomas B

Re: Anyone using Place/Activity feature in GWT?

2011-09-10 Thread Marcin Biegan
On Sep 9, 9:27 pm, BM wrote: > The idea of creating Tokenizer is to have tokens for Browser History. > > The questions to consider would be do you care to have browser > history? And what that means is do you care if the user have to use > Back and Forward buttons of the browser? Because you can a

Re: Anyone using Place/Activity feature in GWT?

2011-09-10 Thread Marcin Biegan
On Sep 9, 8:08 am, Robin wrote: > Second, I don't want to create each Tokenizer for each Place. > According to the link above, I created a BasicPlace and subclass all > the places I don't want to have Tokenizer. By doing so, It seems I can > not have the right Place on the URL when i call goTo(Som

Re: A class conflict in a release build in GWT 2.4.0

2011-09-10 Thread Thomas Broyer
You can try the requestfactory-servlet.jar from Maven ( http://search.maven.org/#browse%7C1357029938) which doesn't bundle the dependencies; but if you do that, you'd have to test extensively that RF still works with your version of the JSON lib. -- You received this message because you are sub

Re: what is a BitlessEvent?

2011-09-10 Thread Thomas Broyer
Events in GWT use a bitfield (see sinkEvents and the various constants on com.google.gwt.user.client.Event). Unfortunately, it limits the total number of events that GWT can support to 32, which is soon to be exhausted. For browsers which "do not leak" (see http://code.google.com/p/google-web-to

A class conflict in a release build in GWT 2.4.0

2011-09-10 Thread Y2i
Before GWT 2.4.0 I used a normal json.jar that contains org.json.JSONTokener.(Ljava/io/Reader;)V constructor. Now requestfactory-server.jar contains a stripped down JSONTokener without this constructor. In release build I'm getting an java.lang.NoSuchMethodError: org.json.JSONTokener.(Ljava/io/

Re: what is a BitlessEvent?

2011-09-10 Thread wahaha
any body knowes? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For

what is the usage of module HTTP

2011-09-10 Thread wahaha
i use gwt v2.3,i tryed the RequestBuilder class in onModuleLoad() method,it works in the situation that i do not add this module: in my project. when,that's the usage of module XML? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post

Re: i want to know the event mechanism of gwt

2011-09-10 Thread Thomas Broyer
Have a look at http://code.google.com/p/google-web-toolkit/wiki/DomEventsAndMemoryLeaks Basically, all events for a given widget's element are routed to a single handler function, which simply gets the BrowserListener for the widget and calls its onBrowserEvent method. The BrowserListener is as

i want to know the event mechanism of gwt

2011-09-10 Thread wahaha
i looked into some source code of gwt,there is so much questiones i do not understand. for example,i found that all the handler of the widgetes's event is @com.google.gwt.user.client.impl.DOMImplTrident::callDispatchEvent i want to know how does the event mechanism work. -- You received this mes