Re: 2.4 RPC failure

2012-03-30 Thread Boris Lenzinger
Hi, I have written an application and few month ago I got this error message : com.google.gwt.user.client.rpc.StatusCodeException: 0 At last I found an explanation (for my case which might not worth for yours but can give you ideas maybe). I am developing my app on my laptop. So at home I have a

Re: How to get text from textarea as html

2012-03-30 Thread dodo dard
Where do you want to write ? If is in the HTML directly you must to replace the new line character and the space character with appropriate html code. Check this out : http://code.cside.com/3rdpage/us/newLine.html http://code.cside.com/3rdpage/us/space.html Hope this help, Bowie

Re: Create autobean as RF does it

2012-03-30 Thread Thomas Broyer
Have a look at AbstractRequestContext (particularly the processReturnOperations method; also look for calls to setTag), but basically you'll have to transport more than the AutoBean data: you'll have to send its stableId and version (have a look at SimpleRequestContext et al. for how they're

Re: Fwd: help me please

2012-03-30 Thread mohit
the best way to start is https://developers.google.com/web-toolkit/doc/latest/tutorial/ Thanks On Mar 28, 12:00 am, Vaibhav Kale vmk...@gmail.com wrote: i am student of m tech. i want do my project in gwt, GWT is new for me. so i want your valuable guidance. i am not understanding how can i

cannot use css background-image

2012-03-30 Thread tong123123
the css is simple .backGroundImage1{ background-image:url(images/line.png'); background-repeat:repeat-x; } the gwt code is public class TestFlowPanelLeft extends FlowPanel { public void onLoad(){ Image image1 = new Image();

Re: CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-03-30 Thread Thomas Broyer
On Thursday, March 29, 2012 5:43:55 AM UTC+2, GWTter wrote: Hi all, I've used the CustomScrollPanel in order to implement some custom scrollbars, everything was working great until I added DnD (gwt-dnd, not native) functionality to an element in the scrollpanel. The dragging action on

Re: Run As Web Application acts like Debug As Web Application

2012-03-30 Thread Thomas Broyer
First, you might want to ask in the https://groups.google.com/forum/#!forum/google-plugin-eclipse group for questions related to the Google Plugin for Eclipse. On Thursday, March 29, 2012 9:59:05 PM UTC+2, gwtApprentice wrote: Tried the simple

Re: 2.4 RPC failure

2012-03-30 Thread Thomas Broyer
A status code of 0 is symptomatic of network errors (or if you unload the page –navigate away or reload– while there are pending RPC requests: they'd be aborted with a status code of 0), so it's expected that you don't see anything on your server logs: the requests aren't reaching it. Now so as

GWT - Adding modules from 2.4 to 2.1

2012-03-30 Thread Adolfo Panizo Touzon
Hi all, is it possible compile, or include or do something in order to include projects from gwt 2.4, such as Validation.gwt.xml, in a GWT project built with the 2.1 version? I don't know if it's possible. Any pointer? Regards, Thanks in advance. Adolfo. -- El precio es lo que pagas. El

Re: GWT + Vector Drawing Tools

2012-03-30 Thread Frank
I didn't use the gwt-dnd library with GWT-Graphics but I did use a lot of other stuff. The biggest thing I did with GWT was to use it as on overlay on Sasha maps ( http://www.maryanovsky.com/sasha/maps/ ) to draw Vector data on maps. All this vector data is clickable and other stuff. On a note

Quantify GWT Debug module overhead

2012-03-30 Thread jaga
Hi, According to the literature adding the GWT Debug module to your project and add onEnsureDebugID to your widgets adds overhead[1]. Can someone be more specific on what this overhead is? Also why does GWT completely remove ids anyway? Does it have anything to do with experience of

Re: Errer after GWT 2.4 upgrade.

2012-03-30 Thread skippy
This is from Alex Russel: Disabling the BHO doesn't work well for the reason you cite below and we don't really expect this to be fixable. Your best bet is to uninstall GCF if it's not enabled. On Mar 29, 9:07 pm, JoseM jose.a.marti...@gmail.com wrote: Do you have any more details on how to

Re: CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-03-30 Thread Deepak Singh
Hi Seth, I am also looking for to implement CustomScrollbar. Could you pls post the code that you have implemented ? Thanks Deepak On Fri, Mar 30, 2012 at 3:10 PM, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, March 29, 2012 5:43:55 AM UTC+2, GWTter wrote: Hi all, I've used the

Re: GWT history handling library - give it a try

2012-03-30 Thread Kostya Kulagin
Agreed with bookmarks. Thank you. What about browser next-prev buttons support (sample I wrote with paginator)? On 29 mar, 19:42, Jens jens.nehlme...@gmail.com wrote: The problem is that your (bookmarked) URLs will become useless if you change the implementation of your UI. If you, as

Re: GWT history handling library - give it a try

2012-03-30 Thread Kostya Kulagin
On 29 mar, 19:49, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, March 29, 2012 5:14:28 PM UTC+2, Kostya Kulagin wrote: Yes, this what I meant. I gave slightly incorrect description. Sorry. Places are 'State' of a page, i.e. 'Place' in an application. This is great. Also correct

Re: GWT history handling library - give it a try

2012-03-30 Thread Thomas Broyer
On Friday, March 30, 2012 3:49:11 PM UTC+2, Kostya Kulagin wrote: What you'll have to do to be assured that sub-params (or there is an other way to do it?) in the browser history string does not intercept? Create a specific Place that can hold those two parameters and navigate

Re: Run As Web Application acts like Debug As Web Application

2012-03-30 Thread Dee Ayy
On Fri, Mar 30, 2012 at 4:47 AM, Thomas Broyer t.bro...@gmail.com wrote: First, you might want to ask in the https://groups.google.com/forum/#!forum/google-plugin-eclipse group for questions related to the Google Plugin for Eclipse. Didn't even know there was one. How do I get Production

Re: CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-03-30 Thread GWTter
Hi Thomas, Thanks so much for all of your suggestions and for explaining the extra DIVs, it makes a lot more sense now. I'll try what you said and let you know. Thanks again. -Seth On Friday, March 30, 2012 5:40:47 AM UTC-4, Thomas Broyer wrote: On Thursday, March 29, 2012 5:43:55 AM

Re: CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-03-30 Thread GWTter
Hi Deepak, Sorry, I think I just replied to you personally, can you repost my reply here? Thanks. -Seth -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Run As Web Application acts like Debug As Web Application

2012-03-30 Thread Thomas Broyer
On Friday, March 30, 2012 5:02:14 PM UTC+2, gwtApprentice wrote: On Fri, Mar 30, 2012 at 4:47 AM, Thomas Broyer wrote: First, you might want to ask in the https://groups.google.com/forum/#!forum/google-plugin-eclipse group for questions related to the Google Plugin for Eclipse. Didn't

Re: Quantify GWT Debug module overhead

2012-03-30 Thread Joseph Lust
Jaga, GWT needs to do UiBinding of HTML elements inserted into the DOM. A paraphrasing of this process is: - Made insert a new X element into the DOM with a custom id (i.e. gwt_id_E7D8A88). - Instantly do a lookup for that id and store the reference so that it is now UI bound.

Re: 2.4 RPC failure

2012-03-30 Thread John Malpas
Thomas and Boris thanks for your comments. Here are a few more details. It is very hard to test, because it does not happen for me. I have even trotted my laptop around to various cafes / wireless environments trying to provoke the problem, but I have not yet experienced the problem. It is not

Re: GWT - Adding modules from 2.4 to 2.1

2012-03-30 Thread Joseph Lust
Do the projects you want to include depend on facets of GWT 2.4? Can you just download the src and build them using GWT 2.1, and then include that in your GWT 2.1 project? Sincerely, Joe -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: 2.4 RPC failure

2012-03-30 Thread Joseph Lust
John, Sounds like a network connection error, which will always be a failure mode for web apps and a SOB to debug. Perhaps it would be easiest to catch this error in the onFailure() call of your RPCs and display a message to the users telling them to check their connection or reload the page?

Re: Quantify GWT Debug module overhead

2012-03-30 Thread Thomas Broyer
On Friday, March 30, 2012 6:07:11 PM UTC+2, Joseph Lust wrote: Jaga, GWT needs to do UiBinding of HTML elements inserted into the DOM. A paraphrasing of this process is: - Made insert a new X element into the DOM with a custom id (i.e. gwt_id_E7D8A88). - Instantly do a

Re: cannot use css background-image

2012-03-30 Thread Joseph Lust
tong, Perhaps that stray unclosed quote is causing an issue? .backGroundImage1{ background-image:url(images/line.png*'*); background-repeat:repeat-x; } Sincerely, Joe -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-03-30 Thread Deepak Singh
Hi Seth, Could you pls post the '/myScrollPanel.css' ? Also, how to use this class for vertical scrollbar of a particular div or overridding browser default scrollbar ? Thanks Deepak On Fri, Mar 30, 2012 at 9:29 PM, GWTter seth@gmail.com wrote: Hi Deepak, Sorry, I think I just replied

Re: How to get text from textarea as html

2012-03-30 Thread Joseph Lust
Deepak, Is there a reason you're not using a TextAreaElement? That has the getInnerHTML() method that will return the raw values from the TextArea. Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion

ajax-crawling approach to make gwt app crawlable works on default gwt example, but not on my app

2012-03-30 Thread erebrus
Hi all, I was reading https://developers.google.com/webmasters/ajax-crawling/ on how to make ajax apps (consequently gwt apps) crawlable. I took the code from google (summarized in point 3 of How to create an HTML snapshot? to create a filter (that returns html from ajax using HtmlUnit) and

Re: Canvas Background Image

2012-03-30 Thread Joseph Lust
I see a seal swiming in the ocean with a shark. Looks to me like your background image is working. Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: 2.4 RPC failure

2012-03-30 Thread John Malpas
SOB to debug is right! I do have the message asking them to reload the page, but I am afraid that many of them get discouraged by the initial error. However, putting the stack trace in a user dialog is having some beneficial effects (at the cost of making us appear totally incompetent) -- I

Re: SQLITE and GWT

2012-03-30 Thread Joseph Lust
This was cross posted to SO, and already answered. http://stackoverflow.com/questions/8237612/sqlite-db-for-gwt Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

how to go to non-gwt page from gwt app

2012-03-30 Thread mars
i have gwt app that if the user fail the authentication, it kick the user out to login page, which is a non-gwt page, what the function that i can use to do the redirection on the client side? here is my code: userService.getCurrentUser(new AsyncCallbackUser() { public void

Re: cannot use css background-image

2012-03-30 Thread Jens
Or maybe a missing / at the beginning of the URL in your CSS (compared to the URL you have used in your java code). -- J. Am Freitag, 30. März 2012 18:18:49 UTC+2 schrieb Joseph Lust: tong, Perhaps that stray unclosed quote is causing an issue? .backGroundImage1{

Re: Gwt with Google Maps

2012-03-30 Thread Joseph Lust
Diego, You'll first need to be familiar with GWThttps://developers.google.com/web-toolkit/doc/latest/tutorial/, then the Google Maps JS APIhttps://developers.google.com/maps/documentation/javascript/reference, and then choose a GWT Google Maps API wrapper. You could also start with the

Re: Serialization issues

2012-03-30 Thread Joseph Lust
You either are missing a jar or forget to inherit a required module. Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Oracle DataBase Connectivity

2012-03-30 Thread Patrick Tucker
Are you trying to connect to the database server from the browser?? On Thursday, March 22, 2012 4:25:03 AM UTC-4, Amit Ughade wrote: Hi, I just got error message while creating database connectivity program. I already given reference of external ojdbc14.jar file. [DEBUG] [mydatabase] -

Re: how to go to non-gwt page from gwt app

2012-03-30 Thread Ovidiu Mihaescu
Window.Location.assign(your page here); See http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/Window.Location.html On Fri, Mar 30, 2012 at 10:06 AM, mars marsg...@gmail.com wrote: i have gwt app that if the user fail the authentication, it kick the user out

Re: GWT Development Mode detailed nocache.js

2012-03-30 Thread Joseph Lust
YvetteT, Are you using your Eclipse GWT plugin to build? Then set it in the Web Application run configuration's *Arguments* tab. If you're using the GWT Maven Plugin, set the styleDETAILED/style tab. It works for me this way. If you're just doing straight command line, then perhaps something

Re: Maven compilatiion error

2012-03-30 Thread 适兕
can you assign source in dmt.gwt.xml? that must include all you java class. 2012/3/30 Hilco Wijbenga hilco.wijbe...@gmail.com On 22 March 2012 16:36, developer avka...@gmail.com wrote: [INFO] [ERROR] Unable to find type 'com.mycompany.web.dmt.gwt.client.DmtGwt' It seems you

GWT 2.5 and beyond

2012-03-30 Thread jimo
Hello, I'm currently using GWT for a project and am interested in its future, as I've noticed that there hasn't been much activity (source changes, etc.) of late ... Thanks, Jim -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view

GWT and how to make them better.

2012-03-30 Thread Bogo
Hey guys, We just published an article on our blog about GWT and will be happy to read your thoughts about it. Here it is: http://j.mp/gwtgwtgwt Happy hacking, //Bogo -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

SingleSelectionModel and unselecting items

2012-03-30 Thread HenN
Dear group members, I use a CellList to display an overview of all persons. I've used the CellList showcase (CellList showcasehttp://gwt.google.com/samples/Showcase/Showcase.html?locale=en#!CwCellList) as orientation, but I did not use UIBinder. Instead of display all information after

Re: cannot use css background-image

2012-03-30 Thread Xi
First, the path images/XX.png is completely different with /images/XX.png. So verify your css file's path and his relative path to the folder images Then you should add a *'* before images/line.png. Means it should like this : background-image:url(*'*images/line.png'); or don not use *'*,

Re: GWT and how to make them better.

2012-03-30 Thread Harpal Grover
This is very cool. -- Harpal Grover President *Harpal Grover Consulting LLC* On Fri, Mar 30, 2012 at 7:33 AM, Bogo shopov.bogo...@gmail.com wrote: Hey guys, We just published an article on our blog about GWT and will be happy to read your thoughts about it. Here it is: http://j.mp/gwtgwtgwt

Re: ajax-crawling approach to make gwt app crawlable works on default gwt example, but not on my app

2012-03-30 Thread Ovidiu Mihaescu
Does your existing app's URLs conform to the spec at https://developers.google.com/webmasters/ajax-crawling/docs/specification ? More specifically, do all your history tokens start with an exclamation mark? On Fri, Mar 30, 2012 at 9:31 AM, erebrus ereb...@gmail.com wrote: Hi all, I was reading

Re: ajax-crawling approach to make gwt app crawlable works on default gwt example, but not on my app

2012-03-30 Thread Ovidiu Mihaescu
Also, from http://support.google.com/webmasters/bin/answer.py?hl=enanswer=174993, towards the bottom of the page: ... I'm using HtmlUnit as the headless browser, and it doesn't work. Why not? If doesn't work means that HtmlUnit does not return the snapshot you were expecting to see, it's very

RequestFactory change/update polling

2012-03-30 Thread Rob Whiteside
Hello, My UI on the client needs to stay in sync with the data on the server. I am using request factory for all of this, and it's working great. Currently, I have a timer that fires a request to the server every X seconds to get the most recent stuff. From what I understand of

Re: 2.4 RPC failure

2012-03-30 Thread John Malpas
One of the users actually figured it out (at least one variation) -- this is crowd sourced software development. As I wrote them, the ServiceDefTarget classes force the service entry point to be the domain name including www. So if a user went to a webpage in our domain, but without the www,

Re: How to get text from textarea as html

2012-03-30 Thread Deepak Singh
I have a ui:binder, there i use g:Textarea ui:field =ta/ Now, when i do - ta.getText() - returns all textarea data without spaces and line breaks. If i do - ta.getElement().getinnerHTML() - returns blank. No data at all. Thanks Deepak On Fri, Mar 30, 2012 at 9:55 PM, Joseph Lust

Re: How to get text from textarea as html

2012-03-30 Thread Jens
TextArea.getText() gives you exactly the text with all white spaces and line breaks. Its just that you can't put that text into a HTML element, because the browser will remove every line break and also trims down the white spaces to one. If you want to display that text, you have to use the

Re: ajax-crawling approach to make gwt app crawlable works on default gwt example, but not on my app

2012-03-30 Thread erebrus
Hi, To answer both your replies. Yes, they do conform to the specification. I also added the meta tag in the html (thought I forgot to include that in the list of changes I did in the OP). The problem isn't the HtmlUnit, because it simply doesn't get that far. The filter is never run with the GET

Re: GWT and how to make them better.

2012-03-30 Thread Gal Dolber
Hi Bogo, Finally decided to get JRebel, but I'm getting this exception: java.lang.ClassCastException: com.google.gwt.dev.javac.CompilationState cannot be cast to org.zeroturnaround.jrebel.integration.gwt.cbp.CompilationStateInterface Does JRebel support gwt trunk? or only the last stable

Re: GWT and how to make them better.

2012-03-30 Thread Gal Dolber
Got it working in another project where I'm using gwt 2.4 stable. Server side works like a charm and browser side works pretty good. When editing ui.xml files it doesn't know what classes to reload(regenerate), that would be great if it could detect the uibinder related class and regenerate it

Re: JSNI error when using GWT canvas

2012-03-30 Thread hugues2
I have exactly the same issue. Hope this is related to the development mode and not to the production mode. On 3 fév, 15:39, Karel karel.cromb...@gmail.com wrote: Hey guys, I am getting quite random internal GWT errors when I am using the GWT canvas widget in complex cases. Sometimes,

[gwt-contrib] Re: Added new SafeImageCell class wich uses SafeUris instead of Strings. (issue1673803)

2012-03-30 Thread jlabanca
LGTM http://gwt-code-reviews.appspot.com/1673803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors