Re: long in GWT 1.5

2008-12-19 Thread Kathy
Yes, I know it, but I thought if I'm using the type Long in the JSNI method it would be ok because the docs says:" For values meant to be passed through unchanged to Java code, wrap the value in a Long". On the client side this works, but what do I have to do to send the Long values retrieved from

Re: GWT RIA s ?

2008-12-19 Thread Miles T.
Hi Riyaz, Unfortunately, you cannot find all these features in one framework. As Arthur said, there are some things in gwt-incubator. Some others are in GWT-WL, GWT-SL, Ext GWT, gwt-ext, SmartGWT, etc... Examples : gwt-incubator : Logging GWT-SL : Spring integration Ext GWT (this is a lib I use

Re: Waiting on multiple RPC calls

2008-12-19 Thread stephen.sm...@paretopartners.com
Thats exactly the thing i need!!! Thanks :) On Dec 18, 11:17 pm, Dobes wrote: > Hi Stephen, > > I had a lot of scenarios like this, so I added some utility classes to > help.  For example, I have a class called AsyncCallbackGroup which > allows you to wait on multiple parallel RPC calls and the

Re: Calling of business method from Client

2008-12-19 Thread Arul
Hi, Yes, it worked as the post by using Frame. Thanks Arul On Dec 18, 10:00 am, gregor wrote: > I've never done that, Arul, but I believe displaying a PDF in GWT is > straight forward using a Frame widget  (that could be the contents of > a pop-up) *providing* the user has a PDF viewer plug-i

New release of the GWT project Tatami

2008-12-19 Thread vgrassaud
Hi We are really excited to announce the release of Tatami v1.3. Visit the homepage to give it a try, see the demos... http://code.google.com/p/tatami/ We will be glad to have your feedback! Not exhaustive change list: - License switched from LGPL only to LGPL or Apache License or BSD - Now r

Poor performance for simple query - seems to be in the deserialisation mostly

2008-12-19 Thread John Lonergan
I have been evaluating GWT but have come up against a problem I cannot solve/understand. I have a little service method that returns a list of 'person data' I am finding that whilst the server side take around zero milli-secs to handle the query (100-200 rows) the client is taking seconds before

cannot execute /usr/bin/firefox.

2008-12-19 Thread Venkat
Hi, i tried to run a GWT program using netbeans in Linux , i am getting err like this "cannot execute /usr/bin/firefox. check external browser configuration, its the error comes in netbeans" I googled and got reference from this web site http://www.nabble.com/Cannot-execute--usr-bin-firefox--N

How to cancel file uploading from client side

2008-12-19 Thread jazzka
Is there any good ways to cancel file uploading from client side. I am using FileUpload with FormPanel and when the user open file from "Choose file" dialog it's automaticly start loading file to server side. If the file is really big and user have low upstream the loading will take too much time

Re: Directions load() method error

2008-12-19 Thread Eric Ayers
Yes, the code that is published as a sample app on the public site still works, as does my current project. Can you run the Directions examples at: http://gwt.google.com/samples/HelloMaps-1.0.2/HelloMaps.html Could it be that you are running Directions.load() more than once in parallel? Only

Re: Link to documentation broken?

2008-12-19 Thread dduck
> Here's the link for the 1.5 wiki doc--which includes the existing > tutorial, the Developer's Guide, the Reference Guide (such as the API > doc). The topics are in the process of being > reorganized.http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=goog... When I click your link

Re: As Window.confirm()

2008-12-19 Thread obesga
Just to know, I expected that Thaks On 18 dic, 16:32, "Isaac Truett" wrote: > No, you can't do that. Why fight the asynchronous tide? > > On Thu, Dec 18, 2008 at 10:07 AM, obesga wrote: > > > Hello ! > > > I want to ask if there's a method to > > > Window.confirm() stops the execution until th

Selection of cells in Flex Table

2008-12-19 Thread Fameeda
Hi, We have a flex table and require user to be able to select cells in it. Multiple cells are also to be selected. Once selected we need to do some operation on selected cells like merging them. Is it possible to select cells either by mouse/keyboard. Can someone please guide on how we can achie

