Limiting text length in rich text area widget

2009-01-03 Thread falcon_whiz
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

Re: Newbie Question on GWT/JSON

2009-01-03 Thread Reinier Zwitserloot
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

Getting java.net.SocketTimeoutException: Read timed out

2009-01-03 Thread tin
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

Extra pixels above image when added to popup panel

2009-01-03 Thread falcon_whiz
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. W

Re: Newbie Question on GWT/JSON

2009-01-03 Thread Ian
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 J

Re: GWT and applets

2009-01-03 Thread El Mentecato Mayor
Looks like you're trying to compile your Applet code with GWT. That will never work (not emulated; obviously you don't want to convert your applet into Javascript, even if it were possible). Compile it with plain Javac outside your GWT project or on the server side of your project and then you i

Newbie Question on GWT/JSON

2009-01-03 Thread Ian
I am new to the Web application world; I am trying to encapsulate my set of data in a JSONObject, convert to string, and send it (async POST) to a PHP page using GWT's RequestBuilder. GWT's tutorial discusses the trip from the server back to the client and not the other way around where I am uncl

Re: GWT project creation indefinetly creates folder recursively

2009-01-03 Thread Joseph M
Honestly, I find this sort of funny. Ive never heard of anything like it. No idea how to avoid that - try a previous version maybe. -Joseph On Jan 3, 3:09 am, Raj wrote: > Hi, > > I'm trying to setup GWT in my machine and followed the steps given in > the instruction and created an eclipse pr

Panel not clearing?

2009-01-03 Thread jwei512
Hey, so right now I'm having this unusual problem with one of the panels I made and I don't quite understand what's happening. Here's my code: bioText = new Panel(); bioText.setAutoScroll(true); String sampleURL = ""; bioText.setHtml(sampleURL); ToolbarButton bioNew = new ToolbarButton("New Page

Images not displaying after Upload

2009-01-03 Thread Noel King
GWT: 1.5.2 Hi, I am having a problem displaying images after they have been uploaded to through my web application. My file upload screen has the file upload component, with a scaling mechanism sitting behind it, which all works perfectly. Once a file has been upload the upload service returns

GWT maps API

2009-01-03 Thread rsoto
Hi all!!! I am currently developing a desktop application which I am trying to incorporate the capabilities of Google Maps and I came across the GWT which I think is great. SO, I set up a new eclipse project and go through the tutorials. I would like incorporate the geocoding capabilities in a sep

Re: Resizable Panel

2009-01-03 Thread Dev
Figured out myself .Here is a code example for a resizable and dragable panel public class DragPanel extends VerticalPanel { private boolean drag_drop = false; private boolean move = false ; private Element movingPanelElement; public void setMovingPanelElement(Element

TextArea inside a Window?

2009-01-03 Thread jwei512
Does anyone know whether or not a TextArea or TextBox inside of a floating Window would cause any problems? When I add the TextArea to a panel that's not in the window it's fine, but then when I try adding it to the window the window gets all messed up (it has an infinite width or something and fi

GWT project creation indefinetly creates folder recursively

2009-01-03 Thread Raj
Hi, I'm trying to setup GWT in my machine and followed the steps given in the instruction and created an eclipse project using projectCreator, I was little amazed to see the project size of more than 500MB while importing it into eclipse but only to find the script has created unlimited recursive

Re: Getting data out of gwt grid

2009-01-03 Thread rcaschultz
I did not see a reply but here is what I did. Sinceyou have the store, ask for the record at the row index and then the field name. For instance, I have a store with fields named "property" and "value". When I modify a value, I want the name of the "property" associated with the value I changed. I

doubt

2009-01-03 Thread kulbi
how to run the java application by using the GWT? --~--~-~--~~~---~--~~ 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 fr

Re: Who's Using GWT?

2009-01-03 Thread Jon Vaughan
We're using GWT for the whole UI of Bionic Books, which is a small business accounting application: http://www.bionicbooks.com. Honestly I love GWT; Bionic Books has been written completely by 1 person (me) and I believe that there is no other technology that would have allowed me to build someth

Re: Performance overhead of virtual methods

2009-01-03 Thread Reinier Zwitserloot
Assuming you meant 'virtual' in the C++ sense, then, nothing. On Jan 3, 1:09 pm, Jason Morris wrote: > nathan.r.matth...@googlemail.com wrote: > > Hi GWTers > > > I'm writing some performance sensitive code for GWT. I'm wondering how > > GWT compiles virtual functions to JavaScript. What's the a

1.6 : New event system

2009-01-03 Thread step3...@yahoo.fr
I heard that the listener is deprecated in 1.6 (and removed in 2.0) and will be replaced by handler. So how to put event on a DOM element ? Is there a method like seteventhandler for DOM element ? Thanks --~--~-~--~~~---~--~~ You received this message because you

Re: How to change the name of the host html page in project

2009-01-03 Thread David Hoffer
Thanks for the reply. It sounds like you are suggesting a manual process. I'm looking for an auto process, something I can do in code/xml/html and it just works. I use maven to build a war, I don't have the option of manually moving files around. Is there a way I can code this in my gwt.xml and/

Re: How to change the name of the host html page in project

2009-01-03 Thread Ian Bambury
Once compiled, take all the files inside the package-name folder and put them wherever you like. You can also change the host html page name to anything you want. If you change it in the source code, you will have to change it in any file that runs hosted mode. Just change 'MyProject.html' to the n

Re: GWT+SPRING+MAVEN

2009-01-03 Thread olivier nouguier
Hi, You can look at http://code.google.com/p/net-orcades-spring/ which should fit yours needs. Please, let me know. On Mon, Dec 29, 2008 at 4:47 PM, Arthur Kalmenson wrote: > > Hi Mikhail, > > Are you using Spring Security? If so, this should be fairly easy to > do. You need to have a DTO for y

Re: How to change the name of the host html page in project

2009-01-03 Thread David Hoffer
Could you post what you did to make this work? I am not having any success with the link http://java.dzone.com/tips/getting-rid-package-based-gwt-. Also I don't use eclipse, could you explain in non-eclipse terms how I can remove the package names from the browser URLs? -Dave 2008/12/29 giannisd

Re: Page Navigation Problem

2009-01-03 Thread A Friend Of Yours
Ok, I got it. Thanks everyone --~--~-~--~~~---~--~~ 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

Re: Proxy class generation

2009-01-03 Thread Jason Morris
Madhu CM wrote: > Hi all, > I am new to GWT, and i like the way its been implemented. > But i am struck up with something I have developed sample > application just > to do RPC. > when i do GWT.create() . where will be the proxy class generated ? > is it done dynamically?dynamically cre

Re: Performance overhead of virtual methods

2009-01-03 Thread Jason Morris
nathan.r.matth...@googlemail.com wrote: > Hi GWTers > > I'm writing some performance sensitive code for GWT. I'm wondering how > GWT compiles virtual functions to JavaScript. What's the associated > performance overhead? Obviously I'd like to use proper polymorphism > but if there's a significant

can it be ?

2009-01-03 Thread jimmy6
How can i do this . I just want the following sub package included. Can? --~--~-~--~~~---~--~~ 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@googlegroup