Re: Cannot generate eclipse projects for samples

2011-11-20 Thread Thomas Broyer
It's looking for the common.ant.xml one level upper (in trunk/, not trunk/samples) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/k0ZEK9UVp5wJ.

Re: GWT Developers

2011-11-20 Thread giuseppe la scaleia
+ 1 here Inviato da iPhone di Giuseppe La Scaleia Il giorno 19/nov/2011, alle ore 22:48, Deepak Singh deepaksingh...@gmail.com ha scritto: Am ready for this assignment. On Sun, Nov 20, 2011 at 3:09 AM, Andrea Boscolo andrew...@gmail.com wrote: Post it in the appropriate group

Re: How to remove text formatting?

2011-11-20 Thread Thomas Broyer
It's actually as easy as: DivElement elt = Document.get().createDivElement(); elt.setInnerHTML( SimpleHtmlSanitizer.sanitizeHtml(myHtmlString) ); String plainTextString = elt.getInnerText(); Or you could of course use code similar to the SimpleHtmlSanitizer that strings *all* the

features request:make RichTextBox and TextArea support Auto-Resizing

2011-11-20 Thread Alex Luya
For TextArea,it not difficult and I have implemented it.But for RichTextArea,It is not so easy(for me).Hope this feature can be supported by GWT originally. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

Re: Different GWT compilation from Eclipse and command line

2011-11-20 Thread jogo
Ok. Finally I've found the sneaky bug. The code was failing actually later in the code where was another eval function referencing the obj variable eval('var title = obj.feed.entry[' + i + '].title'); Then I checked the obfuscated code and I realized that the obj variable gets obfuscated and

Re: Different GWT compilation from Eclipse and command line

2011-11-20 Thread Thomas Broyer
On Sunday, November 20, 2011 12:14:46 PM UTC+1, jogo wrote: Ok. Finally I've found the sneaky bug. The code was failing actually later in the code where was another eval function referencing the obj variable eval('var title = obj.feed.entry[' + i + '].title'); Any reason you're not

Re: features request:make RichTextBox and TextArea support Auto-Resizing

2011-11-20 Thread Deepak Singh
+1 Alex, How did you implement it for textarea. Can you pls share the code. Thanks Deepak On Sun, Nov 20, 2011 at 3:54 PM, Alex Luya alexander.l...@gmail.com wrote: For TextArea,it not difficult and I have implemented it.But for RichTextArea,It is not so easy(for me).Hope this feature can be

Re: features request:make RichTextBox and TextArea support Auto-Resizing

2011-11-20 Thread Jens
Typically you would use a hidden div element that has the same styles applied as the textarea, plus a bid of extra bottom padding. Then while typing into the Textarea you will copy the text into the div element and read the div element's height. Then you can set the height to the Textarea. If

Re: Different GWT compilation from Eclipse and command line

2011-11-20 Thread jogo
Hi Thomas, Any reason you're not coding this directly in JSNI, without the eval()? Great point. I was able to fix one JSNI function (mentioned above) that just gets the title id with the solution you suggested. Thank you. But unfortunately, there is one even more complex method, that gets data

Re: I can't get RichTextAre OnPaste Event hooking|sinking to work?

2011-11-20 Thread Brandon Donnelson
Interesting. Thanks for the info. Its been a challenge to try to get an elegant ui solution implemented. Due to the Clipboard API access via the dom in most platforms implementing a solution easily sucks. As far as I can tell, implementing a paste into rich text is going to be impossible, that

Re: TabLayoutPanel Dynamic Resizing

2011-11-20 Thread Ashwin Desikan
can you provide a screen shot? would give a clear picture of the issue. ~Ashwin On Saturday 19 November 2011 12:35 PM, Ashwani Gupta wrote: Finally got a chance to work on this. I tried inspecting the Element using IE 9 (using F12 Developer Tools). Almost all my elements have position =

Re: Different GWT compilation from Eclipse and command line

2011-11-20 Thread Thomas Broyer
On Sunday, November 20, 2011 5:39:04 PM UTC+1, jogo wrote: Hi Thomas, Any reason you're not coding this directly in JSNI, without the eval()? Great point. I was able to fix one JSNI function (mentioned above) that just gets the title id with the solution you suggested. Thank you. But

Re:

2011-11-20 Thread Z.A Jafari
thanks for your help. Are there any working example on this.Appreicate your help On 19 November 2011 20:21, Juan Pablo Gardella gardellajuanpa...@gmail.comwrote: Check http://code.google.com/intl/es-ES/webtoolkit/doc/latest/DevGuideClientBundle.html#RTL_support 2011/11/19 Z.A Jafari

