Re: Synchronous Calls with RPC??

2010-05-16 Thread mmoossen
Hi, Despite that i wrote the patch for sync-rpc, I completely agree with kozura that in this case sync-rpc would be a bad idea. BUT, who cares? if fomba wants to use it, it is up to him, if his application is not responsive it is his problem not mine. (this reminds me the apple-adobe conflict:

fast mouse copies?

2010-05-16 Thread bcw
Hi, I'm writing a note-taking app using GWT for a tablet computer, and when I write, I am moving the pointer much faster than when using the mouse. Periodically with the Chromium browser, but not with FireFox, a 'fist- and-page' icon will appear at the pointer, and the browser will behave as if

Re: Force application javascript to be reloaded in the browser

2010-05-16 Thread Stefan Bachert
Hi Kedaar, you are going to repair and fuel up the car while I am driving it. I would heavily disadvice such an approach. It will cause a lots of problem and critical situations which are in general not worth while. However, when you try to do it the following consequences apply: 1) you can

Re: Large GWT project source code organization

2010-05-16 Thread Stefan Bachert
Hi Mariyan, JPA (without EJB) is configured to use hibernate (in my case) So I had the chance to exchange the provider (maybe use toplink) So the reason to use JPA is to setup up on an higher abstraction. Stefan Bachert http://gwtworld.de On 15 Mai, 18:28, mariyan nenchev

Re: gwt

2010-05-16 Thread Stefan Bachert
Hi, when GWT is running on the client side JS is available. The host page has per default code which checks whether script is allowed. But this is pure HTML (noscript) And with GWT you do not depend on cookies. Stefan Bachert http://gwtworld.de On 15 Mai, 16:03, Muhammad Saifullah

Re: GWT.isClient() always return true

2010-05-16 Thread fonghuangyee
Returns true when running inside the normal GWT environment, either in hosted mode or web mode. Returns false if this code is running in a plain JVM. This might happen when running shared code on the server, or during the bootstrap sequence of a GWTTestCase test. I am sorry, My question is : if i

Re: GWT.isClient() always return true

2010-05-16 Thread Sripathi Krishnan
When deployed to tomcat as javascript, it will always return true. --Sri On 16 May 2010 20:38, fonghuangyee fonghuang...@gmail.com wrote: Returns true when running inside the normal GWT environment, either in hosted mode or web mode. Returns false if this code is running in a plain JVM.

Re: GWT.isClient() always return true

2010-05-16 Thread fonghuangyee
Thanks! On May 16, 11:18 pm, Sripathi Krishnan sripathi.krish...@gmail.com wrote: When deployed to tomcat as javascript, it will always return true. --Sri On 16 May 2010 20:38, fonghuangyee fonghuang...@gmail.com wrote: Returns true when running inside the normal GWT environment,

Re: XML binding/mapping and GWT-RPC

2010-05-16 Thread ciosbel
I think i'll go that way. Thank you/all. ciosbel. On 14 Mag, 22:28, kozura koz...@gmail.com wrote: Server-side translation and sending through serialized classes is a fine way to go.  I do it using xmlbeans, but then do a trivial conversion to some POJO classes that are much simpler and more

Re: New to GWT

2010-05-16 Thread gengstrand
Take a look at GWT in Practice by Robert Cooper and Charles Collins. http://www.goodreads.com/review/show/102998687 Pro Web 2.0 Application Development with GWT by Jeff Dwyer. http://www.goodreads.com/review/show/103003031 Both of these books are about GWT version 1.6 Enjoy! On May 13, 6:03 

Re: GWT execution flow

2010-05-16 Thread Michael W
I provide a work around to load nocache.js on the first request. See enhancement of http://code.google.com/p/google-web-toolkit/issues/detail?id=4948 It will satisfy our needs currently as we use Akamai edge server to cache .the cache files (user gets cache file from nearest server of Akamai )

Re: GWT execution flow

