Re: Changing css without recompiling

2013-11-12 Thread Ed
See: http://stackoverflow.com/questions/9147548/gwt-inject-css-on-runtime And search for StyleInjector (class) in this forum. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it,

Re: gwt-rawhistory on github

2013-11-12 Thread Thomas Broyer
Have you seen https://gwt-review.googlesource.com/5356 ? On Monday, November 11, 2013 5:25:26 PM UTC+1, Andy wrote: For a while I've been planning to move our gwt-traction library over to github. Over the weekend, I decided to start with RawHistory. RawHistory is a module that I suspect few

Re: Chained ListEditors

2013-11-12 Thread Thomas Broyer
From the code you sent me by mail, the problem is that you're editing B with a 'null' c and then call listEditor.setValue(newList) as an attempt to assign B.c. This won't work. You have to assign a non-empty list to B.c *before* you edit it (i.e. just after the context.create(B.class), before

Re: Best practice for injecting environment-specific settings

2013-11-12 Thread Thomas Broyer
Use a dynamic host page: http://www.gwtproject.org/articles/dynamic_host_page.html On Monday, November 11, 2013 7:47:22 PM UTC+1, geoffre...@gmail.com wrote: Hello, What is the best practice for injecting/configuring environment-specific settings inside GWT-generated JavaScript? For

Animate CellList (adding and removing objects via ListDataProvider)

2013-11-12 Thread Benjamin Tillman
Is it possible to animate a CellList when a new object is added to or removed from the list wrapped by a ListDataProvider? At the moment, the item just instantly appears, but since I'm using the CellList as a menu, I'd like to make it a little more obvious that a menu item is now

Re: gwt-rawhistory on github

2013-11-12 Thread Andy
No, I haven't. Thanks for the link! From a quick glance at the code, it's use of location.hash and encode/decode will likely still cause issues for us. Over the next few days, I'll try to create a version of my demo that uses the new code. It could be that my expectations are wrong, but I

Re: gwt-rawhistory on github

2013-11-12 Thread Juan Pablo Gardella
FYI URL encoding: http://blog.lunatech.com/2009/02/03/what-every-web-developer-must-know-about- url-encoding 2013/11/12 Andy pula...@gmail.com No, I haven't. Thanks for the link! From a quick glance at the code, it's use of location.hash and encode/decode will likely still cause issues for

Re: gwt-rawhistory on github

2013-11-12 Thread Andy
That's a great reference. It doesn't really explain what I'm seeing, but it's well written. On Tuesday, November 12, 2013 8:18:10 AM UTC-5, Juan Pablo Gardella wrote: FYI URL encoding: http://blog.lunatech.com/2009/02/03/what-every-web-developer-must-know-about- url-encoding 2013/11/12

Re: Chained ListEditors

2013-11-12 Thread almagnit
Big thanks Thomas You're absolutely right вторник, 12 ноября 2013 г., 13:43:31 UTC+4 пользователь Thomas Broyer написал: From the code you sent me by mail, the problem is that you're editing B with a 'null' c and then call listEditor.setValue(newList) as an attempt to assign B.c. This

Re: gwt-rawhistory on github

2013-11-12 Thread Andy
I should have mentioned that the example I showed above was for Safari. Firefox does something different: A link for: fun/()(amp;)(%26)(%2526)/(%23)/(+)(%2B)(%20)(%252B)(%2520)/%E7%A6%85 becomes: Safari/Chrome: fun/()(amp;)(%26)(%26)/(#)/(+)(%2B)( )(%2B)(%20)/禅 Firefox:

GWT DATAGRID CSS

2013-11-12 Thread Sergio Antonio Ochoa Martinez
Hola me podrian ayudar en como puedo modificar los estilos de Datagrid. Encontre una forma que es esta public interface DataGridResources extends DataGrid.Resources { @Source(value = { DataGrid.Style.DEFAULT_CSS, com/openkm/frontend/public/dataGrid.css }) DataGrid.Style

Re: GWT DATAGRID CSS

2013-11-12 Thread Thomas Broyer
see https://code.google.com/p/google-web-toolkit/issues/detail?id=6144 On Tuesday, November 12, 2013 8:03:06 PM UTC+1, Sergio Antonio Ochoa Martinez wrote: Hola me podrian ayudar en como puedo modificar los estilos de Datagrid. Encontre una forma que es esta public interface

Re: Best practice for injecting environment-specific settings

2013-11-12 Thread Geoffrey Arnold
Thanks Thomas. `Dictionary` is almost exactly what we need, however our GWT JavaScript is being loaded in an anonymous function so the variables aren't being set at `Window` scope. And unfortunately we don't have the ability to change this because a customer is loading our script. Other

Re: Best practice for injecting environment-specific settings

2013-11-12 Thread Jens
And unfortunately we don't have the ability to change this because a customer is loading our script. Then you don't have a host page under your control anyways or am I wrong? Other thoughts? You could misuse GWT's I18N Constants interface. It basically maps a typically Java

Re: synchronization problem with rpc calls

2013-11-12 Thread Paul Robinson
In the callback for the click on the hyperlink, disable the hyperlink so it can't be clicked twice. In your RPC callback, you can enable it again in the onFailure method. Presumably it should stay disabled in your onSuccess method. That will stop people from asking for two games with a double

[gwt-contrib] Problem on sample Validation due to missing class in gwt-servlet

2013-11-12 Thread Cristiano
Hi All, I'm making some test on the validation example from the gwt source code samples, it runs ok from Eclipse, but when I deploy to both Glassfish or Apache Karaf (a OSGi container), I get the following NoClassDefFoundError: [In Glassfish] Exception while dispatching incoming RPC call

[gwt-contrib] Re: Problem on sample Validation due to missing class in gwt-servlet

2013-11-12 Thread Thomas Broyer
On Tuesday, November 12, 2013 3:20:43 PM UTC+1, Cristiano wrote: So, I ask you: 1. should gwt-servlet also include com.google.gwt.thirdparty.streamhtmlparser classes? IMO yes. It's currently in gwt-servler-deps IIRC, but that one should only contain external deps that can be retrieved

[gwt-contrib] Re: Problem on sample Validation due to missing class in gwt-servlet

2013-11-12 Thread Cristiano
apparently the package com.google.gwt.thirdparty does not included into gwt-servlet as it is neither in ${gwt.dev.bin} or in ${gwt.user.bin}... I'm trying to build a GWT that include it to see if then validation example could work after that. thank you Thomas for let me note it is included in

[gwt-contrib] Re: Problem on sample Validation due to missing class in gwt-servlet

2013-11-12 Thread Jens
Just wanted to throw in that if you use GWT's remote logging along with source maps then the StackTraceDeobfuscator also needs some classes from gwt-servlet-deps. As I think it's a pretty common scenario nowadays to enable source maps where possible you maybe should handle this case as well.

Re: [gwt-contrib] Re: Problem on sample Validation due to missing class in gwt-servlet

2013-11-12 Thread Cristiano Costantini
2013/11/12 Jens jens.nehlme...@gmail.com Just wanted to throw in that if you use GWT's remote logging along with source maps then the StackTraceDeobfuscator also needs some classes from gwt-servlet-deps. As I think it's a pretty common scenario nowadays to enable source maps where possible

Re: [gwt-contrib] Re: Problem on sample Validation due to missing class in gwt-servlet

2013-11-12 Thread Thomas Broyer
On Tuesday, November 12, 2013 5:37:36 PM UTC+1, Cristiano wrote: 2013/11/12 Jens jens.ne...@gmail.com javascript: Just wanted to throw in that if you use GWT's remote logging along with source maps then the StackTraceDeobfuscator also needs some classes from gwt-servlet-deps. As I think

Re: [gwt-contrib] Re: Problem on sample Validation due to missing class in gwt-servlet

2013-11-12 Thread Cristiano
so, FYI, validation example worked on karaf after compiling GWT Servlet with embedded streamhtmlparser-jsilver-r10-1.5-rebased.jar the examples can be found here: https://github.com/cristcost/gwt-karaf-examples but they are a little too messy yet... I now want to focus on making work on OSGi

[gwt-contrib] Doesn't Leeroy like Java 7 syntax?

2013-11-12 Thread Jens
If you take a look at https://gwt-review.googlesource.com/#/c/5372/2/user/src/com/google/gwt/event/dom/client/DomEvent.java https://gwt-review.googlesource.com/#/c/5372/2/user/test/com/google/gwt/event/dom/client/DomEventTest.java Leeroy has commented some strange EOF errors. I have then removed

[gwt-contrib] Re: Doesn't Leeroy like Java 7 syntax?

2013-11-12 Thread Thomas Broyer
On Wednesday, November 13, 2013 12:00:49 AM UTC+1, Jens wrote: If you take a look at https://gwt-review.googlesource.com/#/c/5372/2/user/src/com/google/gwt/event/dom/client/DomEvent.java