Starting Jetty on port 8888

2011-11-20 Thread Z.A Jafari
Hello there, i am running eclipse indigo. i am new to GWT and suddenly i am not able to run my test app becsue i get this error. how do i restart the jetty server. by the way if i want to use Tomcat instead of Jetty how can i do it.links and tutorials will be appreciated. Starting Jetty on port

Re: Different GWT compilation from Eclipse and command line

2011-11-20 Thread jogo
Man, you made my day :o) Thanks! On Nov 20, 6:49 pm, Thomas Broyer t.bro...@gmail.com wrote: On Sunday, November 20, 2011 5:39:04 PM UTC+1, jogo wrote: Hi Thomas, Any reason you're not coding this directly in JSNI, without the eval()? Great point. I was able to fix one JSNI function

Re: Starting Jetty on port 8888

2011-11-20 Thread Jim Douglas
The clue is right there at the bottom of the stack trace: Port 127.0.0.1: is already is use; you probably still have another session active You'll need to kill the old session before you can start a new one. (If you're not sure how to do that, try restarting Eclipse.) On Nov 19, 11:35 pm,

Re:

2011-11-20 Thread Jim Douglas
http://gwt.google.com/samples/Showcase/Showcase.html?locale=ar_EG#!CwRichText On Nov 19, 9:57 pm, Z.A Jafari zjaff...@gmail.com wrote: thanks for your help. Are there any working example on this.Appreicate your help On 19 November 2011 20:21, Juan Pablo Gardella

A bug related to rounding integers?

2011-11-20 Thread peter
This looks like a bug to me: public static native void setWText(int x) /*-{ var width = $doc.getElementById(width); x = Math.round(x); width.value = x; }-*/; With the call to Math.round the width element is set to an integer

Re: A bug related to rounding integers?

2011-11-20 Thread Jim Douglas
First, click view profile next to your name and look at the other posts that were sent under your username. And consider changing your password. Then review all places where you call this native method. One of them is passing in a double value, which for performance reasons I don't believe GWT

Re: Starting Jetty on port 8888

2011-11-20 Thread Jim Douglas
And click view profile next to your name. On Nov 20, 12:35 pm, Jim Douglas jdou...@basis.com wrote: The clue is right there at the bottom of the stack trace: Port 127.0.0.1: is already is use; you probably still have another session active You'll need to kill the old session before you

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2011-11-20 Thread oerten25
I've been getting the same error and tried the things mentioned in the discussion without any luck. Finally i realised that i don't have the apt_generated folder. So i changed the generated source directory option to something other than apt_generated in Annotation Processing setting. That fixed

Re: Looking for best resources to learn GWT

2011-11-20 Thread Rodrigo Silveira
I think this would depend on how much GWT you know already. I've tried about 4 different actual books, but like you said, they're somewhat dated. But then again, not really. About a month ago I decided to give the books another try. I found the PDF of Accelerated GWT (http://goo.gl/nbaQE) and put

Re: Looking for best resources to learn GWT

2011-11-20 Thread Jim Douglas
I've only glanced at this, but you might want to check it out: http://www.m-gwt.com/ http://m-gwt.com/showcase/ http://groups.google.com/group/mgwt/topics On Nov 19, 8:56 am, Fred R fred.rahman...@gmail.com wrote: What are the best resources to learn GWT (other than google's). The books listed

Re: How best to test the Editor Framework for vanilla JRE test cases and SimpleBeanEditorDriver

2011-11-20 Thread Stephen Haberman
Hi Logan, I was looking for the same thing just the other day and didn't find it either. I don't currently need it right now, but was thinking it would be nice to have. If I was going to start out writing one, I would make a really simple usage of the SimpleBeanEditorDriver, run GWT compile

Re: How to remove text formatting?

2011-11-20 Thread ailinykh
Thank you! This is what I need. Andrey -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Jbx45cSqnaMJ. To post to this group, send email to

Re: Starting Jetty on port 8888

2011-11-20 Thread Z.A Jafari
Jim, Thanks for your comments. what do you mean And click view profile next to your name. what the error stack says is to restart eclipse,so everytime i face this issue i need to restart eclipse which can become a pain when you are developing codes -- You received this message because you are

Re:

2011-11-20 Thread Z.A Jafari
Jim, Thanks very much On 21 November 2011 00:27, Jim Douglas jdou...@basis.com wrote: http://gwt.google.com/samples/Showcase/Showcase.html?locale=ar_EG#!CwRichText On Nov 19, 9:57 pm, Z.A Jafari zjaff...@gmail.com wrote: thanks for your help. Are there any working example on