Background css gradient

2012-12-23 Thread Marco
I have seen that it's possible to use css gradient in gwt 2.5. http://code.google.com/p/google-web-toolkit/issues/detail?id=5771 I tried to set a css gradient to a simplepanel with both examples in bug 5771: .foo { background-image: literal(-ms-linear-gradient(top, #000 20%, #fff 80%));

Re: Background css gradient

2012-12-23 Thread Thomas Broyer
On Sunday, December 23, 2012 10:58:25 AM UTC+1, Marco wrote: I have seen that it's possible to use css gradient in gwt 2.5. http://code.google.com/p/google-web-toolkit/issues/detail?id=5771 I tried to set a css gradient to a simplepanel with both examples in bug 5771: .foo {

AJAX crawling scheme

2012-12-23 Thread Danny
Hey guys, I've read over at https://developers.google.com/webmasters/ajax-crawling/docs/getting-startedthat in order to make a GWT app more SEO-able, that we simply replace the original # with #! in all of our URLs. I can't figure out the best way to do this though in an Activities and Places

Re: Gwt 2.2, guice and gin...

2012-12-23 Thread Avanish Raju
Please help me. I've still not been able to resolve this. At least, any pointers as to why this might be happening? I tried to search online, but this thread is the only reference to this issue that I found. I've even tried to build guice from svn head, and added gin- and gin-src- jars to my

Re: AJAX crawling scheme

2012-12-23 Thread RyanZA
You generally need to do more than #! as GWT is all javascript.. However, cleanest approach is to make your own PlaceHistoryMapper - you can then control exactly how places are turned into tokens. You will also need to provide html snapshots though, which is a lot tougher... On Sunday,

Re: using autobeans in a gwt-rpc call

2012-12-23 Thread RyanZA
Really great option if you have the flexibility to use it - use RESTful services - https://www.google.co.za/search?q=RESTful On the server side you can use Jersey(JAX-RS) to make REST services that can use POJOs to automatically map to JSON/XML - http://jersey.java.net/ and

Re: Background css gradient

2012-12-23 Thread Marco
I tried this way now: *GradientStyle.css* .backgroundtoolbar { background-image: literal(-ms-linear-gradient(top, #000 20%, #fff 80%)); background-image: literal(-moz-linear-gradient(top, #000 20%, #fff 80%)); background-image: literal(-o-linear-gradient(top, #000 20%, #fff 80%));

Re: Background css gradient

2012-12-23 Thread Jens
Have you called IGradientStyle.INSTANCE.style().ensureInjected() ? Only when calling this method the CSS will be injected into your html page. Once it is injected this method becomes a no-op. -- J. -- You received this message because you are subscribed to the Google Groups Google Web

Re: Background css gradient

2012-12-23 Thread Andrei
I think you have wrong definitions of gradients, so browsers just ignore them. You don't need literal for non-IE browsers. Google a CSS gradient maker and use its output - I never had problems with gradients. -- You received this message because you are subscribed to the Google Groups Google

GWT application works perfectly fine in hosted/dev mode but its not working in production mode.

2012-12-23 Thread Vasu
My application on which I am working on, is working fine in dev / hosted mode. But when its compiled by GWT compiler and deployed in production, it was just showing blank. It was not showing any javascript errors on browser (firefox error console). I tried and confirmed searched on net but I

Re: using autobeans in a gwt-rpc call

2012-12-23 Thread Cenk Oguz
Sounds interesting, RestyGwt means moving away from gwt-rpc and making the services accessible from non-gwt clients as I understand. Will look into it, thx! On Sun, Dec 23, 2012 at 3:26 PM, RyanZA rya...@gmail.com wrote: Really great option if you have the flexibility to use it - use RESTful

Re: Background css gradient

2012-12-23 Thread Marco
@Jens When and where should I call: IGradientStyle.INSTANCE.style().ensureInjected() ? I called IGradientStyle.INSTANCE.style().ensureInjected() just before mySimplePanel .setStyleName(IGradientStyle.INSTANCE.style().backgroundtoolbar()); but without any effect. @Andrei: What kind of

Re: Background css gradient

2012-12-23 Thread RyanZA
background-image: literal(-ms-linear-gradient(top, #000 20%, #fff 80%)); You can't set a gradient as a background *image* - only images can be set with the background-image tag... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: jsni - overlay types - js arrays Java API

2012-12-23 Thread Sebastián Gurin
Thank you Thomas for your reply, I learned new things. Didn't know about if ( GWT.isScript() ) {you can cast the js array to java arrays directly }. I will definetly use those classes for my projects. Thanks again -- You received this message because you are subscribed to the Google Groups

Re: if change css, need restart the server?

2012-12-23 Thread tong123123
no luck in refresh twice, maybe really need to change to CssResource or ClientBundle. I am using maven, my css placed under public folder as the first post mention, change css in that place will not be reflected in development mode, still need restart server everytime, very trouble. -- You

Re: if change css, need restart the server?

2012-12-23 Thread tong123123
For more information, we found if using jetty server and development, changing css will reflect in browser in development mode, if using externaml sever, then even using development, changing css will not cause browse UI change. I have a look about cssResources at

Re: if change css, need restart the server?

2012-12-23 Thread RyanZA
Documentation is really bad for CSS resource - don't think there is even any CSS code in the documentation itself... Css file my.css would be placed in the same folder as 'MyResources.java' file If my.css looks like the following: .className { width:100px; } .something { width: 200px; }