Google Code

Re: form submit new window ... request getparameter not working???

GWT Group - 15 hours 54 min ago
Try this . It worked for me
form.setEncoding(FormPanel.ENC ODING_URLENCODED);//ENCODING_M ULTIPART);

Thanks
Sam

On Dec 31 2008, 8:35 am, "bharat.j...@gmail.com"

Categories: Google Code

Setting Cookies in GWT

GWT Group - 15 hours 54 min ago
Hi All,

I am very new to GWT? I would like to know how to set and retrive
cookies in GWT.

Thanks & Regards,
Venkat

Categories: Google Code

Re: GWT hosted mode in infinity loop when debugging

GWT Group - 15 hours 54 min ago
Had the same problem, in my case, the hang was 5 minutes of 50% CPU,
since the project is barely started (3000 LOC)

A full rebuild fixed the problem

Tony

Categories: Google Code

.gwt.xml not on your class path

GWT Group - 15 hours 54 min ago
Hi,
I have created a GWT RPC application. It runs fine when i deploy it in
sepetrate Tomcat and when i run it using .shell command. But when i
try to run it using Run->Configuration of eclipse it gives me an error
saying that [ERROR] Unable to find 'com/sandeep/transfer/
StringReverse.gwt.xml' on your classpath; could be a typo, or maybe
Categories: Google Code

Re: can we have multiple directories in source path for module inheritance?

GWT Group - 15 hours 54 min ago
Hi,

Here is an allowed example:
<source path="mydir" />
<source path="" /> <!-- no dot between the brackets -->

but the first line is not useful as the second line will include mydir
unless you specify any include and exclude rules but this is another
topic.

Categories: Google Code

Re: exception not caught in a javascript constructor in IE

GWT Group - 15 hours 54 min ago
I finally managed to reproduce this pb outside of gwt. It seems to be
due to the fact the js is loaded inside an iframe (which is the case
of the js generated by gwt).

Here is a simple example to reproduce it.

<html>
<head>
<script type="text/javascript">
function MyObject(){
throw "String thrown";

Categories: Google Code

Re: can we have multiple directories in source path for module inheritance?

GWT Group - 15 hours 54 min ago
My specific question was if I can give "." to the current directory or
do they all have to be under subdirectories to be specified in <source
path="mydir" /> ? Can I give
<source path="mydir" />
<source path="." />
Categories: Google Code

can we have multiple directories in source path for module inheritance?

GWT Group - 15 hours 54 min ago
I have a module that inherits another module. The inherited module
has
<module>
<source path="mydir" />
</module>

placed in a directory called sample. It works for all sources inside
mydir . Can I specify multiple source paths? I need source from mydir
as well as current directory (sample) which contains the module.gwt

Categories: Google Code

Re: 1.6 : New event system

GWT Group - 15 hours 54 min ago
Step3331,

You should just download the 1.6 code from svn and look what is
available to calm your nerves down.

//Adam

Categories: Google Code

Re: Error's , PLEASE HELP ME :)

GWT Group - 15 hours 54 min ago
Hallo King! Meine deutche ist nicht zehr gut...

Auf englisch:

It seems that you are using GWT-Ext but are missing the script that
should load when your page first loads.
Are you missing any required <script type="text/javascript"
src="source of your gwt-ext.js"> in your HTML file?
Another possibility is that the when the script loads it is performing

Categories: Google Code

gwt_module_id property

GWT Group - 15 hours 54 min ago
I ran into a problem with the integration of GWT and Gears, and was told
to post it to this group rather than the Gears group.

I have no problems running the SimpleGadget sample application
directly on iGoogle, but when I try to run it out of Eclipse I get the
stack trace:
[ERROR] Failure to load module 'com.simplegadget.SimpleGadget '

Categories: Google Code

Re: How to center the whole page (not the content inside a panel)?

GWT Group - 15 hours 54 min ago
In Java specify style name for this DockPanel:

DockPanel rootPanel;
rootPanel.addStyleName("rootPa nel");

and in css add:

.rootPanel {
margin-left: auto;
margin-right: auto;
}

Categories: Google Code

No source code available error

GWT Group - 15 hours 54 min ago
[ERROR] Line 40: No source code is available for type
com.google.gwt.json.client.JSO NObject; did you forget to inherit a
required module?

I'm getting this error when I try to implement JSONObject and
JSONArray. Any help will be greatly appreciated.

Categories: Google Code

Re: Newbie Question on GWT/JSON

GWT Group - 15 hours 54 min ago
Whoops, forgot my footnote:

[1] [link]

I don't know if that makes it official. I believe the official entity
that vets mime types is IANA, but on their site I couldn't quickly get
to an official list of recognized mime types. Still, if Doug Crockford
says the type is application/json, and almost everyone uses that,

Categories: Google Code

Limiting text length in rich text area widget

GWT Group - Sun, 01/04/2009 - 01:00
Hi,
I want to limit the text length inside the rich text area widget
provided by GWT. But there is no implementation of a method like
maxLength in this widget. I have tried implementing it using substring
inside keyboardlistener but the problem is that I lose all the HTML
formatting. Can anybody suggest a possible workaround.
Categories: Google Code

Re: Newbie Question on GWT/JSON

GWT Group - Sun, 01/04/2009 - 01:00
Whatever possessed you to send the "application/x-www-form-
urlencoded" as mime type?

JSON is nothing like form-encoded. That's like sending your HTML as
"image/jpeg" just for kicks. Don't do that.

JSON's mimetype is "application/json" (see [1] below). If you want to
be nice, you should actually set that in the header (as follows:

Categories: Google Code

Getting java.net.SocketTimeoutException: Read timed out

GWT Group - Sun, 01/04/2009 - 01:00
Hi All,

I occassionally get this exception when my app's page is getting
downloaded in the broser. In my application, I make few rpc calls to
fetch the data once the JSP is downloaded by the browser.

Any help in this will greatly be appreciated. No concrete answer could
be found for this on the internet but it seeems others have faced this

Categories: Google Code

Extra pixels above image when added to popup panel

GWT Group - Sun, 01/04/2009 - 01:00
Hi all,
I am using the lates release of gwt (gwt-windows-1.5.3). now the
problem is that whenever I am adding an image to a popup panel the
size of the popup panel increases by few extra pixels on top of the
image. on the sides and on the bottom the popup panel adjusts to the
size of the image. What can be the problem??
Categories: Google Code

Re: Newbie Question on GWT/JSON

GWT Group - Sun, 01/04/2009 - 01:00
For those who might be facing a similar problem and others who might
be interested in my previous question I have come up with an answer.
First my disclaimer: the solution below may not be the proper one but
it does work. Now on to the solution:

On the GWT Client Side:

JSONObject jObject = new JSONObject();

Categories: Google Code
Syndicate content