how to set and get cookies in GWT's RPC mechanism?

2009-08-25 Thread chris
thank you --~--~-~--~~~---~--~~ 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 email to google-web

Facing a Problem with tomcat deployment

2009-08-25 Thread tin
Hi group I am getting this exception when any RPC call is being made. I am not getting this when I am running the app in the hosted mode and web mode when running inside Eclipse. But when I deploy the war file in Tomcat, I start facing this problem. Please help. Regards Nitin --~--~-~-

RE: Facing a Problem with tomcat deployment

2009-08-25 Thread Nitin Gupta
Sorry here is the exception that I am facing java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 Regards nitin -Original Message- From: tin [mailto:nitingupta...@gmail.com] Sent: Tuesday, August 25, 2009 1:20 PM To: Google Web Toolkit Cc: nitingupta...@gmail.com Subject: Facing a Pr

Re: Plain OO question

2009-08-25 Thread Dalla
That seems like a good solution. But to me something seems to be missing. Let´s say I create a DiscountPriceRule, with a DateRangeCondition. How would I apply this to the Course object? It doesn´t (and shouldn ´t?) contain any information about when it was bought, how many and so on. It seems lik

Photo album

2009-08-25 Thread Zé Vicente
Hello all, This question is not 100% GWT oriented, but I need your help and experience regarding photo album applications. I am building an app using GWT of course, and one its features is the photo album. I know how to submit files, how to display images and etc. But I am not sure about what to

Re: how to set and get cookies in GWT's RPC mechanism?

2009-08-25 Thread श्री
On Aug 25, 12:24 pm, chris wrote: > thank you to set and get cookies in GWT's RPC mechanism? refer http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/Cookies.html also for indepth Secure login read this http://code.google.com/p/google-web-toolkit-incubator/wiki

Sending real Ip address throgh GWT to backend services

2009-08-25 Thread mukta
Hi All, I am developing a web application using gwt 1.6. As one of the requirement, I have to send real IP address of the client through Gwt to back end. I tried several options but none of them suceeded. I also tried with the javascript native code but instead of machine's local Ip address, it r

who is the best way to work with MenuBar?

2009-08-25 Thread osquitranki
Hi, I have a page with a VerticalPanel. In the first position I have a MenuBar. If you make click in the first MenuItem then show two component in the VerticalPanel more a MenuBar and if you make click in the second MenuItem then show one component in the VerticalPanel more a MenuBar. private vo

Re: Download file

2009-08-25 Thread chandrahas koyari
There are two general methods to achieve it 1. Create a link which directly point to that resource (file) 2. Point to a Servlet which respond with a file (by using getResourceAsFile() ) On Aug 25, 2:50 am, Alexei Telles wrote: > Hi... > > I need to create a link in my web application where the u

Re: Photo album

2009-08-25 Thread Lothar Kimmeringer
Zé Vicente schrieb: > 1. The user chooses to upload a photo which its size is 5Mb. > > I am sure that 5Mb is to big to display it afterwords. Not necessarily, you can offer it as "special" download in addition to a picture with smaller resolution. > How can I > resize it without loosing the qu

Re: Sending real Ip address throgh GWT to backend services

2009-08-25 Thread Lothar Kimmeringer
mukta schrieb: > Sending Ip address is really necessary for us as we are planning to > implement a session management system where admin can manage all the > open sessions(In this case all open browsers). I still don't see the necessity of the internal IP-address of the system, the browser is run

Re: Sending real Ip address throgh GWT to backend services

2009-08-25 Thread mukta
Hi Lothar, Thanks for your reply. Yes I understand 'Multiple Ip address' is one of the constraints. But as the part of showing session info will have to send Ip adress to the backend, as there are more than one user interfaces. I will give a try for java applet as you sugggested. Thanks, Mukta

Re: Photo album

