Re: Correct GWT 2.0 way to replace calls to deprecated StyleInjector.injectStylesheet and StyleInjector.setContents

2009-12-20 Thread uwfrog
try MyCssResource css = GWT.create(MyCssResource.class); css.ensureInjected(); http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/index.html?com/google/gwt/resources/client/CssResource.html On Dec 20, 8:33 pm, Dazza dazzacoll...@gmail.com wrote: I have an existing GWT project that uses

Re: MVP + UiBinder, thoughts?

2009-12-01 Thread uwfrog
I found MVP works great with UiBinder. MVP pattern abstracts logic from widget so that most of logic(i.e., calculation, rpc calls) can be mocked and tested in plain junit test cases separately from those have to be run in GWTTestCases. What's left in the V part are now layout code in the widget

Re: To find loading time.....

2009-10-29 Thread uwfrog
Try DebugPanel http://code.google.com/webtoolkit/doc/1.6/DevGuideTesting.html#DevGuideLightweightMetrics Hope it helps. On Oct 29, 7:41 am, Ramesh nitt.ram...@gmail.com wrote: Hi All,         Im using Ext gwt along with hibernateIm having ten grids added to a portal...Each grid has 1000

[gwt-contrib] How is benchmark going to work with oophm in 2.0?

2009-07-25 Thread uwfrog
Hi there, I found benchmark handy to measure the capabilities of the app I was working on. I just wondered how it (or generally gwt unit test) is going to work with oophm in 2.0. Is it able to run in browsers with plug-in installed or still in the current way? Please shed some light on it.

Re: Help needed - Working with ClientBundle

2009-06-30 Thread uwfrog
() { == StyleInjector.injectStylesheet(HelloWorldResources.INSTANCE.css ().getText()); HTML html = new HTML(Hello World!); html.setStyleName(HelloWorldResources.INSTANCE.css().message()); RootPanel.get().add(html); } On Jun 28, 2:03 am, uwfrog alfred.qy...@gmail.com wrote

Help needed - Working with ClientBundle

2009-06-28 Thread uwfrog
I have been trying to get ClientBundle working over the weekend. I got the css selector obfuscation working, however, the browser somehow is not showing what is specified in the css file. Is there someone could help me out? Here is what i did. It is a minimum hello world setup with a css selector

[gwt-contrib] Re: Possible currupted ff plugin for OOPHM?

2009-06-21 Thread uwfrog
Forgot to include the browser info. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/ 2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729) On Jun 21, 7:37 pm, uwfrog alfred.qy...@gmail.com wrote: Maybe I was so out-of-date that I just tried out the OOPHM this weekend... I had

[gwt-contrib] Possible currupted ff plugin for OOPHM?

2009-06-21 Thread uwfrog
Maybe I was so out-of-date that I just tried out the OOPHM this weekend... I had the hosted mode launched successfully from eclipse, but I had a problem installing firefox plugin which became a show stopper. Here is what I did. 1. download