Re: [gwtupload] Could not get the encoding property.

2010-05-03 Thread Manuel Carrasco Moñino
- Which version of gwt-upload are you using? - Does it happen with the provided examples or in your own code? - If you have a piece of code to reproduce the problem, please send me it. Cheers -Manolo On Tue, May 4, 2010 at 2:33 AM, Jeff Chimene wrote: > Only in ie 6 & 7, gwt 2.0.3 > > 17:15:00.3

Re: new GWT MVP article (part 2)

2010-05-03 Thread Manuel Carrasco Moñino
I'm using the latest code of gwt-presenter from svn, so if you don't use maven you should either compile gwt-presenter, or download the library from: http://gwt-workshop.googlecode.com/svn/trunk/mavenrepo/net/customware/gwt/presenter/gwt-presenter/1.1.1-replace-SNAPSHOT/gwt-presenter-1.1.1-replace-

Re: Setting GWT project from existing GWT project code.

2010-05-03 Thread vinayak
I am sorry Naveen but this did not help me. Can you please elaborate more ? I clicked in eclipse on File->New->Project option, it opened me a pop- up but it has no any option to import project. I know I am missing something very stupid. But please help. Thanks. On May 3, 7:41 pm, R Naveenshankar

Re: new GWT MVP article (part 2)

2010-05-03 Thread Mike
> You can download the project and play with it: > svn checkouthttp://gwt-workshop.googlecode.com/svn/trunk/GwtWsMvpContacts > GwtWsMvpContacts > mvn clean test gwt:run package Looks very interesting. I've downloaded the project and imported to Eclipse (don't have Maven yet). First question: Th

Unable to work with FastTree from incubator project

2010-05-03 Thread Subhrajyoti Moitra
Hello, I am using com.google.gwt.widgetideas.client.FastTree from the incubator project along with UiBinder. I cant seem to add new FastTreeItem to the the tree object and see the updated values in the view. public class NavigatorView extends Composite implements INavigatorDisplay { public inte

non-widget views in mvp

2010-05-03 Thread Stephen Haberman
Hi, Just curious, is anyone doing non-Widget views in an MVP app? Coming from gwt-presenter, it has a Display and WidgetDisplay, where WidgetDisplay has a Widget asWidget method, but Display doesn't (the idea being Display is not tied to Widget, I guess). However, I only use WidgetDisplay. Given

Could not get the encoding property.

2010-05-03 Thread Jeff Chimene
Only in ie 6 & 7, gwt 2.0.3 17:15:00.305 [ERROR] [XXX] Uncaught exception escaped com.google.gwt.core.client.JavaScriptException: (Error): Could not get the encoding property. Invalid argument. number: -2147024809 description: Could not get the encoding property. Invalid argument. The stack tra

Re: new GWT MVP article (part 2)

2010-05-03 Thread Manuel Carrasco Moñino
Hello there, IMHO, one of the issues of MVP and Gwt is the lack of good examples showing how to use all the layers (including command pattern, injection and event bus), how to test all the code, and how to integrate the set of libraries available. Taking the project Hupa as reference, I have re-f

Chrometric - simulates color blindness with GWT+AIR (using Aptana)

2010-05-03 Thread Marc Englund
Hi, I've just released a free tool called Chrometric; it simulates eight types of color blindness, blur ("forgotten glasses"), and reduced contrast (a.k.a my laptop screen on a sunny day). It is essentially a browser, and allows you to check webpages. http://enably.com/chrometric Chrometric is a

Re: Problem with Window.ClosingHandler

2010-05-03 Thread mmoossen
Hi Bruno! the problem is that RPC methods are async, so you fire the RPC request, and the page is unloaded before the request finishes, leaving your app in a unknown state. my solution is to teach gwt to handle sync rpc requests. see http://code.google.com/p/google-web-toolkit/issues/detail?id=489

Re: GWT - Visualization of graph/tree containing nodes and edges, moving and adding nodes...

2010-05-03 Thread leyg
Thanks very much Peter! That helpted a lot, i was nearly getting crazy because of that :) I put a comment on the wiki of raphaelgwt, so that everybody knows how to configure it easily with the .jar-file... Its because the distribution (raphaelgwt-r16.zip), by extracting it, there are nowhere in th

Re: uiBinder with RootLayoutPanel problem

2010-05-03 Thread suresh
Sorry. I put the code in reverse order. Option 1) RootPanel root = RootPanel.get("module1"); - working Option 2) RootLayoutPanel root = RootLayoutPanel.get(); - not working with jsp headers and footer. Option 1 is working but when the page is re-sized, the page is displayed unnecessary scroll

Re: Problem with the datebox : handling to value change events when setting a format