2009-08-25 Thread श्री
hi On Aug 25, 1:22 pm, Zé Vicente wrote: > Hello all, > > This question is not 100% GWT oriented, but I need your help and > experience regarding photo album applications. > perhaps u can try smartgwt it a gwt wrapper around smartclient js libraries Its takes a while (around 2-10 sec based on y

Re: At new item to a list at each position

2009-08-25 Thread Tobe
Ok, like I already said the project is about creating exams. The outer container are parts of the exams with a description what the part is about. The inner container are the exercise with a description what the students have to do. There are two more inner nested blocks but it works the same way.

Re: Drawing Lines

2009-08-25 Thread श्री
hi On Aug 25, 6:06 am, GTM wrote: > I was wondering if there was any option to allow a user to draw lines. > Basically, I would a bunch of icons to appear on the screen. The user > would be able to draw lines to connect two of these icons to show a > connection. perhaps u can look at gwt-diagra

Re: Plain OO question

2009-08-25 Thread Alessandro Loche
You have that kind of information on entity course, haven't you? After you evaluate the conditions, if the result is true (that's means the conditions have verified) you apply the evaluation in your rule entity. A rule should knows hot to do if the conditions evaluation is true. And the only w

application resolution problem

2009-08-25 Thread vasem want
Hi , I have a rich and thick application using GWT as the presentatin layer , on a spring/struts/orms combination framework, we are facing a problem that when ever we show the applciation on projector one side of the applications looks like cutoff then moving the mouse towards that sides shows tha

Re: Sending real Ip address throgh GWT to backend services

2009-08-25 Thread Lothar Kimmeringer
mukta schrieb: > Yes I understand 'Multiple Ip address' is one of the constraints. But > as the part of showing session info will have to send Ip adress to the > backend, as there are more than one user interfaces. So what? Every user interface is contacting the server and every servlet containe

Re: At new item to a list at each position

2009-08-25 Thread Ian Bambury
Given how deeply you intend to nest these things - 5 levels, Exam-Section-Exercise-OneMore-TwoMore - I think the nested tables idea is getting unmanageable for both the user and the design. I think I'd be going for a tree on the left and details on the right. Because it is basically a tree, people

starting gwt compiler in javacode

2009-08-25 Thread jenny
I have a normal java project and want it to output/write gwt files for a gwt project. This is doing well. My problem is to compile these outputted gwt java files at runtime of my normal java project. I tried this: import com.google.gwt.dev.Compiler; ... Compiler.main(new String[] {"protoreto.gwt

Re: rich und web application in one Eclipse project

2009-08-25 Thread Paul Robinson
jenny wrote: > Hello Paul, > thank you for answering. It's a helpful tip for me that you can mark > the directories to translate in that gwt.xml file! > > But it seems that i havn't described my actual problem exactly. So i > try again. > The matter is that i have a well working application that r

How to set Font style for full application

2009-08-25 Thread Parvez Shah
Hello, is there a way to set Font style for complete application, I tried setting the font in the Main.html but to no avail i am trying to set font style "Time new roman" size 16 but just cant get it done .. i searched in the samples but there also I could not find any example which does so. --~

GWT events not firing

2009-08-25 Thread badgerduke
Hello: I have the following panel onto which I want to register events: import com.gallup.sme.cohort.client.event.TopEdgeLeftPanelEventHandler; import com.google.gwt.core.client.GWT; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import

Re: Creating and Importing GWT Independent Modules

2009-08-25 Thread Lucas Neves Martins
Another thing I've found out. The Eclipse IDE cache makes things a little difficult sometimes. So, when creating the other package, exporting the jar, etc, make sure you refresh all the projects. On 17 ago, 16:18, Lucas Neves Martins wrote: > I am not a GWT expert, but I don't think this is pos

Re: GWT events not firing

2009-08-25 Thread श्री
On Aug 25, 6:06 pm, badgerduke wrote: > Hello: > > I have the following panel onto which I want to register events: > which version of gwt ?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" g

Re: How to set Font style for full application

2009-08-25 Thread श्री
parvez, On Aug 25, 5:23 pm, Parvez Shah wrote: > Hello, >  is there a way to set Font style for complete application, I tried > setting the font in the Main.html but to no avail you will have to set it in the CSS (under public folder) and it should work refer: http://lkamal.blogspot.com/2007/0

Re: GWT events not firing

2009-08-25 Thread John (Eric) Hamacher
Sorry, GWT 1.7 On Aug 25, 8:39 am, (श्री) GNU Yoga wrote: > On Aug 25, 6:06 pm, badgerduke wrote: > > > Hello: > > > I have the following panel onto which I want to register events: > > which version of gwt ?? --~--~-~--~~~---~--~~ You received this message becau

Re: RequestBuilder with FireFox

2009-08-25 Thread ca eyrie
Thanks for the reply - unfortunately it doesn't seem to help. I changed the routine as follows: public static void sendRequest( String ajaxClass, String requestCommand, PropertyList requestData, RequestCallback requestCallback ) throws RequestException { String url = GWT.getHostPageBa

Re: MVP/GWT question

2009-08-25 Thread Eduardo Nunes
Natan, if you need some help with GIN, feel free to ask in the list. I think that most of the new projects are using GIN as DI framework. On Mon, Aug 24, 2009 at 5:34 PM, Nathan wrote: > > I see where you're going, with that gwt-mvp-sample code.  With GIN, > you don't even need to think about my

Re: How to set Font style for full application

2009-08-25 Thread Parvez Shah
I am sorry I was not clear in stating my problem. I did set the css property . i tried setting in the body body{ } i tried setting in the EntryPoint class in my application EntryPoint load the main panel and main panel hold all the other subsequent widgets. I tried to set it in main panel. only

Re: GWT 1.7 "Crash" while Compiling HistoryImplTimer.java

2009-08-25 Thread Lucas Neves Martins
Yeah, you're right. I don't know how this happened, but I had duplicates of my gwt libs on the classpath. Probably because I was importing the 1.6 jars individually, and the 1.7 was being imported as a User Library. Just removed the old ones and it worked. Thanks Chandel! On 31 jul, 14:54, Su

Re: GWT events not firing

2009-08-25 Thread John (Eric) Hamacher
It looks like the presence of "public void onBrowserEvent(Event event) {}" was preventing the events from firing. Thanks! On Aug 25, 8:42 am, "John (Eric) Hamacher" wrote: > Sorry, GWT 1.7 > > On Aug 25, 8:39 am, (श्री) GNU Yoga wrote: > > > On Aug 25, 6:06 pm, badgerduke wrote: > > > > Hell

Re: Facing a Problem with tomcat deployment

2009-08-25 Thread Rahul
Hi, I also faced this problem whenever u compile your gwt project, everything from the war directory is deleted. So i believe your are accessing a file in ur gwt code which was earlier in the gwt directory but now its not there just copy the files in the war directory again and the problem would b

Re: Loading entrypoint into an IFRAME?

2009-08-25 Thread Jason Essington
By default, GWT already loads itself into an iFrame. I believe that the XS linker does that as well. You don't need to do anything extra. -jason On Aug 24, 2009, at 3:05 AM, John O'Conner wrote: > > I've searched the GWT discussion group, but I haven't found an answer. > As a newb with GWT, I

Re: How to set Font style for full application

2009-08-25 Thread Christian Goudreau
It's because the default style sheet from gwt component load before yours. I also had that issue, and putting my own stylesheet in the public folder of before everything in the CSS Stylesheet wasnt doing anything. So, I don't remember the URL, but in Google Docs, they say that if you want to cust

Re: How to set Font style for full application

2009-08-25 Thread Christian Goudreau
Huh, I made a little errata. Google stylesheet load AFTER yours. So it override your own definition. On Tue, Aug 25, 2009 at 10:32 AM, Christian Goudreau < goudreau.christ...@gmail.com> wrote: > It's because the default style sheet from gwt component load before yours. > I also had that issue, an

Re: Facing a Problem with tomcat deployment

2009-08-25 Thread Rahul
Hi, I also faced this problem whenever u compile your gwt project, everything from the war directory is deleted. So i believe your are accessing a file in ur gwt code which was earlier in the gwt directory but now its not there just copy the files in the war directory again and the problem would b

Complex response after submit a FormPanel - How to

2009-08-25 Thread Zé Vicente
Hello all, This thread is about the result we get back after we submit a FormPanel. I'm using a FormPanel + FileUpload in order to upload photos in my GWT app. When I submit the form, there is a servlet that takes care of the request and saves the image on server side. I also have an object call

Re: Complex response after submit a FormPanel - How to

2009-08-25 Thread Manuel Carrasco Moñino
You can read and process the server's response. In this string your server can write the information your client needs using text, xml or json and you can parse it using regular expresions, com.google.gwt.json.JSON or com.google.gwt.xml.XML. SubmitCompleteHandler onSubmitFormCompleteCallback = new

Re: Photo album

2009-08-25 Thread Manuel Carrasco Moñino
This is a simple example to resize and change the format of an image in the server side. I hope it helps you Manolo Carrasco import java.awt.Graphics; import java.awt.Image; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO; impo

Re: RequestBuilder with FireFox

2009-08-25 Thread Rahul
Hi, I am also facing problem with RequestBuilder with Firefox. It is not working with Chrome also. But it works fine with IE. I am using requestbuilder to parse my xml files on the server and generate an UI from it. In firefox and chrome i do not get any output, i.e. the UI any suggestions how sh

Re: Complex response after submit a FormPanel - How to

2009-08-25 Thread Thomas Broyer
On 25 août, 16:09, Zé Vicente wrote: > Hello all, > > This thread is about the result we get back after we submit a > FormPanel. I'm using a FormPanel + FileUpload in order to upload > photos in my GWT app. > > When I submit the form, there is a servlet that takes care of the > request and save

Re: Complex response after submit a FormPanel - How to

2009-08-25 Thread Zé Vicente
Sounds good to me! I am used to the rpc calls and I did not work with json yet. Seems that I have to do it! Thank you both for your time! Regards, Zé Vicente On 25 ago, 17:12, Thomas Broyer wrote: > On 25 août, 16:09, Zé Vicente wrote: > > > > > > > Hello all, > > > This thread is about the r

Re: Creating and Importing GWT Independent Modules

2009-08-25 Thread Thomas Broyer
On 14 août, 15:48, Claudemir Todo Bom wrote: > Is there a way to develop a reusable library side-by-side with another > project? without using any jars? > > for example, i have a GWT in package com.example.application.client > everything worked on it... then I added a new package to my eclipse

Re: GWT and Spring

2009-08-25 Thread Dave
Very nice, thank you! On Aug 24, 11:43 am, Alec wrote: > On my website,http://minetats.com, I have another example on how one > could use GWT and Spring together - a menu-driven web application. I > use commands on both client and server sides. On the server, I use > ServiceLocatorFactoryBean as

why xml manipulations fails on server

2009-08-25 Thread Rahul
Hi, I am getting an xml document as string from my client to the server. On the server i want to declare a document and want to manipulate the contents from the client, but whenever i am using Document or XMLParser, my server code fails? Does anyone knows the reason why any xml manipulations are

Re: Loading entrypoint into an IFRAME?

2009-08-25 Thread Manuel Carrasco Moñino
GWT code compiled with the standard linker is in an iframe but the RootPanel and widgets are in the original document. You could hack and redefine the RootPanel pointing to the iframe's document but I dont think this is a good idea because you should to redefine $wnd, $doc and write several JSNI li

z-index in MenuBar

2009-08-25 Thread osquitranki
Hi, I have a MenuBar. I need put the z-index high for not disappear hers MenusItems. I have try with the css MenuBar m = new MenuBar(); m.setStylePrimaryName("menuBarC"); .menuItemC { font-size: 9pt; cursor

Re: XMLParser return carriage

2009-08-25 Thread Rahul
Hi, First of all thanks a lot for the above posts because finally i found some information about the problem i am facing. I am not still not clear with the CDATA issue. Here is what i want to do : I am a big xml file, which i read from the client and i manipulate it a little. On the client i ne

Re: Adding white spaces to my xml

2009-08-25 Thread Rahul
Hi Dean Thanks a lot for replying The link you gave me made me more understand about the problem i am facing. But i am facing an problem presently here, all this code i need to write at the server side. I am trying to create an Document in which i can parse my string which i receive from the clie

shop in gwt

2009-08-25 Thread jamer
Hi group I would like to make a virtual store and have some questions Is it a good idea to do it all in GWT? Do I believe all as a single page or several? Do I believe in another programming language and use GWT for only specific widget? How can I do that when you click each option to load a modu

Re: z-index in MenuBar

2009-08-25 Thread Manuel Carrasco Moñino
This works for me. .gwt-MenuBarPopup { z-index: 2; } Manolo Carrasco On Tue, Aug 25, 2009 at 5:30 PM, osquitranki wrote: > > Hi, > > > I have a MenuBar. I need put the z-index high for not disappear hers > MenusItems. > > > I have try with the css > >MenuBar m = new MenuBar

Re: Photo album

2009-08-25 Thread mars1412
something I do, is to use a Java-Applet that rescales the users images on the client side. pros: * rescaling is done on the client side: so you only transfer the smaller rescaled version * but if you also want thumbnails you have to compute them on the server again * the applet offers conveni

Re: Complex response after submit a FormPanel - How to

2009-08-25 Thread mars1412
just an alternative, if you don't want to go the clean, sophisticated way: you could simply return the id and then start an RPC to get the Image object for this id this is of course nasty, because you need another roundtrip to the server - but if you need a quick and easy way. well.. On Aug 25,

Re: RequestBuilder with FireFox

2009-08-25 Thread Radu Grigore
On Aug 25, 2:49 pm, ca eyrie wrote: >         requestBuilder.sendRequest( data, requestCallback ); Try to add Window.alert(data); before this line and see if it contains what you expect (that is, something of the form "a=b&c=d&f=e"). If it's not confidential you can try to post it here too so

Timetonote - a GWT powered CRM

2009-08-25 Thread Lucian Baciu
Hi Everyone, My name is Lucian and I just finished developing my product, a CRM, built using GWT and wanted to share it with you all: http://www.timetonote.com/. You can sign up for free, and give it a try. Thanks --~--~-~--~~~---~--~~ You received this message b

Re: blank page and other weirdness after upgrade, 1.5 to 1.7

2009-08-25 Thread Rajeev Dayal
Hey Dave, A couple things to try: -Blow away the mmclient subdirectory located under your war directory -Clear your FF3 cache Try that out and see if that helps. If not, post back here and we'll dig deeper. Rajeev On Mon, Aug 24, 2009 at 2:36 PM, Dave wrote: > > Hi all, > > I'm getting seve

importing apps in RAD

2009-08-25 Thread JR
Hi, RAD is powered also by eclipse. Can I use RAD to play around with the sample codes here? Thanks, JR --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email

Script tag in GWT

2009-08-25 Thread mijaelovic
Hi people, I am new to this group, I have started working with GWT and JBoss and I have to say I am really happy with the result. I have a question about Google Gadgets to be included in my GWT application. Currently when you go the google gadgets page you can get the code of it in a form of a scr

date.compareTo() method doesn't work

2009-08-25 Thread pipo
it seems the method Date.compareTo(Date myDate) does not work with the compiled version on GWT client side code but work perfectly in Web Hosted mode. Is it normal or is it a bug? Instead of compareTo() I compare two dates using getTime() method. --~--~-~--~~~---~--~-

Re: Adding white spaces to my xml

2009-08-25 Thread Frank Argueta
Perhaps you should learn Java and also learn how to solve your problems instead, especially if its urgent to you - which does not make your issue urgent to anyone else. Please stop posting questions not related to GWT on this forum. On Aug 24, 11:50 pm, Rahul wrote: > Hi, > I got another writer

Re: why xml manipulations fails on server

2009-08-25 Thread Manuel Carrasco Moñino
I don't know which library are you using in server side, but If you are using gwt xml manipulation classes in server side they don't work because they uses browser's native methods. Manolo Carrasco On Tue, Aug 25, 2009 at 4:56 PM, Rahul wrote: > > Hi, > I am getting an xml document as string fr

Re: SmartGWT (or any other GWT-compatible JAR) integration

2009-08-25 Thread CI-CUBE
strange thing... I've one and the same project directory in an obvious identical setup; in one environment A the SmartGWT types are correctly resolved, in the other (B) not. Moving the project to A - yeah, everything works, moving it to B - errors - this can be repeated as you want... Is there an

RichText and getCursorPos()

2009-08-25 Thread Allen Firstenberg
I realized today that the RichTextArea class does not have a getCursorPos() or setCursorPos() method, nor any of the selection or related methods that are in TextBoxBase. Does anyone know of a workaround for this? Bug 2425 seems to imply there is not. --~--~-~--~~~---

Re: why xml manipulations fails on server

2009-08-25 Thread Rahul
Hi, Thanks for replying I am using import org.w3c.dom.Document; for creation of an document and its failing On Aug 25, 12:28 pm, Manuel Carrasco Moñino wrote: > I don't know which library are you using in server side, but If you are > using gwt xml manipulation classes in server side they don'

Re: GWT1.6.4 multiple module and gwt-ext

2009-08-25 Thread Sumit Chandel
Hi Vlad, I actually misspoke in my previous post - including the two independently compiled modules in your host HTML page should work, although the ideal would still be to combine the two to avoid the redundant boilerplate code from being downloaded a second time and to take advantage of optimizat

Re: XMLParser return carriage

2009-08-25 Thread Christian Goudreau
First, what server side technologie do you use ? PHP ? Java ? Other ? The only suggestion that I have, is to rebuild your document when you receive it on your server. You'll do a copy, and them, overwrite the other one. When using XML libraries from PHP or Java, I always end up with something alre

Re: Adding white spaces to my xml

2009-08-25 Thread Rahul
Hi, I don't understand how come this issue is not related to gwt.GWT parser which is import com.google.gwt.xml.client.XMLParser; has a function to remove white spaces so its common sense for someone to think that there are predefined functions in GWT which does the reversed functionality of that,

com.google.gwt.dom.client.Element method getPropertyInt not working? Is it a bug?

2009-08-25 Thread myapplicationquestions
Hi All, I am developing a widget which has an hyperlink as given below TEST1 In onPreviewNativeEvent i have the following code snippet if (event.getTypeInt() == Event.ONCLICK) { Element loElement = Element.as(loTarget); if(loElement.getTagName().equalsIgnoreCase("A"))

Re: JavaScriptObject won't load - 32 bit Java on Win64.

2009-08-25 Thread Jason Morris
Hi Ben, You are trying to use GWT client-side classes on the server-side. These classes are supposed to be compiled to JavaScript, not to be run in a Java VM. You will need to either use JSON.org classes, some other JSON classes, or spit-out the JSON as a String directly. Your choice ;) Tha

Re: Creating and Importing GWT Independent Modules

2009-08-25 Thread Claudemir Todo Bom
On Aug 25, 12:17 pm, Thomas Broyer wrote: > On 14 août, 15:48, Claudemir  Todo Bom wrote: > ...or you can add your library's source folder as a linked source > folder in your application project (no need to import the library's > project in your app's project then; and the Google plugin takes

Re: Hosted Browser problem

2009-08-25 Thread Sumit Chandel
Hi Karthik, My guess is that you have a firewall or other security measure in place that is blocking the hosted mode process from starting the embedded Jetty server on port 1675. It's also possible that another service is already running on 1675, and so the hosted mode process is being denied acces

Re: RequestBuilder with FireFox

2009-08-25 Thread ca eyrie
Thanks, yes I've tried that and it looks fine. I have also tried explicitely setting the data to a=b&c=d but still not joy. I am running GWT 1.5 - do you think this could make a difference? On Aug 25, 9:10 am, Radu Grigore wrote: > On Aug 25, 2:49 pm, ca eyrie wrote: > > >         requestBuilde

Re: Deferred binding for mobile browser support

2009-08-25 Thread Sumit Chandel
Hi Julian, It may seem redundant, but it's actually required in order for deferred binding to work. The PopupImpl class is instantiated via a GWT.create() call, which makes the compiler lookup deferred binding rules for the type it's trying to create. If we were to instantiate directly as PopupImpl

Problem with

2009-08-25 Thread Joseph Arceneaux
I am trying to create an XML document in GWT. I import import com.google.gwt.xml.client.Document, but the moment I make a declaration like "Document mDocument;" the runtime generates the following errors: [ERROR] Errors in 'file:/C:/Documents%20and%20Settings/rxgj5098/My%20Documents/Eclipse-worksp

GWT on IPod Touch - Page Rendering Hangs

2009-08-25 Thread Tim Martens
I'm working on a small GWT web app to run on my IPod Touch (version: 2.2.1 (5H11)). The problem is that rendering of the page hangs when I type into a TextBox and update a Label at the same time. Below is some sample code that reproduces the issue: public class IPodKillTest extends VerticalPane

Long response time GlassFish GWT

2009-08-25 Thread Šobis
Hi guys, we have a problem with application, which is written in GWT. We made some kind of Video on demand portal, which is deployed on Glassfish server. We are doing stress testing (using qTest tool) and we have found out, that application on server (server side code) is executing quite fast (l

Re: Plain OO question

2009-08-25 Thread Marcelo Emanoel B. Diniz
I would implement something diferent... each Course would have a CourseCalculator for instance... and then diferent types of calculator could be injected... public interface CourseCalculator { public Double calculate(); } public class Course { private CourseCalculator calculator;

Re: Incorrect tab spacing (GWT 1.5 & IE6)

2009-08-25 Thread ToddP
Never mind. The tabpanel is picking up an unintended style from our stylesheet that is causing the problem. On Aug 24, 6:09 pm, ToddP wrote: > All, > I'm using GWT 1.5's tabpanel.  I add a series of different width tabs > (each tab contains a scrollpanel).  When finished, and viewed in IE6, > I

Re: Adding white spaces to my xml

2009-08-25 Thread Rahul
Hi anywaz i am able to solve the problem thanks to Dean reply. If anyone is facing the same problem they can directly contact me :) On Aug 25, 1:27 pm, Rahul wrote: > Hi, > I don't understand how come this issue is not related to gwt.GWT > parser which is import com.google.gwt.xml.client.XMLPar

How to run hosted mode on chrome

2009-08-25 Thread anjolight
Hi, I'm getting a javascript error on chrome 2. This error only happens in Chrome and not on IE7/FF3. In order to debug this, I would like to run a hosted mode on Chrome but I am having a bad day researching how to do it. There talks about OOPHM but I'm not sure if I can use this on Chrome. As of

IE bookmark and GWT cache.html?

2009-08-25 Thread abby
I wonder if anyone has an idea about what's going on. I have bookmarked my gwt app URL and when i redeployed a new version on server, IE got a 302. I looked at fiddler out put and see that it's using cached files, so i promptly delete the temp files, cache and everything else from the browsing

Re: SuggestBox problem...any work-around to get the selection text when one is chosen?

2009-08-25 Thread ThomasWrobel
I meant googles home page, of course. Clearly googles moto is having its desired effect ;) On Aug 25, 10:24 pm, darkflame wrote: > Ive run into this > issue;http://code.google.com/p/google-web-toolkit/issues/detail?id=1634 > > Anyone know any work-arounds? > The usefulness of the suggest box is

Re: SuggestBox problem...any work-around to get the selection text when one is chosen?

2009-08-25 Thread Isaac Truett
Could you use a SelectionHandler instead? On Tue, Aug 25, 2009 at 4:24 PM, darkflame wrote: > > Ive run into this issue; > http://code.google.com/p/google-web-toolkit/issues/detail?id=1634 > > Anyone know any work-arounds? > The usefulness of the suggest box is kinda crippled without one. I can >

Re: How to run hosted mode on chrome

2009-08-25 Thread Thomas Broyer
On 25 août, 21:13, anjolight wrote: > Hi, I'm getting a javascript error on chrome 2. This error only > happens in Chrome and not on IE7/FF3. In order to debug this, I would > like to run a hosted mode on Chrome but I am having a bad day > researching how to do it. There talks about OOPHM but I

Re: XML to Pdf

2009-08-25 Thread Thad
My application uses iText (http://www.lowagie.com/iText/) to create in memory PDF documents on the server which are then sent to the client. On Aug 24, 10:02 am, Rahul wrote: > Hi, > Is there any project in gwt which would help me create xml reports to > pdf > if there isnt, can anyone guide me

Re: SuggestBox problem...any work-around to get the selection text when one is chosen?

2009-08-25 Thread ThomasWrobel
'SelectionHandler didnt seem to work at all. I dont think we are supposed to be able to use that with suggestbox; "Note that there is no method to retrieve the "currently selected suggestion" in a SuggestBox, because there are points in time where the currently selected suggestion is not defined.

SuggestBox problem...any work-around to get the selection text when one is chosen?

2009-08-25 Thread darkflame
Ive run into this issue; http://code.google.com/p/google-web-toolkit/issues/detail?id=1634 Anyone know any work-arounds? The usefulness of the suggest box is kinda crippled without one. I can only think of some timed-trigger myself, but thats rather crude :-/ I just want to be able to use the box

Re: SuggestBox problem...any work-around to get the selection text when one is chosen?

2009-08-25 Thread Isaac Truett
> 'SelectionHandler didnt seem to work at all. > I dont think we are supposed to be able to use that with suggestbox; Care to elaborate on that at all? It works fine for me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: date.compareTo() method doesn't work

2009-08-25 Thread Thomas Broyer
On 25 août, 16:52, pipo wrote: > it seems the method Date.compareTo(Date myDate) does not work with the > compiled version on GWT client side code but work perfectly in Web > Hosted mode. That's because hosted mode uses the pure-Java Date while web mode ("compiled version") uses a JavaScript e

Cross site requests (Ape

2009-08-25 Thread Igor Klimer
Hi all, I wanted to use the Ape Server (http://www.ape-project.org/ an Ajax Push/Comet/Call-It-How-You-Want server) in my app, but I've run into some troubles - mainly the server communicates with subdomains of my main domain: example.com <- main site (communicates with [0-9].ape.example.com) ape

Re: NetBeans6.5 and rename-to="module name"/DynaTable sample 1.7.0

2009-08-25 Thread Braheem Sikiru
Hi, I have been using Netbeans for my GWT developments for quite some time now. Though I run my builds with Maven. Douglas wrote: > Hello All, > >It seems that a lot of you use Eclipse to build apps in GWT but I > am using NetBeans 6.5 and the GWT version 1.7.0 and I need help to > understa

Is there a recommended way to do header and footer templates

2009-08-25 Thread Kevin Stembridge
Hi all, Just wondering if there is a recommended way to provide header and footer templates with GWT. Its been a while since I did any web development but back in the day I'd be using something like Tiles with Struts or Sitemesh for JSP applications. It looks as though I could still use Sitemesh

Re: SuggestBox problem...any work-around to get the selection text when one is chosen?

2009-08-25 Thread ThomasWrobel
Nope, my mistake, it does work. For some reason I was importing the wrong selectionhandler class! Correcting that it now works. On Aug 25, 11:05 pm, Isaac Truett wrote: > > 'SelectionHandler didnt seem to work at all. > > I dont think we are supposed to be able to use that with suggestbox; > > C

Re: supported DOCTYPE?

2009-08-25 Thread Sumit Chandel
Hi r4nd, I think the question to ask is not which doctypes GWT officially supports, but which browser render modes does GWT support. The answer to that question is both quirks mode and standards mode, with standards mode support being the most recent. That said, doctypes have the effect of trigger

Re: Drawing Lines

2009-08-25 Thread GTM
Thanks. Am I allowed to use the code? I am trying to use it and I get this error: [ERROR] Line 49: No source code is available for type pl.balon.gwt.diagrams.client.connector.UIObjectConnector; did you forget to inherit a required module? On Aug 25, 4:58 am, (श्री) GNU Yoga wrote: > hi > > On

Re: Getting the RichTextArea to expand as you type

2009-08-25 Thread Arthur Kalmenson
Yes, that is the way to do this. -- Arthur Kalmenson On Thu, Aug 20, 2009 at 2:09 PM, Yossi wrote: > > Someone please answer, it is very important for me. > I need it to expand only vertically and not horizontally > > I am thinking of adding an event listener for the keyboard and mouse > and o

BlackBerry Compatible

2009-08-25 Thread Tracy
I'm new to Google Groups so my apologies if this question was double posted... Does anybody know if a GWT app can be browsed with a Blackberry? Is the BlackBerry browser able to handle the generated JavaScript? Thanks in advanced. --~--~-~--~~~---~--~~ You recei

Re: 求助,无法在eclipse3.5中导入samples里的项目

2009-08-25 Thread Roy
It turns out even as big as Google can't do a good job at translating... This guy was basically asking if there are many Chinese using GWT. Is there a policy that no language other than English can be used in this group? If so, I would suggest Google auto inserting the translated English text be

Re: Problem with

2009-08-25 Thread Joseph Arceneaux
The magic sauce turned out to be adding: to gwt.xml On Tue, Aug 25, 2009 at 11:25 AM, Joseph Arceneaux wrote: > I am trying to create an XML document in GWT. I import import > com.google.gwt.xml.client.Document, but the moment I make a declaration like > "Document mDocument;" the runtime gener

  1   2   >