Re: Directions load() method error

2008-12-19 Thread Eric Ayers
I've written 3 new unit tests and have been unable to reproduce the problem from here. On Fri, Dec 19, 2008 at 7:17 AM, Eric Ayers wrote: > Yes, the code that is published as a sample app on the public site still > works, as does my current project. Can you run the Directions examples at: > >

Re: cannot execute /usr/bin/firefox.

2008-12-19 Thread olivier FRESSE
Maybe a silly question, but does /usr/bin/firefox. exists ? There is an environment var called GWT_EXTERNAL_BROWSER which drives the external browser used by the GWTShell. But I'm not sure to understand what you're trying to do. Do you want to launch the hosted browser, or just open an URL from NB

Re: Poor performance for simple query - seems to be in the deserialisation mostly

2008-12-19 Thread gregor
Hi John, It sounds like you might be testing this in hosted mode. If so, be aware that hosted mode performance, especially where RPC is concerned, bears no relationship whatever to deployed performance. If so, deploy your example and I think you will be amazed at the difference. Note building gri

Re: How to cancel file uploading from client side

2008-12-19 Thread olivier FRESSE
I'm afraid you can't do that beacause of the JS security restriction... Except by clicking on the "Stop" button of the browser 2008/12/19 jazzka > > Is there any good ways to cancel file uploading from client side. I am > using FileUpload with FormPanel and when the user open file from > "Choos

refresh problem

2008-12-19 Thread arnaud
Hi every one i have a gridPanel that prints a task.When i open a task this task is opened in the same window:window.open("url","_self",null);i want to return to the previous panel when i click on the button cancel of the new panel and have the old task because when i returned to previous panel i

Re: GWT RIA s ?

2008-12-19 Thread Arthur Kalmenson
> So you've assumed responsibility for being the GWT saviour by > educating these developers and saving their project? I'm not really assuming any responsibility, I'm just mentioning that there are draw backs to using these libraries. > What makes you so qualified? I've had to abandon and rewr

Re: 2 GWT modules on the same HTTP page. How do I distinguish between the Posted values?

2008-12-19 Thread Arthur Kalmenson
Russell, it's kind of hard to understand what you're trying to say. Why don't you just package the values of the ListBoxes in an object and gwt-rpc it to the server? -- Arthur Kalmenson On Thu, Dec 18, 2008 at 11:21 AM, russell wrote: > > Hi, > > I have written a dynamic drop down list in GWT

Re: tomcat deploy failed

2008-12-19 Thread rizla
don't works :( in the package server we have two servlets...LoginServiceImpl adn ItinerarioSeviceImpl... this is my gwt.xml file .. and the web.xml file is : http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaL

Re: Selection of cells in Flex Table

2008-12-19 Thread Kevin Tarn
You need to call FlexTable.addTableListener, and so your operations in onCellClicked. Kevin On Fri, Dec 19, 2008 at 9:13 PM, Fameeda wrote: > > Hi, > > We have a flex table and require user to be able to select cells in > it. Multiple cells are also to be selected. Once selected we need to > do

Re: ImageBundle question

2008-12-19 Thread Adam T
Maybe your code has some issues - how are you trying to display the different images? On 19 Dec, 07:14, alided wrote: > I'm trying to use ImageBundle, but it doesn't work correctly. I put > different size images into the bundle and when i try to use image it > is always displays biggest image in

Re: Dynamic Radio Buttons

2008-12-19 Thread Arthur Kalmenson
Are you adding the panel to the RootPanel? If not, it won't appear in the browser. -- Arthur Kalmenson On Thu, Dec 18, 2008 at 6:08 PM, fatjack1...@googlemail.com wrote: > > Hi, > > I wonder if anyone can help me. I am trying to create dynamic radio > buttons i.e. set the number of Radio butt

Re: GWT RIA s ?

2008-12-19 Thread David Hoffer
Arthur, I see you have put SmartGWT in the JS wrapper camp, is this the case? I haven't heard anything about this library before and had just stumbled across it. Do you have a web site (or something) where we can find out which GWT libraries are pure GWT and okay to use? IMHO, although I know y

Re: how can i use external jar in gwt?

2008-12-19 Thread Arthur Kalmenson
Furthermore, keep in mind that it is possible to package existing code in a format that GWT can use (just add a .gwt.xml file that has tags for where the source is and repackage the jar file). However, you can only use libraries that are being emulated by GWT: http://code.google.com/docreader/#p=

Re: GWT RIA s ?

2008-12-19 Thread Arthur Kalmenson
Hi Dave, > I see you have put SmartGWT in the JS wrapper camp, is this the case? > I haven't heard anything about this library before and had just > stumbled across it. SmartGWT is in fact a JS wrapper of the SmartCient JS library (http://www.smartclient.com/) > Do you have a web site (or somet

Re: History.newItem() delayed in IE

2008-12-19 Thread todd.sei...@gmail.com
I have had similar response time issues with IE. In my development platform I was seeing extremely good responsiveness from all browsers (Chrome, Firefox, and IE). But later when we tested with a few other people in the company we found that performance on IE was terrible. It was taking 1-2 seco

Re: GWT RIA s ?

2008-12-19 Thread Rob Smith
There you go again sounding like a broken record. You really are quite thick headed aren't you? If you take pleasure in constantly dissing other libraries, I'll do the same and reply to your every post saying that you are full of it. Deal? You might make yourself more useful if you try to answer

Re: GWT RIA s ?

2008-12-19 Thread David Hoffer
Thanks I will check out gwt-mosaic again. I tried it recently and it couldn't be used because it was compiled with JRE 1.6, I tried recompiling with 1.5 but ran into issues. Hopefully this will be updated soon. -Dave On Fri, Dec 19, 2008 at 7:32 AM, Arthur Kalmenson wrote: > > Hi Dave, > >>

Re: Waiting on multiple RPC calls

2008-12-19 Thread rakesh wagh
performance: Are you acquiring handles to three different RPC services for your 3 calls? If yes, you can improve performance by clubbing them into a single call. If you do a little client side profiling, you will realize that creating a async reference on client side is a not a very quick operatio

Re: GWT RIA s ?

