How to prevent default select text in double click

2009-05-25 Thread Suren
Hi All, I dont want the displayed text to be selected when an user double click on any particular cell in my Grid. How can I prevent this? Thanks Suren --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web To

Re: GWT and Java Error .Help Please.

2009-05-25 Thread hezjing
Hi Jeeva I had the same error before (see this thread), and apparently one of the libraries was compiled for Java 1.6. On Tue, May 26, 2009 at 1

GWT and Java Error .Help Please.

2009-05-25 Thread jeeva
i had encounter an error on gwt . i can't find what it means. please give some gudielines. Have look at my error below. adv thxs friends. [ERROR] Failure to load module 'com.gwtbook.Gadgets' java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoad

Re: Silly bug or miracle? FormPanel doesn't send request to server.

2009-05-25 Thread Sunny
Hi there, I'm coming across an identical problem I think. I thought it might have been Firefox caching the request and not sending it, so I added a hidden field into the form that would contain a timestamp in the onSubmit event but it didn't work. Could you please share with me what you found the

Re: GWT best Practices - JS Library Wrappers & Overlay Types

2009-05-25 Thread Bobby
This is the gwt-gdata project http://code.google.com/p/gwt-gdata/. The code auto-generated from the JS Docs is available: http://code.google.com/p/gwt-gdata/source/browse/ I uploaded that code mostly for the sake of pointing to it and getting feedback, there are corrections to be made - though it

Re: GWT best Practices - JS Library Wrappers & Overlay Types