2010-05-16 Thread Sripathi Krishnan
You are essentially including the content of nocache.js in the host html file, and therefore combine (1) and (2) in your original question. This works, and as Thomas pointed in this posthttp://groups.google.com/group/google-web-toolkit/msg/9676c52a34a064c6, its what google wave does. But you

Re: Let users build a user interface in the browser

2010-05-16 Thread linuxdogm
Hello, I am really happy that someone on this planet understands me. What you are working on sounds really the way I want it. I would like to stay informed about the current state. Stay tuned! Greetings, linuxdogm On 15 Mai, 07:59, Gal Dolber gal.dol...@gmail.com wrote: I am working on that.

Re: Synchronous Calls with RPC??

2010-05-16 Thread Olivier Monaco
Michael, I'm totally disagreed with you. When you choose to answer here, you choose to give a good one. When you know someone is going the wrong way, don't let him going to far. Fighting against problems is not a good way to learn, you also need to have references. Please, read again the

Re: GWT Sprite adds height attribute in the style class

2010-05-16 Thread Zak
Thomas, does this mean that @sprite should only be used when it's okay for the element to be constrained to the same dimensions (or just height or width in the case of repeated backgrounds) as the image? For example, if we went with Stefan's proposal of overriding the height rule (let's say

Re: GWT Sprite adds height attribute in the style class

2010-05-16 Thread Thomas Broyer
On 16 mai, 21:42, Zak zakn...@gmail.com wrote: Thomas, does this mean that @sprite should only be used when it's okay for the element to be constrained to the same dimensions (or just height or width in the case of repeated backgrounds) as the image? For Yes, just as if you used an Image

MVP, gwt-presenter + UIBinder + Gin

2010-05-16 Thread Chris
Hi All I'd like to use UIBinder to layout my page which is made of several Views. I'm kind of confused as to how to do this... For example, I'd like to inject my views straight into the UIBinder context, so I extend the xml declaration to be: ui:UiBinder

Hibernate Lazy initialization exception problem with Gilead in GWT 2.0 integration

2010-05-16 Thread sylvain.saurel
Hello, I use GWT 2.0 as UI layer on my project. On server side, I use Hibernate. For example, this is 2 domains entities that I have : public class User { private CollectionRole roles; @ManyToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = users,

Load different html

2010-05-16 Thread Ho Jimmy
Hi When the GWT application is started, an html file is specified and the GWT modules are loaded and located according to the div id of that html file. If the application needs to go to another state with another html file after the user clicking a button or link, how can I redirect the

Re: GWT article 'Large scale ...' license of source code

2010-05-16 Thread Chris Ramsdale
Agreed. We'll get around to adding those soon. Thanks to everyone that followed-up on this. -- Chris On Fri, May 14, 2010 at 4:10 PM, Jan Ehrhardt jan.ehrha...@googlemail.comwrote: Thanks, so it's under Apache 2.0, but it would be much easier to notice, if the source files had license

Accessing variable from remote service

2010-05-16 Thread notforgoogle
Hi all, Using GWT, I'm trying to call two methods which exist in a RemoteService from my entrypoint class. I have two methods within my remoteService servlet, method A and method B. Method A returns an int and sets an arraylist. Method B returns the arraylist, myList. How can I on my client

Problem with Google Calendar API invocation at server side

2010-05-16 Thread Raffo
Hi guys, I have problems with the invocation of the Google Calendar API. I downloaded the library for java and I added as external JAR in eclipse the following files: gdata-core, gdata-calendar, gdata- calendar-meta, gdata-client-meta, gdata-client. Then, I created a the method as it follows:

How can I prevent GWT from trying to append an Authorization header to an RPC POST? (bug?)

2010-05-16 Thread dblock
There's something strange going on with RPC POSTs when we do Negotiate/ NTLM/Kerberos auth. I have a server that responds with a 401 on a GET, we negotiate windows authentication properly, the GWT tries to make an RPC call and somehow carries an Authorization: header in the request. This breaks

How to access static variable on remoteService?

2010-05-16 Thread BurstUser
Hi all, Using GWT, I'm trying to call two methods which exist in a RemoteService from my entrypoint class. I have two methods within my remoteService servlet, method A and method B. Method A returns an int and sets an arraylist. Method B returns the arraylist, myList. I'm assuming that a single

How to user Google account authentication along with RPC?

2010-05-16 Thread Xi Zhang
Hi there: I am using Google account as authentication of my application. I am trying to use a RPC call to retrieve the user information using com.google.appengine.api.users.UserServiceFactory. So far I have something like: @SuppressWarnings(serial) public class MyAppImpl extends

Setting up a fixed left and right panel

2010-05-16 Thread Michael
I want to set up three panels, the left and right ones I want to have a fixed width (in EM units) and be fixed to the left and the right of the user window. I want a third panel in the center that takes up the remaining room. Is there an easy way to do this? I tried a dock panel but it doesn't

running application without application server?

2010-05-16 Thread rzahn
Hi everybody, I have a basic question concerning client/server issues in gwt: I'd like to develop a gwt application. I read the tutorials and found an example how I can compile the application and use it stand alone just with a web browser. My application has to display results from a

Problem with VerticalPanel row height via UiBinder

2010-05-16 Thread Dawid Buchwald
I'm trying to figure out the new UiBinder functionality - and I'm a bit disappointed. The problem I have is very simple: in my application I'm starting with DockLayoutPanel, in the north section I want to add VerticalPanel with two elements - first one is the HorizontalPanel with user email

Tutorial Request: Glassfish / Eclipse / GWT - With Hot Deploy

2010-05-16 Thread CodeMonkey
Hey guys, I'm new to this forum and was wondering if anyone had a good tutorial on how to setup a new project in Eclipse that uses Glassfish v3 and GWT with Hot Deploy. Any links or learning tools would be appreciated. Thanks, Chris -- You received this message because you are subscribed to

Have a problem with GWT urgent

2010-05-16 Thread Mohamed Khaled
We are using GWT application for very large system, we hope to find a solution as soon as possible. Below is the description of our system work flow and our problem Languages used: EJB 3, Java, GWT(google web toolkit) Application Contents: === EJB Ear File, GUI Ear

GWT Hosted mode is working perfect but web-mode doesn't work ! It throws exception - StatusCodeException

2010-05-16 Thread broshni
Hi Folk, I am new to this forum. Actually I have an issue here regarding my application which is hibernate+struts based application. Recently we have decided to integrate GWT into our application. We are using gwt 1.5.3 build. We have set up everything exactly as we find in documentation and

JPA + HIBERNATE+SPRING+GWT

2010-05-16 Thread soma Gurram
Hi Guys, We are in the process of building web application with JPA + HIBERNATE+SPRING+GWT. I am having difficulties integrating Hibernate And GWT. Can any one share there experiences and a best strategy that was successful adopted. I know that we can use GILEAD or DOZER (to copy the model

Problem with Google Calendar API invocation at server side

2010-05-16 Thread Raffo
Hi guys, I have problems with the invocation of the Google Calendar API. I downloaded the library for java and I added as external JAR in eclipse the following files: gdata-core, gdata-calendar, gdata- calendar-meta, gdata-client-meta, gdata-client. Then, I created a the method as it follows:

Fail to open the GWT application when deployed on TomCat

2010-05-16 Thread scheiner
Hi all, I am a GWT-newbie and I have encountered the following problem: I am using intelliJ for development. when I run the application from intelliJ (using the JETTY-based GWT development mode) everything is fine. I tried to move my application to my TomCat server and when I tried to open the

Modular Enterprise Application

2010-05-16 Thread Vano Beridze
Hello I'm going to develop modular Enterprise application using GWT+JPA on the server side using servlet RPC. The application will have Outlook style layout. There will be one panel on the left containing module menus and the right panel will contain opened windows groupped as tabs. Module is

Re: How to access static variable on remoteService?

2010-05-16 Thread Tom Davies
Perhaps you can explain a bit more clearly what it is you want to do, what you are trying, what happens, and what you expect to happen. To call setB() and then getB() in sequence, you need to call getB() inside the onSuccess method of the callback which handles the response of the call get setB()

Re: Problem with VerticalPanel row height via UiBinder

2010-05-16 Thread Tom Davies
I don't know what's causing your issue -- something like FireBug should let you see what the size of your element is, and which styles the sizes are coming from. There's nothing wrong with using mostly HTML in UiBinder templates -- unless unless your widget actually needs a reference to a child

Re: GWT Sprite adds height attribute in the style class

2010-05-16 Thread Zak
Thanks, that clears things up for me (and I hope Vaibhav as well). I havent made the UiBinder/ClientBundle jump yet, but in reading the documentation I thought that might be an issue. Good to know DataResource can fill that need. On May 16, 5:31 pm, Thomas Broyer t.bro...@gmail.com wrote: On 16

Re: running application without application server?

2010-05-16 Thread Tom Davies
On May 16, 1:50 am, rzahn riaz...@t-online.de wrote: My application has to display results from a mysql-database. Will I be able to run this application on a host without an application server like tomcat? The short answer is no -- you need something running on the server to query the DB and

Re: Setting up a fixed left and right panel

2010-05-16 Thread kozura
Try the new DockLayoutPanel, it's made to do exactly this sort of layout. http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#LayoutPanels Be sure to follow the instructions carefully wrt RootLayoutPanel and standards mode. On May 14, 8:57 pm, Michael mrher...@gmail.com wrote: I

Object code definition in relation to GWT

2010-05-16 Thread Ben Harris
Hi, What are thoughts on whether the output JavaScript of a GWT project is 'object code'? I am thinking of licensing my projects as EPL which does not define the term 'object code'. If someone were to compile the project and host it for others, would that constitute distributing binaries?

Re: How to access static variable on remoteService?

2010-05-16 Thread Blessed Geek
Your question concerns the most basic principle of GWT RPC - How to pass various data types between server and client. I am jumping to unqualified conclusion the reason you chose to define the List static is probably because you are hoping that the static object could be shared between client and

[gwt-contrib] [google-web-toolkit] r8162 committed - Re-enables Appstats in bikeshed.

2010-05-16 Thread codesite-noreply
Revision: 8162 Author: knor...@google.com Date: Sun May 16 05:11:07 2010 Log: Re-enables Appstats in bikeshed. http://code.google.com/p/google-web-toolkit/source/detail?r=8162 Modified: /branches/2.1/bikeshed/war/WEB-INF/web.xml === ---

[gwt-contrib] [google-web-toolkit] r8163 committed - Add 2.1.0.M1 artifacts from r8162.

2010-05-16 Thread codesite-noreply
Revision: 8163 Author: jasonpar...@google.com Date: Sun May 16 10:22:04 2010 Log: Add 2.1.0.M1 artifacts from r8162. http://code.google.com/p/google-web-toolkit/source/detail?r=8163 Modified: /2.1.0.M1/gwt/maven/com/google/gwt/gwt-bikeshed/2.1.0.M1/gwt-bikeshed-2.1.0.M1.jar

[gwt-contrib] [google-web-toolkit] r8164 committed - Add GAE 1.3.4 (beta) SDK to Maven repo.

2010-05-16 Thread codesite-noreply
Revision: 8164 Author: jasonpar...@google.com Date: Sun May 16 11:00:33 2010 Log: Add GAE 1.3.4 (beta) SDK to Maven repo. http://code.google.com/p/google-web-toolkit/source/detail?r=8164 Added: /2.1.0.M1/gwt/maven/com/google/appengine

[gwt-contrib] [google-web-toolkit] r8165 committed - Add additional GAE 1.3.4 (beta) JARs to Maven repo.

2010-05-16 Thread codesite-noreply
Revision: 8165 Author: jasonpar...@google.com Date: Sun May 16 11:37:37 2010 Log: Add additional GAE 1.3.4 (beta) JARs to Maven repo. http://code.google.com/p/google-web-toolkit/source/detail?r=8165 Added: /2.1.0.M1/gwt/maven/com/google/appengine/appengine-local-runtime