2010-05-03 Thread Fabio
Same problem. On 24 mar, 12:38, Diego Alvarez Araujo Correia wrote: > Hi Youen, >           I'm facing the sameproblemhere. > >           After I set theformatof adatebox(and I do it only once) > everytime Ichangethevalueof the widget it throws two > ValueChangeEvent. >           It seems like a

Re: GWTTestCase browser not using history

2010-05-03 Thread Thomas Broyer
On May 3, 4:54 pm, Oliver Uvman wrote: > Hello! > > So I was unittesting my history handler and found some errors. When > used in my project, the HistoryHandler works, with back/forward > buttons, bookmarks, etc. In my unit-tests, however, it doesn't. Am I > doing something wrong here? The unit

GWTTestCase browser not using history

2010-05-03 Thread Oliver Uvman
Hello! So I was unittesting my history handler and found some errors. When used in my project, the HistoryHandler works, with back/forward buttons, bookmarks, etc. In my unit-tests, however, it doesn't. Am I doing something wrong here? The unit testing code basically looks like this: http://paste

Re: Setting GWT project from existing GWT project code.

2010-05-03 Thread R Naveenshankar
click on new project and import the GWT project.. it will work.. Regards Naveen On Mon, May 3, 2010 at 6:31 PM, vinayak wrote: > Hello, > >There are several posts in this group which > ask about how to integrate gwt project inside another type of projects > but my questi

Re: -- 'com.google.gwt.core.client.RunAsyncCallback'

2010-05-03 Thread Naveen
Got a simple solution for all my probs.. use webappcreator for building the build.xml... this will solve most or all the issues relating to classpath I made a mistake of trying to construct my own which caused me all these issues.. Thanks for all your suggestions... On Apr 27, 9:32 pm, Ahm

Re: Any svn users? Which folders / files can we ignore?

2010-05-03 Thread andrew_d_mackenzie
Hi DJ, I hope you don't mind me expanding on your question a bit, as I had similar doubts. In my /war folder I had ignored everything (recursively) initially, then I have selectively added to source control (svn) the "source" files I have gradually been adding in /war, like: - favicon.ico

Problem with Window.ClosingHandler