2009-05-25 Thread Bobby
Eric, what is the svn:externals read-only path for the AjaxLoader source? I tried the following with no success (probably because the link is not read-only and i don't have checkout access): ajaxloader http://gwt-google-apis.googlecode.com/svn/trunk/ajaxloader/src/ Bobby On May 20, 5:21 pm, Bo

Re: How FocusListener and KeyboardListener can share the same code?

2009-05-25 Thread Suren
Thanks Jim, It works. I tried putting it inside the tableListener earlier. Thats the reason it didnt work for me :-) Thanks again Suren On May 25, 6:35 pm, Jim wrote: > dataGrid.addTablelistener { >   public void onCellClicked(SourcesTableEvents sender, final int > row,final int cell) { >    t

TabPAnel and getParent()

2009-05-25 Thread mohammed abdelouhab
hi i have a FlowPanel, it containe a TabPAnel this TabPanel containe 2 tab,the bouth tab containe adifferent FlowPanel the question is :Im in the FlowPanel in the first Tab and i want to desable (SetEnbled(2,false)) then how can i get the 2nd tab. thanks a lot ABDELOUHAB Mohammed __

Re: Geting a stack trace?

2009-05-25 Thread Thomas Broyer
On 25 mai, 15:59, dduck wrote: > Hi, > > I have implemented a "trappable command", that will show a popup in > case of an uncaught exception during its execution. It seems that a > stack trace is not available using the normal Java methods - at least > not when run in a browser. Any suggestions

Re: Geting a stack trace?

2009-05-25 Thread Magno Machado
Since your production code will probably be obfuscated, I ask: Will this stack trace be useful? 2009/5/25 Jamie > > You will probably need to make use of JSNI. > Check out hit #1 on googling for "javascript stack trace", > > > http://www.google.ca/search?hl=en&q=javascript+stack+trace&btnG=Googl

Service Data Objects with GWT

2009-05-25 Thread Puneet Agarwal
Hi, I am a big fan of SDO specifications. But while searching for SDO with GWT, I dont find many useful results on google. Shall appreciate if somebody could share if they have tried using SDO along with GWT and their experience about the same, any best practices etc. --~--~-~--~~-

Tutorial Code Simplification

2009-05-25 Thread Hosam Aly
I have been reading through the tutorial, and I saw a piece of code that can be simplified. In "Step 4: Managing Events on the Client" (http://code.google.com/webtoolkit/tutorials/1.6/ manageevents.html), the code sample in the third section (Responding to user events) is as follows: private void

Is there size limitation on data passed thru GWT-RPC?

2009-05-25 Thread Zmitro Lapcjonak
Hi. Our application on server side generates complex data structure which is serialized by RPC class into array with lenght near 37K of chars: responsePayload "//OK[0,82 ],0,4]" value char[37088] Then the response is successfully sent from server (no errors in log files). But on t

Re: Cannot iterate HashSet

2009-05-25 Thread Bruce Hatt
The difference is in how your string is created. I would make a guess that getValue() returns null at some point and the call to toString() generates a NPE type error in javascript. Concatenation like in your second snippet, will create a new string and concatenate the return of getValue(). Null i

Re: IE6 PNG transparency fixes for CSS images

2009-05-25 Thread Kevin Wong
CSS hacks? Ick. But I guess if it's Google they know what they're doing... On May 25, 12:28 pm, Thomas Broyer wrote: > On 22 mai, 05:19, mrpantsuit wrote: > > > I can't seem to get any of the IE6 PNG transparency fixes > > (SuperSleight, > > unitpngfix,http://www.komodomedia.com/blog/2007/11

Re: IE6 PNG transparency fixes for CSS images

2009-05-25 Thread Thomas Broyer
On 22 mai, 05:19, mrpantsuit wrote: > I can't seem to get any of the IE6 PNG transparency fixes > (SuperSleight, > unitpngfix,http://www.komodomedia.com/blog/2007/11/css-png-image-fix-for-ie/) > working in my GWT app. > > (Note that my PNGs are specified in my CSS, so solutions like PNGImage >

Re: Geting a stack trace?

2009-05-25 Thread Jamie
You will probably need to make use of JSNI. Check out hit #1 on googling for "javascript stack trace", http://www.google.ca/search?hl=en&q=javascript+stack+trace&btnG=Google+Search&meta=&aq=f&oq= http://eriwen.com/javascript/js-stack-trace/ Jamie --- Find television broadca

Missing files when enabled Google App Engine SDK after GWT project is created

2009-05-25 Thread hezjing
Hi Eclipse complaints the appengine-web.xml file does not exist when I enabled the Google App Engine SDK after created a GWT project. Here are the steps I performed: 1) File->New->Web Application Project Check use Google Web Toolkit Uncheck use Google App Engine Finish 2) Right click project->G

Re: IE6 PNG transparency fixes for CSS images

2009-05-25 Thread Kevin Wong
Thanks. No, I couldn't seem to get iepngfix to work either. I must've been doing something wrong. ImageBundles are not an option, as the images are specified in the CSS. I got a solution working where I use a IE6 specific CSS file that references GIF versions of my PNGs, and apply it like so:

Re: Web app classpath problem

2009-05-25 Thread hezjing
This problem is discussed in http://groups.google.com/group/Google-Web-Toolkit-Contributors/msg/446da2497826c290?pli=1 On Mon, May 25, 2009 at 9:29 PM, hezjing wrote: > Hi > I'm getting the following warni

Re: GWT 1.6 Jetty Server and Expression Language

2009-05-25 Thread Chris Kentfield
I just ran in to this problem myself and I found this post on Stack Overflow: http://stackoverflow.com/questions/504071/el-in-a-jsp-stopped-evaluating The solution is to replace these lines in the web.xml file http://java.sun.com/dtd/web-app_2_3.dtd";> with http://java.sun.com/xml/ns/j2ee";

Re: ColumnTree

2009-05-25 Thread Jamie
As you no doubt know, the Tree does not support multiple columns. For one project, I also needed a very simple column-tree As a no-frills tree with support for columns, I simply used a regular Grid, and in the first column I always added a horizontalpanel. In this horizontalpanel, I added a 'spa

Geting a stack trace?

2009-05-25 Thread dduck
Hi, I have implemented a "trappable command", that will show a popup in case of an uncaught exception during its execution. It seems that a stack trace is not available using the normal Java methods - at least not when run in a browser. Any suggestions? Here's the code. /** * Implement the ex

Re: How FocusListener and KeyboardListener can share the same code?

2009-05-25 Thread Jim
dataGrid.addTablelistener { public void onCellClicked(SourcesTableEvents sender, final int row,final int cell) { textBox.addFocusListener(new FocusListenerAdapter() { public void onLostFocus(Widget sender) { callDB(...);//pass whatever you want based on sender }

ColumnTree

2009-05-25 Thread Midou
Hello I want to use a ColumnTree in my GWT project and i would like to insert into not only text but also images. Please have you a solution. Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web To

Web app classpath problem

2009-05-25 Thread hezjing
Hi I'm getting the following warning in the hosted mode console: [INFO] Starting Jetty on port 8080 [WARN] Server class 'org.apache.commons.collections.map.CaseInsensitiveMap' could not be found in the web app, but was found on the system classpath [WARN] Adding classpath entry 'file:/C:/eclipse/p

How FocusListener and KeyboardListener can share the same code?

2009-05-25 Thread Suren
Hi All, I am using a datagrid which has a table listener and when I click on any cell, I am adding a textbox to that cell by copying the text from the cell to the textbox. After editing the cell if I press ENTER key or move the focus from the textbox I am copying the value back to the cell and in

FocusListener and KeyboardListener

2009-05-25 Thread Suren
Hi All, I am using a datagrid which has a table listener and when I click on any cell, I am adding a textbox to that cell by copying the text from the cell to the textbox. After editing the cell if I press ENTER key or move the focus from the textbox I am copying the value back to the cell and in

Re: Bug in Google Plugin for Eclipse? Calling Enum: values() is listed as "problem"

2009-05-25 Thread Miguel Méndez
This looks like a legitimate JSNI validation bug. Could you file an issue in GWT's issue tracker? http://code.google.com/p/google-web-toolkit/issues On Sat, May 23, 2009 at 2:51 PM, hartmut.honi...@googlemail.com < hartmut.honi...@googlemail.com> wrote: > > When trying to call the "values()" me

Re: Remove KeyBoard Listenere

2009-05-25 Thread monk3y
or you can just disable the textbox. If fail enable it again. On May 24, 3:52 pm, Ian Bambury wrote: > x.removeKeyboardListener(listener) > Ian > > http://examples.roughian.com > > 2009/5/24 abbu > > > > > Hi all, > > I have a login page in my application. Upon the entry of wrong > > username o

Re: Can Google plugin detects the unsupported GWT JRE classes?

2009-05-25 Thread Miguel Méndez
This is definitely a feature that we plan on adding. We call it module aware validation (JRE + Module sensitive validation). We started working on it, but ended up cutting it out of the 1.0 release due to time constraints. I just realized that the state of this was not reflected in the issue trac

Error while using dependent project.

2009-05-25 Thread Shishir Srivastava
Hi, I am trying to use a dependent project (for the model layer) in my GWT project. I am using Jdeveloper as the IDE and have two projects in my application namely: 1.) GwtProject 2.) Model I can compile, build and run the GwtProject successfully as long as I don't set the dependent projects as

Re: error

2009-05-25 Thread David
Put the sources in your classpath when compiling. On Mon, May 25, 2009 at 11:09 AM, poonam wrote: > > hello, > > I have developed a validation.jar and used it in my project. > I have created the objects of the classes in the jar in my application > and also imported them. > But when I compile th

Re: time-consuming GWT compile

2009-05-25 Thread David
Disable permutions to only the one you need when testing. You can do this by for example setting these properties in your .gwt.xml file. Are you using 1.6 ? I have seen a big improvement in the compile times. It used to be 15 minutes as well, but that has trimmed down a lot to

Re: Need some design related help

2009-05-25 Thread Peter Ondruška
Have a look at Google Gears it should be able to solve all your issues. 2009/5/25, vijay : > HI All,I am working on a application using GWT and AppEngine (Java with > datastore) , got stuck in design phase. > > The application need to take input from barcode reader and will fill up > some text bo

Re: IE6 PNG transparency fixes for CSS images

2009-05-25 Thread twdarkflame
Not the ones you mention, but if you use Image-Bundles, I believe GWT deals with the problem itself. Aside from that have you tried http://www.twinhelix.com/css/iepngfix/ ? Because thats what I was using before and it worked just fine with GWT. On May 22, 5:19 am, mrpantsuit wrote: > I can't se

Re: polling with gwt

2009-05-25 Thread Rvanlaak
You might want to try The GWTEventService project. It solves the server-push issue in a webserver independent way. A sample is attached to the download. http://code.google.com/p/gwteventservice/ On 25 mei, 05:21, jagadesh wrote: > i tried the above sort of implementation in mail application . i

Need some design related help

2009-05-25 Thread vijay
HI All,I am working on a application using GWT and AppEngine (Java with datastore) , got stuck in design phase. The application need to take input from barcode reader and will fill up some text boxes with information corresponding to the barcode. You can assume it to be a bookstore selling applica

Re: time-consuming GWT compile

2009-05-25 Thread asianCoolz
dude, use eclipse On May 24, 2:10 pm, Mohammad Anisi wrote: > Hi guys, > > I'm using ant for compiling a GWT project. Since my GWT project became > big, the GWT compile process take a lot of time in order of 15 > minutes! > Is there any compilation trick such as "Incremental Compilation" for > G

Possible to use Regex captureing groups with GWT?

2009-05-25 Thread darkflame
Just a quick question really, is it possible to use Regex capturing groups in GWT? I know java.util.regex isnt emulated, so I suspect not. But I seeing as "replaceFirst" can use a regex, I wondered if there was some way to later retrieve groups from it. Specificaly, HTMLContents = HTMLContents.

Re: firing a blur event when a button is clicked

2009-05-25 Thread Thomas Broyer
On 25 mai, 04:44, Ian Bambury wrote: > The visual focus indicator is there for accessibility reasons so people who > cannot use a mouse know what has focus if they are using a keyboard or voice > commands or chin-operated joysticks, suck.blow controllers, head-switches > etc. so they know where

error

2009-05-25 Thread poonam
hello, I have developed a validation.jar and used it in my project. I have created the objects of the classes in the jar in my application and also imported them. But when I compile the prog I get the error and the build fails. I get the error as : D:\NIMS_Gadgets\TheProject>MyApplication-compil

Re: GWT import external jar

2009-05-25 Thread vogella
Hi, I included a example description for including external jars / Java projects into GWT projects (client side) in this tutorial: http://www.vogella.de/articles/GWT/article.html Best regards, Lars On 22 Apr., 18:53, Qing wrote: > Oh, i see. Thankyou! It works. > > On Apr 6, 10:06 am, Jason Es

time-consuming GWT compile

2009-05-25 Thread Mohammad Anisi
Hi guys, I'm using ant for compiling a GWT project. Since my GWT project became big, the GWT compile process take a lot of time in order of 15 minutes! Is there any compilation trick such as "Incremental Compilation" for GWT? or any option for compiling it? thanks. --~--~-~--~~-

Problem creating a new Web Application Project in Eclipse using the GWT eclipse plugin

2009-05-25 Thread Roshan
Hi all, I just got the gwt eclipse plugin installed through the standard eclipse mechanism of Help > Software Updates. It installed without a problem. Then I went on to read the Quick Start Guide (http://code.google.com/ webtoolkit/gettingstarted.html#NewEclipse) - the section "Creating an Applic