Re: applying CSS on the widget special features

2009-12-04 Thread Thomas Broyer
On 4 déc, 07:27, Jaimon wrote: > hi, i have few listbox widgets, and i need to change the color of the > arrow that opens the drop down list, and its surrounding box (the > little gray square) > > how can i do it with the CSS? You can't. ListBox uses a plain old HTML whose rendering is browser

Re: DecoratedPopupPanel

2009-12-04 Thread ben fenster
there is a chapter on it in google application book and a code sample to download in the book site i think its in chapter 6 http://groups.google.com/group/gwtapps On 3 דצמבר, 12:53, Tony wrote: > how can i make a DecoratedPopupPanel move like a DialogBox? -- You received this message because yo

Re: Very slow DevMode on Mac Leopard with GWT 2.0 RC2

2009-12-04 Thread jd
I am also using Leopard and the "hang" is over a minute before anything starts to happen. On Dec 4, 4:45 am, jvictor wrote: > DevMode starts up quickly as you would expect inside the new eclipse > console window and I receive the url to copy and paste into the > browser.  The issue occurs as soon

GWT RCP

2009-12-04 Thread Alexander
GWT handle every RPC request in separate thread? Is it possible to tune it to handle all of them in one thread? -- Regards, Alexander -- 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-tool...

Re: Open a word document online for view and edit with GWT

2009-12-04 Thread George Simon
Hi AGharbawi I am also looking for a similar solution. Did you find any ideas on this, if yes please share your thoughts. Thanks in Advance George On Wed, Jul 22, 2009 at 11:37 PM, AGharbawi wrote: > > Hello All, > > I'm trying to build a page that can open a word document inside the >

Re: Can anyone over here help me out in sending the email from gwt application

2009-12-04 Thread gwtfanb0y
The way you have to go to solve your problem: 1. Build a nice GUI where the user can insert all the data (recipient, subject, body..) needed for sending an email 2. Connect this form via RPC to the server-package 3. Use libs like javax.mail to send the email 4. Return a success/failure message to

Re: Very slow DevMode on Mac Leopard with GWT 2.0 RC2

2009-12-04 Thread jd
Also, the slowdown for me seems to be across the board. Right now my CPU is very high and the busy thread is doing this: Daemon Thread [Code server for rooms from Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.15) Gecko/2009101600 Firefox/ 3.0.15 on http://localhost:/?gwt.cod

Re: Form + servlet + Firefox does not work

2009-12-04 Thread Martin Trummer
so does your applet actually get called i mean: when you upload a file in FF, is the doPost method called? maybe you should throw in some log statements and maybe try to catch all Exceptions in the do post just to log it you could also use firebug to check what the client actually sends to the se

Re: RC2 and Eclipse Plugin

2009-12-04 Thread John Patterson
Actually, where do you define the start url in your configuration? I assume this must come from somewhere but I see no option. On 3 Dec 2009, at 23:23, Miguel Méndez wrote: > > Do you have a war folder as part of yo -- You received this message because you are subscribed to the Google Groups

Re: GWT, JPA, Derby and Datanucleus Exception

2009-12-04 Thread Marco Massenzio
Hi Eric, I'm glad you enjoyed the blog, and that it helped. I'm afraid I am not able to share the code for the stocks app, it's not quite ready for 'prime time' yet and I'm not even sure I'll be releasing it open source. However, I would have no problem in providing a couple of 'annotated' exampl

Re: Someone please help me. I met a problem when I made a RPC class

2009-12-04 Thread djd
Leon, Have you granted access to the directory, like this? grant codeBase "file:${catalina.home}/webapps/-" { permission java.net.SocketPermission "192.168.12.81:3306", "connect"; }; Although this way of working with mysql/logs is a bit strange... you have logging at your disposal in most

Re: Serializing types that have only been included as a map generic in remote interface fails