2008-12-19 Thread Miles T.
Hi Dave, gwt-ext and SmartGWT are wrappers of javascript libraries (respectively ExtJS and SmartClient) Ext GWT (aka gxt) and gwt-mosaic are pure GWT libraries (the former is hosted by ExtJS guys and trying to get the same features as ExtJS, that's why there is "Ext" in the name). @Riyaz : I for

Need for a great GWT GUI library

2008-12-19 Thread Juan Backson
Hi, I have been using GWT for almost 6 months now. In the past six months, I have tried migrating code from pure GWT to GWT-EXT and then to Smart-GWT. They all have drawback: GWT - no good looking widget GWT-Ext - very buggy and GPL licensing Smart-GWT - slow and memory intensive Is there any

Re: New release of the GWT project Tatami

2008-12-19 Thread rakesh wagh
How does your js loading happen? For example if I need to use just gfx in my application, will tatami load only the gfx related dojo js files? I have not played around with tatami. We use lot of gfx in our application. Will you recommend switching to Tatami... ? Thanks for the release Rakesh WAg

Re: Need for a great GWT GUI library

2008-12-19 Thread David Hoffer
Here! Here! I'm in a similar boat as you...looking for a good pure GWT library. I don't think you will find anything as complete as SmartGWT in the pure GWT space. However you might take a look at http://code.google.com/p/gwt-mosaic/. It seems to have several nice UI elements and is pure GWT.

Re: MessageBox Image issued

2008-12-19 Thread Bakulkumar
Clear Firefox cache, redeploy the application and request. Thanks, Bakul. On Dec 19, 12:27 am, "AMit Pandey" wrote: > Hello I am using the GWT with Ext. > > when i run the code in firefox i am unable to see the images of Messagebox. > that display in gray shade. i also uploaded the screen shot

setCookie problem using IE7

2008-12-19 Thread frank.wyna...@gmail.com
I have the following code : Date now = new Date(); long nowLong = now.getTime(); nowLong = nowLong + (1000 * 60 * 60 * 24 * 10);//10 days now.setTime(nowLong); GWT.log("setting a cookie",null); Cookies.setCookie("regio", "abc", now); This works no problem in

Re: GWT RIA s ?

2008-12-19 Thread Arthur Kalmenson
Rob, > There you go again sounding like a broken record. You really are quite > thick headed aren't you? Perhaps instead of attacking _me_, you can point out where I'm wrong? However, AFAIK they're still JSNI bindings and still don't work well with regular GWT widgets or use the GWT event model.

Re: GWT RIA s ?

2008-12-19 Thread Arthur Kalmenson
Rob, I forgot to mention, are you going to attack GWT developers like Sumit Chandel that point GWT-ext and ExtGWT questions to those project's respective mailing lists? -- Arthur Kalmenson On Fri, Dec 19, 2008 at 10:48 AM, Arthur Kalmenson wrote: > Rob, > >> There you go again sounding like

Anchors / Links within a page

2008-12-19 Thread obesga
Hello everyone ! Just a problem with anchors and IE I've been trying to make a looong GWT page 'navigatable' withih with the classic HTML anchor tag ( something like an index; you'll see it pretty here http://www.echoecho.com/htmllinks08.htm ) Using Peter Blazejewicz code on the forums ( http:/

Re: Anchors / Links within a page

2008-12-19 Thread obesga
/// I don't like to re-post, but here's the complete code of what I'm trying to to */// public class AnchorsPanel extends Composite { private FlowPanel fpLinks; private VerticalPanel verticalPanel; public AnchorsPanel() { verticalPanel = new VerticalPanel();

Re: GWT RIA s ?

2008-12-19 Thread Rob Smith
Pointing users to the appropriate mailing list is absolutely the right thing to do. Sumit already does a good job with this. It's when you add your own unsolicited and biased spin when pointing to the forum that I take issue with. Like library X has nothing to do with GWT and I think they are real

shell fails loading

2008-12-19 Thread ArunDhaJ
Hi, Shell is not starting properly. And when tried viewing in hosted browser throws "HTTP 400 - Bad request" page not found error. It was actually working fine till earlier part of the day... Please help me in resolving the issue. Thanks in Advance ArunDhaJ www.arundhaj.com --~--~-~--~-

Re: tomcat deploy failed

2008-12-19 Thread gregor
Hi rizla, I would return your url mappng in web.xml to: /com.gwt.syncar.Syncar/ItinerarioService for now (assuming that the location of your module file is com.gwt.syncar.Syncar.gwt.xml). I think your problem is likely to be in how you are setting the URL for the RPC call client side. It should

Re: setCookie problem using IE7

2008-12-19 Thread todd.sei...@gmail.com
This same code is working for me in IE7. Is it possible that IE is setup to block cookies? On Dec 19, 10:43 am, "frank.wyna...@gmail.com" wrote: > I have the following code : > >       Date now = new Date(); >       long nowLong = now.getTime(); >       nowLong = nowLong + (1000 * 60 * 60 * 24 *

Re: Anchors / Links within a page

2008-12-19 Thread todd.sei...@gmail.com
Element element = DOM.createElement(""); You would have to create the anchor like this in IE but it does not work for Firefox. On Dec 19, 10:59 am, obesga wrote: > /// I don't like to re-post, but here's the complete code of what > I'm trying to to */// > > public class AnchorsPanel e

Re: Directions load() method error

2008-12-19 Thread prad
Eric, I got it to work. i just did a clean build and compiled and it seemed to resolve the issue. I have one other question. With loadFromWaypoints () the map shows markers for every waypoint. is there a way to avoid all markers except for the start and end? Thanks Pradnya On Dec 19, 8:33 am, Er

Re: Need for a great GWT GUI library

2008-12-19 Thread Mr. Taylor
I understand your pain. I use both GWT and GWT-EXT. I have found most of my issues with GWT-EXT CSS stylesheet not displaying correctly in IE. Maybe someone can post a gwt CSS file that contains better looking widgets out of the box. As far as the slowness goes then you might be better off tell

Re: setCookie problem using IE7

2008-12-19 Thread frank.wyna...@gmail.com
This is really strange... I tested it on different computers (on different locations) and it is not working anywhere on IE7. I am pretty sure it worked in the past. I also logged so I am 100% sure the code gets executed but the cookie just don't get saved (when I visit other websites the cookies g

Re: MapWidget only partially rendering

2008-12-19 Thread milotimbol
I was having the same problem. The use of Deferred command plus the code here http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=FAQ_UIVerticalFillApp worked for me. --~--~-~--~~~---~--~~ You received this message because

GoogleSky

2008-12-19 Thread PawelRog
I'd like to know if there is some API to googlesky in GWT. On sourceforge.net I found GoogleMaps extension for GWT. Is there something like that but for GoogleSky? Maby there is some other Java API for GoogleSky? --~--~-~--~~~---~--~~ You received this message beca

Re: Directions load() method error

2008-12-19 Thread Eric Ayers
On Fri, Dec 19, 2008 at 12:10 PM, prad wrote: > > Eric, > I got it to work. i just did a clean build and compiled and it seemed > to resolve the issue. I'm glad you found a solution! > > I have one other question. With loadFromWaypoints () the map shows > markers for every waypoint. is there

Re: RPC.encode not working

2008-12-19 Thread deanhiller
How does that work? I am doing the above code in a servlet filter so there is no GWT code above the filter. All the GWT code is in the RemoteServlet and ServletFilters run before the RemoteServlet code does. I also want to throw a GwtSessionTimeoutException so I can pass a url for the gwt clien

Re: redirect problem

2008-12-19 Thread deanhiller
So, I added code to my ServletFilter(I didn't feel like getting involved in spring at all), but I could not get the code to work. http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/8444004a667f11fe# I think there is just a simple mistake...anyone know? thanks, Dean On De

Re: how to proxy all the methods in my RemoteServiceServlet

2008-12-19 Thread deanhiller
So, I added code to my ServletFilter(I didn't feel like getting involved in spring at all and wanted to move it up from the GWT servlet to use for all calls), but I could not get the code to work. http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/8444004a667f11fe# I thin

Entrypoint can't access classes in an external jar file

2008-12-19 Thread Smith
All, I have some JPA entity classes in a JAR file and I need both the GWT RPC implemenation servlet and my entrypoint to have access to these classes. However, my service which is placed in the package/server directory can access these classes but the entrypoint class which is placed in packag

Re: Need for a great GWT GUI library

2008-12-19 Thread Dave Ford
I guess I see two separate issues: 1. GWT's stock set of widgets is missing a widget that one may need (like a DatePicker or a ComboBox for example) 2. GWT's stock set of widgets isn't pretty enough (or doesn't match your preferred look and feel) For issue #1: I like the gwt team's focus on cor

Re: GoogleSky

2008-12-19 Thread Eric Ayers
If you use the Google APIs for GWT bindings ( http://code.google.com/p/gwt-google-apis/) you can use sky maps by using the regular Maps API and setting the map type. See: http://gwt.google.com/samples/HelloMaps-1.0.2/HelloMaps.html#Map%20Types and change the map type to "Sky: Visible" (zoom out t

Re: GWT RIA s ?

2008-12-19 Thread Sunit Katkar
I have just started working on a prototype of our application using GWT. Mike Shaffer, here on the list, has been very kind to help with some questions I had about migrating a Struts/JSP UI to a GWT UI. For now I am sticking with the standard GWT widgets. Maybe this is the wrong thread to ask, but

Re: Tree Graph using GWT

2008-12-19 Thread Sunit Katkar
http://code.google.com/docreader/#p=gwt-google-apis&s=gwt-google-apis&t=VisualizationGettingStarted - Sunit Katkar http://sunitkatkar.blogspot.com/ - Android OS Tutorials On Wed, Dec 17, 2008 at 6:33 AM, Paddy wrote: > > Kilkenny, > Life saver! thank you that helped me alot it's exactly what I

Re: setCookie problem using IE7

2008-12-19 Thread frank.wyna...@gmail.com
Even when I create a program only containing public void onModuleLoad() { Cookies.setCookie("godverdomme", "kus men klote", new Date (2010,1,1)); } It doesn't work under IE7 :( Under other browser it works no problem. I tried (and let this try) at different locations. Not a sing

Re: GWT RIA s ?

2008-12-19 Thread Alejandro D. Garin
Hi, I'm using gwt-mosaic in my project. It's really usefull for my development. I like the layout managers, Widgets like WindowPanel (excelent - it's a DialogBox with resizing and header manager). I choose the library because it's pure gwt code (I agree in this point with Arthur) Ale On Fri, Dec

Re: how can i use external jar in gwt?

2008-12-19 Thread benimx85
thank you for your answers. i see some where like my problem and there is solution but i can't understand. adding the inherits to xml file isn't a solution. i think i have to write an other xml file for libraries but how can i write it. i'm researching --~--~-~--~~~---~

Re: How to cancel file uploading from client side

2008-12-19 Thread jazzka
I found one solution. It's not very elegant but seems to do right things. Cancel button executes removeFromParent() for panel that contains FileUpload and FormPanel and replace that with new one. This generates exception on server side but also stops uploading file. On 19 joulu, 15:51, "olivier

send file to browser

2008-12-19 Thread Martin Miethe
Hi Newsgroup, I want to send a file to the client browser (offered as download to the user). The file will be created after a user action and will be stored physicaly on the server. Using traditional JSP, I would set content type and header to the response, read the file on the server and send e

Re: GWT RIA s ?

2008-12-19 Thread Pascal
Rob, I think numerous people have been bitten by the gwt-ext/ext-gwt/name other third party library here. The first two I mentionned especially. I am one of them. I think a lot of people think exactly the same way. Personally, I think it's great thing that somebody takes time to warn people agains

images don't show in IE

2008-12-19 Thread L Frohman
My GWT page displays a bunch of .jpg images, and they display fine in all browsers, except for IE. The URL for the jpg image is a servlet that generates the jpg, so there is no ".jpg" extension. In IE, no images show, either in web or hosted mode. In hosted mode, I set a breakpoint on an onclick

sinkEvents on options in ListBox

2008-12-19 Thread otismo
How can I sink mouse events for options in a list box? I know the browser generates the mouse events on option elements because I've tried it manually, but I can't get it to work within gwt. Ultimately I'm trying to generate tooltips for each item in a listbox. Here's the code that doesn't work

Debugging a project using Netbeans GWT4NB yields an error

2008-12-19 Thread Saj
Hi all, On my 10.5.4 Mac OS X, I am using Netbeans IDE 6.5 with GWT4NB 2.5.0. I have no problems running my GWT application in Netbeans on my Glassfish or Tomcat server. However when I debug my application with server side java, I get the following error: debug-connect-gwt-shell: projectName/nb

Re: setCookie problem using IE7

2008-12-19 Thread frank.wyna...@gmail.com
I think I found the problem but not the solution. When I do a Window.alert of the Date (the expiration date I use) it says : Fri Dec 19 21:21:15 GMT+100 2008 I am guessing that GMT+100 is invalid and that IE fails on it (while Chrome and Firefox find it ok). Anyone who knows something more about

Re: sinkEvents on options in ListBox

2008-12-19 Thread otismo
I should add setTitle(...) won't work for me because my app is a firefox extension that shows in a sidebar, and there's a firefox bug where title tooltips don't show. Also, I'd like to potentially add more functionality to the popup widget. On Dec 19, 12:02 pm, otismo wrote: > How can I sink mo

Converting a GWT Windows Project into a GWT Linux Project

2008-12-19 Thread eduardohi...@gmail.com
Hi, i have a GWT project running on Windows at work, but i use Linux (Debian Lenny) on my home notebook, and i've tried to make it run in Linux, but i have failed. I would like to know what i have to do, for it works in Linux. I'm using Eclipse IDE, by the way. thanks! --~--~-~--~

Re: GWT RIA s ?

2008-12-19 Thread Jason Essington
Hi Sunit The GWT team tries very hard to not introduce breaking changes to the API, but in some cases it is necessary for progress. Sometimes changes that are made (That aren't breaking changes to the core GWT api) unintentionally effect third party libraries, particularly ones that are wra

Re: how can i use external jar in gwt?

2008-12-19 Thread Smith
Hi JR Does that mean we just add a .gwt.xml file to the jar file? In my case, the jar file contains JPA persistent entities. So to me it doesn't make a lot of sense to ad a .gwt.xml file to it. Is that the only option we have? Also, where in the package do I add the .gwt.xml file? It doesn't ha

Programmatically scroll text within textbox.

2008-12-19 Thread evgeniy
My problem is following: I have a TextBox and a 'virtual' keyboard made of Buttons. Each button has ClickListener: ... public void onClick(Widget button) { //update target; textBox.setText(target.getText() + ((Button)button).getText()); } ... The text of TextBox is updated, but if content

skip line with DialogBox / pulando linhas com DialogBox

2008-12-19 Thread cInAction
Olá!!! sou iniciante em gwt e eu estava tentando criar uma dialogbox, somando Strings com mensagens de erro. Mas eu queria que cada mensagem fosse dada em linhas separadas. Entao, no final das strings eu inseri '\r'; em hostmode funciona, porém no browser não. há outra forma de fazer isso ou é um

Re: images don't show in IE

2008-12-19 Thread todd.sei...@gmail.com
Are you doing some thing like response.setContentType("image/jpeg") in your servlet. Perhaps posting some of you servlet might help. On Dec 19, 2:58 pm, "L Frohman" wrote: > My GWT page displays a bunch of .jpg images, and they display fine in all > browsers, except for IE. The URL for the jpg

Re: Programmatically scroll text within textbox.

2008-12-19 Thread todd.sei...@gmail.com
Try setting the cursor position. http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/TextBoxBase.html#setCursorPos(int) On Dec 19, 4:53 pm, evgeniy wrote: > My problem is following: > I have a TextBox and a 'virtual' keyboard made of Buttons. Each button > has

Re: Request Builder problem

2008-12-19 Thread Isaac Truett
You're making an asynchronous request and then you aren't waiting for it to finish. Your getData() method cannot return anything.You have to use the callback to do whatever it is you want done with the data. On Sun, Dec 14, 2008 at 2:32 AM, dhaval wrote: > > Hi guys, > I have searched the forum

Re: send file to browser

2008-12-19 Thread todd.sei...@gmail.com
Keep doing what you have been doing. GWT does not provide anything for file downloading. Just add links to you content in your GWT app. On Dec 19, 2:51 pm, Martin Miethe wrote: > Hi Newsgroup, > > I want to send a file to the client browser (offered as download to > the user). The file will be c

Re: Entrypoint can't access classes in an external jar file

2008-12-19 Thread Isaac Truett
> entrypoint can't find the classes and asks if I forgot to inherit a > module. You did. The module probably doesn't exist, so forgetting it is understandable. You have to define a module that includes your external classes. And any classes they depend on also have to be part of a module (repeat

Servlet Response formatting in IE

2008-12-19 Thread D L H
Hello. I have a Java servlet that reads an xml-based file and sends the contents to my gwt application as an HttpServletResponse. I have the content type set to text/plain in the servlet. On the client side I use event.getResults() inside the onSubmitComplete method of the form handler. Everythi

Re: Converting a GWT Windows Project into a GWT Linux Project

2008-12-19 Thread Isaac Truett
The only thing specific to GWT would be changing references to "gwt-dev-windows.jar" to "gwt-dev-linux.jar". Other then that, it's the usual OS differences -- e.g., file path ('\' vs. '/') and classpath (';' vs. ':') separators. And posting an actual error message that you're encountering might

Re: Request Builder problem

2008-12-19 Thread Jason Essington
Request builder is behaving exactly as expected here ... You should read: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/faca1575f306ba0f/3be719c021aa19bd?pli=1 -jason On Dec 14, 2008, at 12:32 AM, dhaval wrote: > > Hi guys, > I have searched the forum and couldn't fi

Re: send file to browser

2008-12-19 Thread Jason Essington
Yup, open a new window with a location pointing to your existing JSP, and your browser will perform the download, and your GWT app in the main window will not be unloaded. -jason On Dec 19, 2008, at 3:03 PM, todd.sei...@gmail.com wrote: > > Keep doing what you have been doing. GWT does not p

Re: Converting a GWT Windows Project into a GWT Linux Project

2008-12-19 Thread Jason Essington
create two user defined libraries in eclipse Preferences | Java | Build Path | User Libraries One called GWT_USER (pointing to the gwt-user.jar), and the other called GWT_DEV (pointing to the gwt-xxx-dev.jar). you will need to create these on both versions of eclipse (windows and linux). T

Re: images don't show in IE

2008-12-19 Thread L Frohman
Thanks, my servlet: public class ThumbnailServlet extends HttpServlet { private static Log s_logger = LogFactory.getLog(ThumbnailServlet.class); private static final long serialVersionUID = 1L; public void doGet(HttpServletRequest request, HttpServletResponse response)

Re: Entrypoint can't access classes in an external jar file

2008-12-19 Thread Smith
How do I create a module from an existing set of classes? When I try to create a new module in eclipse, it fails maybe because the directory structure is different from the GWT standard. I can't change the direcory structure of these classes that I need. Where do I place the .gwt.xml file? On De

Re: Entrypoint can't access classes in an external jar file

2008-12-19 Thread Isaac Truett
Again, specifics and error messages help. To fabricate an example: If you wanted to include "com.foo.my.java.package.AClass" in a GWT application then you could create "com/foo/my/java/MyModule.gwt.xml" and add the "package" sub-package as translatable source. Like this: That will make all

Re: sinkEvents on options in ListBox

2008-12-19 Thread otismo
Solved. Looks like it actually does work, just not in the gwt hosted mode browser. Also, I added a custom attribute to the option elements that I use to retrieve the tooltip text. To recap: private class TopicsListBox extends ListBox { ... protected void addTopic(TopicLink topic) { addItem

Re: sinkEvents on options in ListBox

2008-12-19 Thread otismo
And... since my onBrowserEvent(Event event) is within the ListBox, I added the following check within onBrowserEvent(...) to only act on option elements and not selects: if (optionElement.getTagName().equalsIgnoreCase("option")) { switch (event.getTypeInt()) { case Event.ONMOUSEOVER:

Unsubscribe

2008-12-19 Thread Martin G
Unsubscribe --~--~-~--~~~---~--~~ 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-w

Re: Unsubscribe

2008-12-19 Thread Qian Qiao
On Sat, Dec 20, 2008 at 13:22, Martin G wrote: > > Unsubscribe Must... resist... posting... the... unsubscribe... kit... on a serious note, please learn to read list message headers, it says in the header: List-Unsubscribe: ,

Re: shell fails loading

2008-12-19 Thread ArunDhaJ
I like to add few points to solve this problem, which I tried exploring. When I changed the Internet explorer proxy setting, it gave "Network Error Code 503". Is there any setting which shell inherits? If so, what are the necessary setting to make this shell run... This problem is really annoying

Re: Stack Panel

2008-12-19 Thread ajay jetti
Try Using .gwt-StackPanelContent tag and use a background:"your-color" for changing the color. --~--~-~--~~~---~--~~ 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-We

Re: shell fails loading

2008-12-19 Thread ajay jetti
check your gwt.xml file and also app.html fileu will know where you are going wrong yours --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Googl