SimpleRadioButton getValue() ?

2010-05-20 Thread bch...@gmail.com
Greetings, I have the following snippet : SimpleRadioButton r1 = SimpleRadioButton.wrap(DOM.getElementById("radio1")); r1.getValue(); // expected method does not exist. DOM.getElementAttribute(r1.getElement(), "value") ; // This works fine. My question is : is this the intended way to use Simple

Re: Trying a simple Google Web Toolkit app, with no success

2010-03-28 Thread bch...@gmail.com
1. Like you said, the problem seems to be Resin. Did you try asking the Resin forums ? 2. Resin 2 is like built in 2004. Did you try Resin 3 ? On Mar 26, 11:28 pm, Jeremy R wrote: > Hi; I'm trying to evaluate Google Web Toolkit pretty much as an > experiment.  I have the simplest possible demo, a

Re: problem with serialization of uninitialized JPA 2 annotated entities (gwt 2.0.3)

2010-02-28 Thread bch...@gmail.com
Your User.id may not have been initialised. Thus : "Something other than an int was returned from JSNI method" That "something other" might have been a null. On Mar 1, 5:38 am, tekbe wrote: > Hi, > > maybe my problem is related > tohttp://code.google.com/p/google-web-toolkit/issues/detail?id=4

Re: Problem with Thread in GWT2.0

2010-02-06 Thread bch...@gmail.com
Why not. Just run it "later" in a same thread. On Feb 5, 5:55 pm, SergeZ wrote: > Thanx, the answer is clear, but if JavaScript is a single-threaded, > then how this code can works? > > private void makeATL(final String router) { >                 Runnable onLoadCallback = new Runnable() { >    

Re: getting data from server in GWT

2010-01-21 Thread bch...@gmail.com
http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html On Jan 22, 11:53 am, manish wrote: > HI, > i am a new user of GWT. Can anyone give me a simple example of how can > i send back the response data back to the client from the server side > and how client will receive thi

Re: GWT Compiler Missed an Error

2010-01-21 Thread bch...@gmail.com
Perhaps, but 1. It isn't until (the javascript) run-time that id="panelSlot" is resolved. 2. The compiler may not necessarily not know which html page is calling this js code, or if its needs to be a static html page that will call this js code. 3. In my opinion, the error is in the html page,

Re: Can't get dev mode on external server working (GWT 2.0)

2009-12-21 Thread bch...@gmail.com
Can you share your App.html and App.gwt.xml ? On Dec 22, 10:55 am, Swami wrote: > If I open that url then I just get the static App.html displayed > > if I append ?gwt.codesvr=127.0.0.1:9997 to the end of the url I still > get the same > > clearing the cache makes no difference > > Here's my Ap

Re: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadException

2009-12-09 Thread bch...@gmail.com
As the previous post mentioned, these jar files should be in your war application's "WEB-INF/lib" director. On Dec 9, 6:52 pm, Henry wrote: > I've these jars in the built path of the eclipse: > >     commons-codec-1.4.jar >     commons-fileupload-1.2.1.jar >     commons-io-1.4.jar > > The proje

Re: Widget not showing up ... what ever I do.

2009-12-06 Thread bch...@gmail.com
At its core, gwt is javascript. Did you try observing your application's behaviour via Firebug ? What did you observe ? On Dec 6, 11:54 pm, Girish wrote: > Hi All, >          I'm a new to GWT and I need some help in integrating GWT with > the existing application which is in Spring and Hibernate

Re: Controlling desktop windows size and position.

2009-11-28 Thread bch...@gmail.com
Java is not Javascript. On Nov 28, 8:01 pm, Patrick Simons wrote: > I'm sure there is a way, I've seen Java applications do this before > > On Mon, Nov 23, 2009 at 10:09 AM, Martin Trummer > wrote: > > > you can't do that with html/javascript, so GWT can't help you > > > On 19 Nov., 18:35, Patri

Re: OOPHM problem in gwt 2.0.0-rc1

2009-11-24 Thread bch...@gmail.com
I have the same problem. For me, adding the following to the call to com.google.gwt.dev.DevMode removes this error. I don't know why. Let me know if it works for you. On Nov 24, 6:35 pm, emir wrote: > Hi, I have some trouble using OOPHM, gwt 2

Re: Problem with memory of Form Panel

2009-11-10 Thread bch...@gmail.com
Sounds like you intended to be using a new instance of your FormPanel instead of reusing the old instance. On Nov 10, 8:53 am, iaio81 wrote: > Hi all, > I've a sequence of Form Panel in a Window. At the end I close the > window but if I click on the shortcuts GWT reopens it and I see the > last

Re: "Refreshing a history item"/Redo a search

2009-11-10 Thread bch...@gmail.com
I had a similar problem. If the second "search again" function with the same search terms returns the same result, thus indeed nothing has changed, and this should be the expected behaviour. In my case, I dropped using the History system for this feature, and updated the result grid directly as