2010-05-03 Thread Bruno Santos
I am using: Window.addWindowClosingHandler(new ClosingHandler() { public void onWindowClosing(ClosingEvent event) { somethingService.logout(new AsyncCallback() { public void onFailure(Throwable caught) { }

Re: How to create "Save as" button ?

2010-05-03 Thread Sripathi Krishnan
You can't directly save the contents of a text area as a file - its a security threat. You have to send the data to your server as a POST request, and then send it back to the client with Content-Disposition:attachment http response header. --Sri On 2 May 2010 15:33, vmastermac wrote: > Hi. I

Re: The repository works fine - but Eclipse under Ubuntu 10.04 not.. :-(

2010-05-03 Thread Rytis
This is probably your problem and solution http://rytisb.com/lite/2010/05/ubuntu-10-04-lucid-lynx-getting-gwt-to-play-nice-in-eclipse/ On Mar 13, 1:34 pm, Makielski wrote: > I tried to install the Plugin under WinXP. Here it works. > The repository works fine - but Eclipse under Ubuntu 10.04 not

GTW - getting started (Eclipse+widnows7)

2010-05-03 Thread clicko
Hi there, I am still trying to start building apps with google web toolkit. It's seams wery hard to me. I can't start project, I really don't know what is problem with this google web toolkit... I think that this should be wery easy to use. But I can't wrote my frst progra - hello world! I instal

Handling mouse double click event in GWT 2.0.3

2010-05-03 Thread Nguyen
I have a flextable and want to handle mouse double click for rows. Could you please show me how to get it done. TableListener is marked as deprecated as version 2.0.3. Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this

Re: Sprite image mechanism problem on IE

2010-05-03 Thread jgonian
Related Issue (4521): http://code.google.com/p/google-web-toolkit/issues/detail?id=4521&q...@sprite%20background On Mar 8, 6:41 pm, Michel wrote: > I am facing a problem when usingspriteimages in my CssResource > class. > Problem occurs when creating a CSS styled menu with UL and LI that > usesba

GWT 2.0 + jetty continuation

2010-05-03 Thread Michał Jabłoński
I've got some problem with integrating GWT 2.0 with jetty continuation. There problem is I made default GWT application in eclipse, added jetty-gwt-7.0.0.pre5.jar servlet-api-3.0.pre1.jar to war/WEB-INF/lib and class path and changed in server class only RemoteServiceServlet to AsyncRemoteServiceSe

How to show different hyperlinks depending on user roles.

2010-05-03 Thread marypfc
Hi! I'm building a user interface which has a sidebar. This sidebar should show different hyperlinks depending on the user roles, so login must be done previously. I was building the sidebar widget with all possible links and trying to make those links that are not related to the user roles invisi

Re: how to send data to google app engine datastore api

2010-05-03 Thread naeem
HERE IS AN EXAMPLE FOR U https://docs.google.com/leaf?id=0B8-wIQvtpx2WYWIxOTllYTktZjlkYS00YjdkLWEwNjQtNjU2MDdiMDZkZTEw&hl=en I also have the same problem in netbeans. would u like to help me? -- You received this message because you are subscribed to the Google Groups "Google Web Tool

How to create "Save as" button ?

2010-05-03 Thread vmastermac
Hi. I'm wondering, how to save file ( that means - text from TextArea). Is there any special option, function in GXT or GWT ? How to create "Save as" button ? Thank you. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this grou

How to use AOP for GWT RemoteServlets

2010-05-03 Thread kirti
Hi!!! I followed this article http://code.google.com/p/gwt-ent/wiki/AOP and included gwt-ent jar in my project. Then I tried writing interceptors for impl class that extends gwt RemoteServiceServlet, but those are not getting executed. I made this servlet class implement Aspectabe interface, not

Setting GWT project from existing GWT project code.

2010-05-03 Thread vinayak
Hello, There are several posts in this group which ask about how to integrate gwt project inside another type of projects but my question is different and simple too. I have created a gwt project and developed it to certain extent and now I want to give this code to my fri

Re: RichTextArea - onBlur not getting called

2010-05-03 Thread chillyspoon
Ok - this might catch out other folks even though it was something of a "donkey" moment. I was adding the "HandlesAllFocusEvents" instance as a FocusHandler .. so of course onBlur would never be called. I would need to also add the same instance as a BlurHandler for that to be the case. :) On

Re: GWT not using CssResources??

2010-05-03 Thread Ed
Hi, I opened an issue in the issue tracker concerning above problems: http://code.google.com/p/google-web-toolkit/issues/detail?id=4903 Let's hope enough people experience the same problems (and vote the issue) such that improvements are made. -- You received this message because you are subscri

RichTextArea - onBlur not getting called

2010-05-03 Thread chillyspoon
Hi everyone, I'm in the middle of integrating a RichTextArea into an existing project (GWT 1.7.1) - I've found to my surprise with the code below that the onBlur handler is simply never being called. I'm developing on Windows 7 and testing in FF3.6, Safari 4 and IE8. Behavior is the same across t

Re: help with jsni

2010-05-03 Thread Robert J. Carr
Thanks for the pointer, clearly I didn't know that existed or I wouldn't have made the "standard library" comment. On Mon, May 3, 2010 at 1:50 AM, Thomas Broyer wrote: > > > On May 3, 9:30 am, "Robert J. Carr" wrote: >> Ah ... spoke too soon.  You'll see in the collections examples the >> constr

Re: help with jsni

2010-05-03 Thread Thomas Broyer
On May 3, 9:30 am, "Robert J. Carr" wrote: > Ah ... spoke too soon.  You'll see in the collections examples the > constructors are still protected, i.e., they still need to be created > by the underlying javascript (which is sketchy). JsArrayString listOfStrings = JavaScriptObject.createArray()

Re: Synchronized RPC requests

2010-05-03 Thread mmoossen
now improved patch providing a simple to use @SynchronizedRpcRequest annotation ;) HTH Michael On Apr 29, 4:20 pm, mmoossen wrote: > Dear all! > > i just submitted a patch for > sync-rpc:http://code.google.com/p/google-web-toolkit/issues/detail?id=4898 > > may be somebody can use it ;) > > HTH

Re: help with jsni

2010-05-03 Thread Sripathi Krishnan
> > You'll see in the collections examples the > constructors are still protected, i.e., they still need to be created > by the underlying javascript (which is sketchy). > You could also write it like this // Return the whole JSON array, as is private final native JsArray getCustomers() /*-{

Re: help with jsni

2010-05-03 Thread Robert J. Carr
Ah ... spoke too soon. You'll see in the collections examples the constructors are still protected, i.e., they still need to be created by the underlying javascript (which is sketchy). Anyway, it seems if I encapsulate all of the creation and manipulation of the array it will be transparent, I'm

Re: What is the point of ensureInjected?

2010-05-03 Thread opn
Don't know either, would like to know. What problem can occur when i dont use it? cause i am not using it right now (ensureInjected()) and everything works pretty well! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group

Re: help with jsni

2010-05-03 Thread Robert J. Carr
Hi Sri- That's a great reference, thanks, but it is effectively what I'm already doing (just encapsulating it better). I think my point is, in the example they gave: class JsArray extends JavaScriptObject { ... } I feel this should be part of the standard library. Anyway, thanks for the link,

Re: help with jsni

2010-05-03 Thread Sripathi Krishnan
Have you tried using Javascript Overlays? See this page - http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsOverlay.html It allows you to pass objects back and forth, including JsArray. It has an example of JsArray that you could peruse. --Sri On 3 May 2010 12:09, rjcarr wrote: