Best way for launching html/jsp to communicate with GWT

2010-04-20 Thread Blessed Geek
A html or jsp file is used to launch the xxx.nocache.js, which then decides which browser "permutation" to use. xxx In my case, I am using a jsp. When the JSP is executed, it discovers some conditions. I wish to pass these conditions as variables to the GWT generated javascrip

Re: GWT plugin for eclipse install problem

2010-04-20 Thread xwise
I tried running it with admin privileges and it still doesn't work. When you say "fresh" Eclipse, do you mean reinstall it and then reapply the plugin as admin? Thanks. On Apr 19, 9:21 am, Jason Parekh wrote: > Hey, > > Could you try starting with a fresh Eclipse for Java EE and run Eclipse with

Re: Issue with GWT compiling of classes which have imports of JDK1.6 classes

2010-04-20 Thread vinayak
Thanks for the help. I will try to use . -vinayak On Apr 20, 4:40 pm, Paul Robinson wrote: > You can use a in your gwt.xml to provide a > different implementation of a java class for use client side. > > However, there is limited support for annotations client side - there's > no Class.getAnn

Re: An implementation of Selection/Cursor for RichTextArea

2010-04-20 Thread Swami
I would also like to see this feature in the GWT core. It is very much needed for our project. Kind Regards Swami On Apr 20, 6:58 pm, Dave LeBlanc wrote: > I'd like to chime in and add my support for this feature.  Having good > support for cross-browser selections is something we're strongly d

Re: Blank Page with simple DockLayoutPanel Application

2010-04-20 Thread kozura
Yes, change the first line to just to force standard mode. On Apr 20, 3:43 pm, malibubu wrote: > Sorry, I've forgotten to copy the line from the MainView.html: > > > >   >     >     MainView >     src='mainview/ > mainview.nocache.js'> >   >   >     style='width:0;height:0;border:0'> >  

Re: How to test runtime mode

2010-04-20 Thread Thomas Broyer
On 20 avr, 12:41, Joost Bloemsma wrote: > Hi, > > Can anyone tell me if there is any way to find out, at runtime, in > what mode the application is running? > I mean, I would like to test if my app is running in development mode > or hosted mode. Depending on the result I would like to change so

Re: @UiHandler is not getting triggered

2010-04-20 Thread Thomas Broyer
On 20 avr, 20:47, balachandra maddina wrote: > Hi There, > >   I have a g:Button in the UI template and added a handler to it in the > template java class but the method is not getting triggered during on click. > infact, none of the events are getting fired in this class even if > i explicitly

Re: Compilation Error

2010-04-20 Thread rxm0203
I removed the mentioned jar file. I am still getting same compilation error. Which is second entry should I remove? On Apr 20, 12:08 pm, Rajeev Dayal wrote: > These two entries look to be problematic: > >   > > Are these jars required? Can you remove them? > > On Mon, Apr 19, 2010 at 2:49 PM, rx

Re: Paging Scroll Table in GWT 2.0.x?