2009-12-04 Thread Owen Powell
I was getting the "TypeSerializer.raiseSerializationException (transient source" error (that's how I ended up here), then I realized my class had a field that was not serializable. After I fixed that, everything worked fine. ~Owen On 26 nov, 07:36, krishna wrote: > Same issue here. Should this b

Re: GWT RCP

2009-12-04 Thread djd
Client-side RPC code from GWT runs on a single thread, the same applies to the entire app, since AJAX is single-threaded. As for the server-side RPC code, there are no references to Thread or Runnable in the entire code, so the answer is no. On Dec 4, 10:22 am, Alexander wrote: > GWT handle every

Re: GWT RCP

2009-12-04 Thread Alexander
Thanks! 2009/12/4 djd > Client-side RPC code from GWT runs on a single thread, the same > applies to the entire app, since AJAX is single-threaded. > As for the server-side RPC code, there are no references to Thread or > Runnable in the entire code, so the answer is no. > > On Dec 4, 10:22 am,

Re: placing a widget in a dropdown

2009-12-04 Thread djd
I also needed this, the idea is simple. You have 2 options: 1. From the plethora of gwt extension libraries (gwt-mosaic, gwtx, smartgwt, ext js, MyGWT), I'm pretty sure you can find a listbox that will fit your needs 2. Create a custom listbox from scratch, adjusting it to your needs. If you plan

problems invoking a function from an external javascript source file...

2009-12-04 Thread Komal
Hi, I am trying to invoke a method from prettify.js the method looks like this my jsni method:- public native String getPrettifiedOutput(String result) /*-{ var prettyPrintingJob = { sourceCodeHtml: result, langExtension: '.java',

Re: problems invoking a function from an external javascript source file...

2009-12-04 Thread Thomas Broyer
On 4 déc, 11:45, Komal wrote: > Hi, > > I am trying to invoke a method from prettify.js the method looks like > this > my jsni method:- > >         public native String getPrettifiedOutput(String result) >         /*-{ >                  var prettyPrintingJob = { >               sourceCodeHtm

Strange crash of Hosted Browser when adding ClickHandler to button...

2009-12-04 Thread Kah0ona
Hi, [System details: Mac OS X Snow Leopard 1.6.2, eclipse gallilleo] I am having a strange problem in a little project of mine. I am building (generating actually) a system that allows basic CRUD operations on data, and I am using a simple MVC pattern. For every data entity I have a MVC triple.

Re: Strange crash of Hosted Browser when adding ClickHandler to button...

2009-12-04 Thread Kah0ona
I forgot to mention: GWT 1.7.1 On Dec 4, 12:10 pm, Kah0ona wrote: > Hi, > > [System details: Mac OS X Snow Leopard 1.6.2, eclipse gallilleo] > > I am having a strange problem in a little project of mine. I am > building (generating actually) a system that allows basic CRUD > operations on data, a

Re: placing a widget in a dropdown

2009-12-04 Thread Joe
Hi Jaimon, There's a widget i have created long time ago, it's a listbox functionality, but where i have control on all css and styles and design of it. As you know, the normal listbox of gwt depends on your browser look and feel. But the idea is simple: You need to have a textbox with image(dro

Re: Passing a javascript function to a GWT function

2009-12-04 Thread David Jordan
When I try using that the myObject.addOnclick(onclick()); the function I am trying to pass in actually executes at that time, and when I look at the value of final JavaScriptObject func it has a value of null and then when the button that I am trying to create is clicked the value of func is null

Re: Grid (Sluggish Load)

2009-12-04 Thread Trevor Skaife
Another thing you can do is not attach the grid to the page until it is fully loaded, the dom operations are faster when the table isn't displayed on the screen. But pagination would be very helpful as well. On Dec 3, 2:09 pm, Thomas Matthijs wrote: > On Thu, Dec 3, 2009 at 21:05, Vince wrote: >

Re: Passing a javascript function to a GWT function

2009-12-04 Thread David Jordan
I understand now, I was going about it wrong myObject.addOnclick(function() { alert('I was clicked'); }); On Fri, Dec 4, 2009 at 8:45 AM, David Jordan wrote: > When I try using that the myObject.addOnclick(onclick()); the function I > am trying to pass in actually executes at that time, and w

Re: GWT 2.0 books

2009-12-04 Thread Nian Zhang
I expect too. On Dec 3, 8:30 am, FKereki wrote: > Personally, I'm authoring a book on GWT 2.0 for Addison Wesley; I > expect the Rough Cut to be available on Safari Books Online early next > year. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Has any one written new annotations for GWT Client side ?

2009-12-04 Thread keyboard_samurai
Hi, I am a newbie to GWT. Need to know if GWT can support custom annotations on client side ?. The reason for custom annotations is i would be communicating with the backend service through json and not gwt rpc and i wouldnt like each developer to write the same piece of code. So i was planning to

How to debug a gadget using GWT 2.0 RC2

2009-12-04 Thread 3ala2
I want to debug a gadget in iGoogle. In GWT 1.7 I used to put the URL as http://www.google.com/ig. Now there is no possibility to do so. The gadget doesn't have an html file to debug in development mode using internal server. I need the external server to be iGoogle. Is there a way to do so? So the

Re: How to run GWT 2.0 RC2's hosted mode with another server?

2009-12-04 Thread 3ala2
Hey I have the same problem here. I want to debug a gadget in iGoogle. In GWT 1.7 I used to put the URL as http://www.google.com/ig. Now there is no possibility to do so. The gadget doesn't have an html file to debug in development mode using internal server. I need the external server to be iGoogl

Re: Trouble with fresh install of Eclipse Plugin 1.2rc2

2009-12-04 Thread anatoly techtonik
I thought WST is already installed, because I have a bunch of plugins with WST prefix: org.eclipse.wst.common.core (1.1.201.v200806010600) "WST Common Core Plug-in" [Starting] org.eclipse.wst.common.environment (1.0.301.v200908101600) "Enviornment Plug-in" [Starting] org.eclipse.wst.common.framewor

Error on Dev mode startup in GWT 2.0.rc1

2009-12-04 Thread balachandra maddina
Hi There, Im getting following exception when i start my app in development mode. what could be the problem here? Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at com.google.gwt.dev.shell.log.SwingTreeLogger$LogEvent.getFullText(SwingTreeLogger.java:180) at com.google

Developement mode is not loading spring context

2009-12-04 Thread balachandra maddina
Hi There, Im using gwt 2.0.r1 and using gwt with spring but the spring context is not getting loaded when the dev mode is launched. i have a spring DidpatcherServlet configured in the web.xml and a xml configuration which has RemoteService implementation as spring beans with mappings. when i

Invitation to connect on LinkedIn

2009-12-04 Thread Hakan Eryargi
LinkedIn Hakan Eryargi requested to add you as a connection on LinkedIn: -- anoop, I'd like to add you to my professional network on LinkedIn. - Hakan Accept invitation from Hakan Eryargi http://www.linkedin.com/e/0KTeTtbYtbm5JbSbinTxnAy06bq

Re: How to debug a gadget using GWT 2.0 RC2

2009-12-04 Thread flyingb...@gmail.com
debug on ur local comp? On Dec 3, 11:55 pm, 3ala2 wrote: > I want to debug a gadget in iGoogle. In GWT 1.7 I used to put the URL > ashttp://www.google.com/ig. Now there is no possibility to do so. The > gadget doesn't have an html file to debug in development mode using > internal server. I need

Re: Trouble with fresh install of Eclipse Plugin 1.2rc2

2009-12-04 Thread Chris Ramsdale
I just checked and a fresh install of 3.5 doesn't have the Eclipse Web Developer Tools installed. Also, if I install the RC2 GPE without having installed the Eclipse Web Developer Tools I end up in the same state that you described. On Fri, Dec 4, 2009 at 9:41 AM, anatoly techtonik wrote: > I tho

Re: GWT and Eclipse Plugin: Compilation failed

2009-12-04 Thread mig
On Oct 28, 5:14 pm, Rajeev Dayal wrote: > If you take a look at your error log by going to Window->Show View->Error > Log, do you see any related exceptions? I have a similar problem compiling a new GWT project, but in my case the console shows: Compiling module com.xx.wvhelper.WaveHelper #

Re: Has any one written new annotations for GWT Client side ?

2009-12-04 Thread Jamie Gennis
Annotations in client code can be used during GWT's rebind phase of the compilation, but they are not accessible at runtime on the client side. GWT doesn't support much of Java's reflection functionality on the client side in order to keep the compiled Javascript code smaller. You can write a cus

Re: Error on Dev mode startup in GWT 2.0.rc1

2009-12-04 Thread Chris Ramsdale
It would be helpful if you could provide some snippet of source code that you believe is causing the problem here. Is it happening in your onModuleLoad(), is your onModuleLoad() even being called? With more info we'll be in a better position to offer up solutions. Thx. On Fri, Dec 4, 2009 at 9:59

Re: Error on Dev mode startup in GWT 2.0.rc1

2009-12-04 Thread balachandra maddina
Im not sure weather this is a code error, following is the error sequence 1. start the app in development mode 2. now at this point there are two tabs in the console 1. development mode 2. jetty 3. click on the jetty mode 4. here the jetty log has two messages at the bottom a. [WARN] Server r

blackberry support

2009-12-04 Thread Jim
Can the application developed in GWT be supported in Blackberry 8330, 8830, 9000, 9630 and 9700? -- 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-tool...@googlegroups.com. To unsubscribe from

DefaultStyles of Button

2009-12-04 Thread abhiram
Can someone tell me where can i get the default CSS which is being used for the button. I mean, i want the actual CSS of ".gwt-Button" Regards, Abhiram -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to

Re: Major memory leak with RPC, Internet Explorer and GWT 2.0 (MS1 & MS2)

2009-12-04 Thread mrpantsuit
I downloaded the Developer Channel version of Chrome, which has some nice heap analysis developer tools. I thought that perhaps my memory leaks were not restricted to IE, but were simply more pronounced on it. Turns out I had several memory leaks. I changed to use the GWT incubator progress bar

Re: DefaultStyles of Button

2009-12-04 Thread Jamie Gennis
The CSS depends on which theme you inherit in your .gwt.xml file. If you then you get this CSS file (note that that's the CSS you will get using the GW

Click vs. Double Click

2009-12-04 Thread Vince
Hello, Case : I am trying to implement Click and Double Click handlers to an HTML object (It's actually an extension of the HTML widget with an "implements HasDoubleClickHandlers" clause). Problem : The Click event gets caught twice before logic catches the onDoubleClick event. Question : Is th

Re: Major memory leak with RPC, Internet Explorer and GWT 2.0 (MS1 & MS2)

2009-12-04 Thread mrpantsuit
Regarding the XMLHttpRequest leak, it seems I just need to wait for the garbage collector to run. Does anyone know how to manually initiate garbage collection in Chrome (or in the other browsers, for that matter)? On Dec 4, 2:41 pm, mrpantsuit wrote: > I downloaded the Developer Channel version

Best css strategy

2009-12-04 Thread Zé Vicente
Hello all, I am 100% lost about where to define my css, how to use CssResource and etc. So, I have the following questions: 1. Where is the best place to define a css for a particular widget? Is it inside the .ui.xml file of this widget? 2. What if I want to allow the user to change the color sch

Re: OOPHM not connecting to Code Server

2009-12-04 Thread Chris Ramsdale
You may have already done this, but you'll want to make sure that you update your hosted.html that you are serving up as well. In working through some other upgrade scenarios, I forgot to update this file and my app ran but wasn't hitting any of my breakpoints. On Tue, Dec 1, 2009 at 2:44 PM, ahaw

Re: How to run GWT 2.0 RC2's hosted mode with another server?

2009-12-04 Thread Chris Ramsdale
I'm able to debug using an external Tomcat server by specifying the following args in my Web Application launch config: -noserver -startupUrl http://localhost:8080/test/go Where "localhost" is a Tomcat server and not the built in Jetty server. On Fri, Dec 4, 2009 at 2:49 AM, 3ala2 wrote: > Hey

Re: How to run GWT 2.0 RC2's hosted mode with another server?

2009-12-04 Thread Chris Ramsdale
Jan, It looks like you found an issue on our side. Given your project settings, the GPE is attempting to load GwtShell with the -style arg which has been removed. We have a fix in place for the 2.0 launch and in the meantime, if you want to continue using the RC2 plugin and SDK, you can do the fo

Re: OOPHM not connecting to Code Server

2009-12-04 Thread Adam Hawthorne
I think the issue was not having compiled once with 2.0, which should produce the new hosted.html, correct? Once I did that, many other things began to fail due to stray jars. After I finally waded through that mess, things worked well. On an unrelated note, are there any plans for a Chrome for

Re: RC2 and Eclipse Plugin

2009-12-04 Thread Chris Ramsdale
Startup URLs can be specified in the Arguments tab within your Web Application launch config. For example "-startupUrl http://localhost:8080/test/go"; (minus the quotes. On Fri, Dec 4, 2009 at 5:06 AM, John Patterson wrote: > Actually, where do you define the start url in your configuration? I >

Re: OOPHM not connecting to Code Server

2009-12-04 Thread Chris Ramsdale
Re: Chrome OOPHM on Linux - checkout this thread for more info: http://groups.google.com/group/google-web-toolkit-contributors/browse_thread/thread/6cfb8c41339702a7?pli=1 On Fri, Dec 4, 2009 at 5:24 PM, Adam Hawthorne wrote: > I think the issue was not having compiled once with 2.0, which should

Re: Need help getting panel fade to work properly

2009-12-04 Thread Rob Tanner
Gave up on 2.0 because of the "-style" bug (another thread) but did come up with a workaround to accommodate Firefox. Original code: DOM.setStyleAttribute(glass.getElement(), "height", "100%"); Workaround: DOM.setStyleAttribute(glass.getElement(), "height", new Integer(Window.getClientHeight()).to

Hosted Mode crashes OSX 10.6 GWT-1.7.1

2009-12-04 Thread mdwarne
Hi, I am trying to use GWT 1.7 under Mac OSX version 10.6.2. JRE: 1.6 (mac osx) I am using Eclipse 3.5.1. Safari 4.04 I am repeatedly getting random crashes like this: GWT quit unexpectedly while using the libgwt-ll.jnilib plugin. In the console I get a message: Invalid memory access of locati

How can I disable the browser's default right click response?

2009-12-04 Thread Rob Tanner
Hi, I want to add short context specific help messages when users right- click into a text box. Figuring out what button the pressed on the mouse is a near no-brainer, but how to disable the default browser response is a puzzler. I've figured out how to disable right clicks all together using t

Re: Hosted Mode crashes OSX 10.6 GWT-1.7.1

2009-12-04 Thread Jim Douglas
http://code.google.com/p/google-web-toolkit/issues/detail?id=4220#c22 On Dec 4, 3:24 pm, mdwarne wrote: > Hi, > > I am trying to use GWT 1.7 under Mac OSX version 10.6.2. > JRE:  1.6 (mac osx) > I am using Eclipse 3.5.1. > Safari 4.04 > > I am repeatedly getting random crashes like this: > GWT qu

Re: listbox that contains widgets instead of just text..

2009-12-04 Thread Jaimon
hi, thanks for the help :-) really learned something. but my problem is more UI related, i would like to have something that looks like dropdown and inside there are widgets. sorry if my question was not clear.. me On Nov 20, 7:44 am, Miroslav Genov wrote: > Hello, >  You could use MVP to make t