2010-04-20 Thread googelybear
Glad to hear that, then I must be doing something wrong. I was trying to create a minimal example but failed (the normal example is rather big, but I don't need all that stuff yet). Will try to read the docs again then ;-) On Apr 20, 1:43 am, davek wrote: > I'm using it successfully.  There are s

Re: Blank Page with simple DockLayoutPanel Application

2010-04-20 Thread malibubu
Sorry, I've forgotten to copy the line from the MainView.html: MainView Your web browser must have JavaScript enabled in order for this application to display correctly. But it doesn't work :( Any other suggestions? On

Re: servlet : problem

2010-04-20 Thread Manuel Carrasco Moñino
1.- You have to override executeAction, and not doGet nor doPost 2.- In GAE you will have a lot of problems if you don't use the new service blobstore (beta), unfortunately you can not use gwtupload with blobstore. 3.- If you want to use gwtupload with GAE you only can upload 512KB (there is a requ

servlet : problem

2010-04-20 Thread laurent
Hello , I've a problem with the servlets on gwtUpload. I've a SingleUploader and when i choice a file browsed and click 'send' button , i've the following message : Timeout sending the file: perhups your browser does not send files correctly, your session has expired, or there was a server erro

Re: GWT Compiling throwing a NoClassDefFoundError with Maven?

2010-04-20 Thread Chris
Anyone? On Apr 18, 9:36 pm, Chris wrote: > Not sure if it's any help, but on debug level, I get the following > when it retries the permutation... > > [INFO]       Worker died, will retry Permutation > [INFO] com.google.gwt.dev.TransientWorkerException: Remote process did > not connect within tim

Re: GWT presentation/workshop

2010-04-20 Thread sridhar vennela
Hi Ed, Right now i have spring extjs application, i use ant to build and deploy. do you have ant project that builds and deploys GWT Application with it? Thanks a lot.. On Mon, Apr 19, 2010 at 2:43 PM, Ed wrote: > > Can you share complex application. i would like to go through and learn. > Sor

Session management and startup state of app

2010-04-20 Thread markww
Hi, Reading this wiki about sessions and gwt: http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ This is the code that is suggested to run when the user lands on your page: String sessionID = Cookies.getCookie("sid"); if ( sessionID != null ) checkWithServer

Re: Facing problem tackling browser refresh

2010-04-20 Thread Danny Goovaerts
I faced exactly the same problem (see http://groups.google.com/group/google-web-toolkit/browse_thread/thread/36979a4e8e51fdc5# ) I concluded that in case of a refresh, the async call is cancelled in the browser before it has concluded. I solved the problem by "waiting" until the onSuccess() of the

Re: Get JSON content from GWT

2010-04-20 Thread Julian David Roldan
2010/4/20 Thomas Broyer > > > On Apr 20, 1:26 am, Chris Conroy wrote: > > On Mon, Apr 19, 2010 at 4:01 PM, Julian! wrote: > > >http://api.search.yahoo.com/ImageSearchService/V1/imageSearch? > > > appid=YahooDemo&query=potato&results=2&output=json > > > > Julian, > > > > The problem you are hitt

Re: Diagnosing serializable class compilation issues.

2010-04-20 Thread sreque
I only use GWT at work, so I just barely found time to learn how to create my own GWT project and try to reproduce what I complained about in my last post with a simple test case. I am happy to say that, using the same class that last caused me problems at work, the ant gwtc task fails with a usef

@UiHandler is not getting triggered

2010-04-20 Thread balachandra maddina
Hi There, I have a g:Button in the UI template and added a handler to it in the template java class but the method is not getting triggered during on click. infact, none of the events are getting fired in this class even if i explicitly add a handler to the Button. Please find the code i use as

Re: Using Oracle and Hibernate in Google Web Toolkit's Hosted Mode.

2010-04-20 Thread keyboard_samurai
BTW i am on GWT 1.7. On Apr 20, 10:31 pm, keyboard_samurai wrote: > The Jetty Environment does not let me create database connections as > it has restricted the API usage.:) > > and hence i am getting an exception which has been described in the > first post. > > Thanks! > > On Apr 20, 10:05 pm,

Re: Using Oracle and Hibernate in Google Web Toolkit's Hosted Mode.

2010-04-20 Thread kozura
Prev reply didn't go through.. As mentioned before, this is because you have Google App Engine enabled, not a Jetty or other GWT restriction. You need to remove it from your run configuration. Open up the Project's properties, click Google->App Engine, and uncheck "Use App Engine". On Apr 20, 1

Re: Crawlable AJAX - jQuery Load

2010-04-20 Thread Dusty
Brilliant! :) I trust it's working. I'll give it some time and check Google's cache on my pages in a few weeks. Thanks Kathrin and R for your help! I really appreciate it! :) On Apr 20, 7:42 am, Katharina Probst wrote: > Hi guys, > > I see your point - it's a bit confusing that Fetch as Google

Re: Using Oracle and Hibernate in Google Web Toolkit's Hosted Mode.

2010-04-20 Thread kozura
As mentioned before, this is because you appear to have Google App Engine enabled, not from Jetty itself. You need to remove GAE from your project. If you see something like: -server com.google.appengine.tools.development.gwt.AppEngineLauncher in the arguments, you are running with GAE. To rem

Re: Using Oracle and Hibernate in Google Web Toolkit's Hosted Mode.

2010-04-20 Thread keyboard_samurai
The Jetty Environment does not let me create database connections as it has restricted the API usage.:) and hence i am getting an exception which has been described in the first post. Thanks! On Apr 20, 10:05 pm, kozura wrote: > Not sure where your trouble spot is, but the easiest way is just

Re: Design of a GWT project

2010-04-20 Thread Jochen Schnaidt
to 4) This is clear, that is what the httpservlet does. to 3) I set the servlet as my welcome-file and it does ... nothing. Must I change another XML anywhere? By the way, the only way I found to set a script the way I need it is script/XML and I have not the faintest idea how I should use an XML

Re: Using Oracle and Hibernate in Google Web Toolkit's Hosted Mode.

2010-04-20 Thread kozura
Not sure where your trouble spot is, but the easiest way is just to use GWT-RPC, as described here with an example: http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html Create a Synchronous and matching Asynchronous interface, then in the server code implement the Synchro

Re: Using Oracle and Hibernate in Google Web Toolkit's Hosted Mode.

2010-04-20 Thread keyboard_samurai
"Not at all, you can do anything you want in Java on the server side, including connecting to databases etc, and have it work in hosted (development) mode. " Can you tell me how ??? Thanks !! On Apr 20, 8:37 pm, kozura wrote: > Not at all, you can do anything you want in Java on the server side

Re: Compilation Error

2010-04-20 Thread Rajeev Dayal
These two entries look to be problematic: Are these jars required? Can you remove them? On Mon, Apr 19, 2010 at 2:49 PM, rxm0203 wrote: > Here are the contents of .classpath file. > > > > > output="target/test-classes" path="src/test/resources"/> > path="src/main/

Re: GWT RemoteServiceServlet Implementation Issue ....Serialization Error

2010-04-20 Thread keyboard_samurai
The version of GWT used is 1.7 On Apr 20, 8:27 pm, keyboard_samurai wrote: > Hi, > > I have a requirement where my application is being accessed from a > different portal itself. The portal developed is on a different > technology and has a link to my application. When i directly access > the app

Using Dictionary with frames and getting null

2010-04-20 Thread keyboard_samurai
Hello, I am using GWT's Dictionary support and my application is being loaded within a frame assigned. For eg the code is testGWT is the name of my application and within the web.xml the welcome page has been set as TestGWT.html. The html file has a javascript variable defined

Re: Using Oracle and Hibernate in Google Web Toolkit's Hosted Mode.

2010-04-20 Thread kozura
Not at all, you can do anything you want in Java on the server side, including connecting to databases etc, and have it work in hosted (development) mode. The only restriction pointed out above is if you have GAE turned on, you cannot use databases or other things that cannot work in a deployed Ap

Re: Blank Page with simple DockLayoutPanel Application

2010-04-20 Thread kozura
Make sure your html is set to standard vs quirks mode with at the top: http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#Standards On Apr 20, 9:08 am, malibubu wrote: > Hi Everybody, > > I only get a blank page in IE7/8, but I don't find the reason. If I > use the Developertool

GWT RemoteServiceServlet Implementation Issue ....Serialization Error

2010-04-20 Thread keyboard_samurai
Hi, I have a requirement where my application is being accessed from a different portal itself. The portal developed is on a different technology and has a link to my application. When i directly access the application things seem to work fine. But when accessed via link it throws this strange ser

Re: Using Oracle and Hibernate in Google Web Toolkit's Hosted Mode.

2010-04-20 Thread keyboard_samurai
Hi Jason Thanks for the quick reply .. About GWT-Dispatch i will surely look into it from my project point of view i dont want to have one more framework over and above GWT now on server side ... But yes we are using spring. As i understand this issue.. we cannot connect to database using Hosted M

Re: Who wants to get involved in a gwt project?

2010-04-20 Thread flo
romanian :) I saw xfire, steam and other similar products but from my point of view they are way too complex. They are used mostly by gamers who play 24/7 :). What I want is very simple. Two clicks and you find what you want, no need to download anything, no need registration, etc. Another thin

Re: GWT Developer Plugin is not found in Firefox

2010-04-20 Thread Chris Conroy
For those of you still experiencing this issue, can you try checking that your problem persists if you create a new GWT application (e.g. just run the sample app from GPE)? If the problem is constrained to your existing applications, try checking that your war/WEB-INF/lib/gwt-servlet.jar file is u

Re: problem related to populating list boxes

2010-04-20 Thread kozura
Without much information to go on, it sounds it could be how your asynccallback is set up, maybe you could post the bit of code you are using to populate the list box? On Apr 19, 11:45 pm, Durgesh Kumar Mishra wrote: > Hi >       I am Durgesh. I am facing a problem in populating list box frequent

GWT Slider from incubator styling

2010-04-20 Thread mariyan nenchev
Hi, I customized the slider from gwt incubator project( http://collectionofdemos.appspot.com/demo/index.html) for my needs. I will use it as time slider. And i want the the part of the bar line before the current time to be in red. I implemented the code which updates the slider if the user slides

Re: Who wants to get involved in a gwt project?

2010-04-20 Thread 4F2E4A2E
german? nice project idea, but isnt it already there? xfire? steam? i would like to join it, but if we start somthing that no one needs...!? keep in touch -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email

Re: An implementation of Selection/Cursor for RichTextArea

2010-04-20 Thread Dave LeBlanc
I'd like to chime in and add my support for this feature. Having good support for cross-browser selections is something we're strongly desiring right now, and the GWT-Rocket implementation is old and non-functional. Hopefully the GWT folks can find a good place to integrate and test this, as I'd

Re: Design of a GWT project

2010-04-20 Thread Jan Ehrhardt
3. The httpServlet makes anything on the html document It makes the HTML including a script tag containing your configuration. A JSP might be fine too. 4. The html is called It's loaded inside the browser. Regards Jan Ehrhardt 2010/4/20 Jochen Schnaidt > Okay, I don't understand how th

Who wants to get involved in a gwt project?

2010-04-20 Thread flo
Hello all, I've been working on a gwt project for 3-4 months in my spare time. The problem is that working alone is no fun and I need someone to talk to about this project idea. Below is a summary of the project: 1. Motivation "Each time I want to play fifa with someone online I need to

Re: Mixing Projects

2010-04-20 Thread John
On Sat, Apr 17, 2010 at 6:34 PM, John wrote: > I have another question about "Mixing Projects" and > I'll post that later, if anybody is still willing to give out any > hints. It turns out that I figured out this question for myself, but I'll post a note about it in case it helps anybody else. I

Re: Crawlable AJAX - jQuery Load

2010-04-20 Thread Katharina Probst
Hi guys, I see your point - it's a bit confusing that Fetch as Googlebot only "works" with the _escaped_fragment_, but arguably it's also "more correct" this way (plus it lets you see the difference between the two versions). I will pass along the feedback. Meanwhile, I'm glad it seems to have w

Re: Design of a GWT project

2010-04-20 Thread Jochen Schnaidt
Okay, I don't understand how this should work... So, you mean: 1. Requesting the application for example 'http://appname.appspot.com/ singnup?asdfghjkl' 2. A httpServlet gets this 3. The httpServlet makes anything on the html document 4. The html is called 5. In the OnModuleLoad this anything will

How to Use SplitPanel in UIBinder ??

2010-04-20 Thread Gourab Panda
Hi. How can I set the BottomWidge and TopWidget in UIBInder XML File. //Top Panel //Button Panel -- You received this message because you are subscribed to the Google Groups "Google Web Toolk

Re: Issue with GWT compiling of classes which have imports of JDK1.6 classes

2010-04-20 Thread Paul Robinson
You can use a in your gwt.xml to provide a different implementation of a java class for use client side. However, there is limited support for annotations client side - there's no Class.getAnnotations() for example - so whatever you're doing may not work anyway. HTH Paul vinayak wrote: > Expert

Issue with GWT compiling of classes which have imports of JDK1.6 classes

2010-04-20 Thread vinayak
Experts, I have a simple gwt app. One of its class inside shared dir has a import of javax.lang.model.element.AnnotationMirror. I am using JDK1.6 for compiling my project in eclipse 3.4. Eclipse shows me no errors. But when I click on gwt compile option I get following error. [ERROR]

Re: Design of a GWT project

2010-04-20 Thread Jan Ehrhardt
You can add a property (e. g. a Dictionary) to your host page. Your entry point checks the property and loads the required module. Setting the property is a task, the server has to do. I think, using one host page instead of two different pages with two different URLs might be more efficient. Reg

Re: GWT and Internet Explorer Mixed Content Security Warning

2010-04-20 Thread Ferdie
We are having the same problem. On Apr 9, 5:44 pm, Khan wrote: > Currently my team of developers are experiencing an issue with > Internet Explorere 7 and 8 with our GWT application. > This works fine with FireFox, Chrome, and IE6. > When accessed through SSL(HTTPS), browser throws a pop-up secur

Re: clean compile gives "the parameter is incorrect"

2010-04-20 Thread Stephen Johnson
In Eclipse, go to Project / Properties menu. Go to Google / App Engine / ORM setting. It probably is set to src/ (using this setting DataNucleus puts all class files on its classpath). Instead restrict the folders (or patterns) to just the folders or file name patterns for your files that need enha

Re: GWT and JSON (RequestPermissionException)

2010-04-20 Thread Fernando
I'm also new to GWT, but I think this is why isn't working when you change the URL: http://en.wikipedia.org/wiki/Same_origin_policy On Apr 18, 5:58 pm, nasionalem wrote: > I am new in GWT 2.0 and JSON. I need to get some values using JSON. > so I downloaded "json" sample from code.google.com. Wh

RichTextArea and, styleWithCSS

2010-04-20 Thread Saül Olveros
Hi all, I have a somewhat small problem with RichTextArea in Firefox. When the RichTextArea Formatter calls toggleBold and the like, the html colde that gets added to the text is styled via CSS. Instead of "sometext some other text" we get "some text some other text". The Formatter make execComm

GWT 2.0 - Compile Time question

2010-04-20 Thread dardison
Hi, We have at the moment of writing this: 11,5 MB of java client sources, and 4,8 Mb of java server source code. We are spending 1 hour and 30 minutes to compile to JavaScript with 2.0 version. But if we use 1.7 version we spend 10 minutes. we are using a PC with Pentium Core 2 Duo, windows XP 64

How to test runtime mode

2010-04-20 Thread Joost Bloemsma
Hi, Can anyone tell me if there is any way to find out, at runtime, in what mode the application is running? I mean, I would like to test if my app is running in development mode or hosted mode. Depending on the result I would like to change some settings at runtime like logging level, add the gwt

Re: Design of a GWT project

2010-04-20 Thread Jochen Schnaidt
Okay, I read the docs and understand most of it. Is it possiple to describe which sequence should be loaded by the URL? I planed that 'http://appname.appspot.com' is the administration and 'http://appname.appspot.com/singnup?asdfghjkl' is the signup page for event 'asdfghjkl'. I don't know if it

Re: Json cross-domain examle (JS error on IE 8.0 - Object doesn't support this action)

2010-04-20 Thread eggsy84
Oh yeah, damn! I shall get the blog post written up today around lunch time and post the link back here. In the mean time the objects it concerns are within the API: http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html On Apr 20, 10:04 

Re: Crawlable AJAX - jQuery Load

2010-04-20 Thread RPB
Hi Dusty, I noticed the same thing when testing the Ajax crawlability for my website: Googlebot didn't return me the static page if I run 'fetch as googlebot' for http://www.bookwhack.com/us/ But it works fine for http://www.bookwhack.com/us/?_escaped_fragment_= However, I can see in webmaster t

Re: Design of a GWT project

2010-04-20 Thread Jan Ehrhardt
In GWT 2.0 code splitting was introduced. You can have one big application, that contains both modules. In the standard case you load your application as before. In the registration case you can load a second module and use it. This is much better than having two applications with different entry p

Design of a GWT project

2010-04-20 Thread Jochen Schnaidt
Hi all, I have a question about the design of a GWT project. I am working on an application for registration to events based on GWT and GAE. The application consists of three modules: administration (create, edit an event and reporting), signup (registration of guests) and a ‘desktop’ for the peop

Re: Json cross-domain examle (JS error on IE 8.0 - Object doesn't support this action)

2010-04-20 Thread nasionalem
Hi Eggsy84, The document which you add in your other post is same tutoriol which I work on. Actually I didnt understand exactly what you mean. Could you please tell me how can I fix this error. Because I didnt find it in the tutorial. When was this tutorial updated? Because I worked on it yesterd

Re: When does a reference to an interface force GWT to generate all its implementations?

2010-04-20 Thread Thomas Broyer
On Apr 19, 9:06 pm, Eric wrote: > As I've been told, one should not declare parameters to client GWT > code as interfaces like List. AFAICT it only applies to things that'll go through GWT-RPC calls (because you might be sent any implementation of List, GWT has to generate the code for all know

Re: Help me in understanding Binding Concept

2010-04-20 Thread Jan Ehrhardt
There are a lot of concepts, that are called binding in some way. First you will have to say, which binding concept you mean. Regards Jan Ehrhardt 2010/4/20 sridevi macherla > Hi Nathan, > > I am new to binding concept. I want to know in general concept what > exaclty binding does. > > How it

Re: Get JSON content from GWT

2010-04-20 Thread Thomas Broyer
On Apr 20, 1:26 am, Chris Conroy wrote: > On Mon, Apr 19, 2010 at 4:01 PM, Julian! wrote: > >http://api.search.yahoo.com/ImageSearchService/V1/imageSearch? > > appid=YahooDemo&query=potato&results=2&output=json > > Julian, > > The problem you are hitting is the Same Origin > Policy

Re: Json cross-domain examle (JS error on IE 8.0 - Object doesn't support this action)

2010-04-20 Thread eggsy84
Hi there, GWT 2.0 now has methods for encapsulating this and the page you mention has been updated to include them I have mentioned this on another post at: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/a9374e15a5ec6046 I am also going to make a blog post on how to make

Re: Help me in understanding Binding Concept

2010-04-20 Thread sridevi macherla
Hi Nathan, I am new to binding concept. I want to know in general concept what exaclty binding does. How it works in GWT and what are different types of binding available in GWT Thanks Sri On Mon, Apr 19, 2010 at 8:25 PM, Nathan Wells wrote: > Are you referring to Deferred Binding (http://co

Facing problem tackling browser refresh

2010-04-20 Thread chill_hus
Hi I am working on an application which uses GWT 2.0, gwt-comet & GXT I have added a close handler (Window.addWindowClosingHandler) to detect refresh and closing of browser When this handler is called I do a RPC to a servlet. This RPC is executed properly if the browser tab is closed. However in ca