Re: Placement of boot script in body vs. head

2012-11-09 Thread Michael Allan
Hi Thomas, > > > You must have JavaScript enabled blah blah blah > > > document.write("
Loading…<" + "/div>"); > > > > With the first thing you do in the onModuleLoad is > Document.get().getElementById('loading').removeFromParent(); > > The "bootstrap script" is "as e

DataGrid - Click to select row, click again to deselect row

2012-11-09 Thread Joshua Godi
Is there an easy way to create a data grid, where when the user selects a row to select it. Then, when the user selects the same row again, the row will deselect? I have been trying to use a NoSelectionModel and keeping the last selected, but you aren't able to use selectionModel.setSelected(ob

Re: Roadmap GWT?

2012-11-09 Thread Daniel Kurka
I also have been touring around talking about mgwt and phonegap. You should definitely take a look at the gerrit and git setup that Matthew has already managed. I just patched a small issue using it and it works like a charm. -Daniel On Friday, November 9, 2012 9:22:00 PM UTC+1, Mike Brock w

Re: GWT 2.5 Validation problem

2012-11-09 Thread Daniel Mauricio Patino León
Seems that Superdev mode doesn't recompile the proxies I did a recompile of all the project. now works Fri Nov 09 14:51:20 GMT-600 2012 Validation INFO: informacionAduanera.fecha informacionAduanera.fecha notNull 8868B8CCE0C8FEE0ACC285CD147AC8B1.cache.js:13326

GWT 2.5 Validation problem

2012-11-09 Thread Daniel Mauricio Patino León
I want to validate a child Proxy (@Embeddable) on an EntityProxy with the new Validation frame work but i have a problem The code looks some thing like this: @ProxyFor(locator=BaseEntityLocator.class, value=Producto.class) public interface ProductoProxy extends EntityProxy { public void setInf

Re: Roadmap GWT?

2012-11-09 Thread Mike Brock
For the record, I am still touring the world. =) I'm speaking at the Silicon Valley JUG (http://www.meetup.com/sv-jug/events/87379262/), the Vancouver JUG two days later (http://www.vanjug.com/events/90557972/?eventId=90557972&action=detail), Beijing 5 days later, Seoul 3 days after that, and

Re: Security in gwt application.

2012-11-09 Thread Joseph Lust
But the only doc.write in either version of computeScriptBase is clearly a string literal, not an injection worry. Perhaps tha was generated by something else. // If the user renamed their script tag, we'll use a fancier method to find // it. Note that this will not work in the Late Loading

Re: Security in gwt application.

2012-11-09 Thread Matthew Dempsky
It looks like that code comes from dev/core/src/com/google/gwt/core/ext/linker/impl/computeScriptBase.js or computeScriptBaseOld.js. On Thu, Nov 8, 2012 at 10:37 PM, Anuradha bhat wrote: > Hi , >We have developed a gwt application. We foundDOM based cross site > scripting issue in our .nocah

Re: Ways to detect a site is running GWT?

2012-11-09 Thread Joseph Lust
That was the ticket Thomase. Too bad Google sites don't bother to present the version, but perhaps it is an obscurity/security justification. Still, my point in doing this is to raise GWT awareness, so advertising the presence of GWT is more important than a precise version number. var gwtVersi

Re: Ways to detect a site is running GWT?

2012-11-09 Thread Thomas Broyer
On Friday, November 9, 2012 6:05:44 PM UTC+1, Joseph Lust wrote: > > Oh, but one other question, that I'm totally stumped on. Is there any way > to get the version of GWT something was compiled with? I'm doubtful that it > is even in the compiled output, and would prefer not to come up with a l

Re: Ways to detect a site is running GWT?

2012-11-09 Thread Joseph Lust
Oh, but one other question, that I'm totally stumped on. Is there any way to get the version of GWT something was compiled with? I'm doubtful that it is even in the compiled output, and would prefer not to come up with a list of objects that changed with different releases to try to guess the ve

Re: How can I add context menu to RichTextArea?

2012-11-09 Thread Andrei
Try this: http://stackoverflow.com/questions/1613658/gwt-context-menu-in-richtextarea -- 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/-/YfLxkGcmT

Re: Ways to detect a site is running GWT?

2012-11-09 Thread Joseph Lust
Thanks guys. My apologies as I know my initial suggestions were very superficial an fragile depending on the linker used and implementer preferences, but I knew you would have some robust suggestions. After looking at hotelme.com, Blogger, Google Groups, and Orkut, all are using two or more of

Re: Roadmap GWT?

2012-11-09 Thread Brian Slesinsky
On Monday, November 5, 2012 6:56:29 AM UTC-8, Thomas Broyer wrote: > > > > On Monday, November 5, 2012 3:41:26 PM UTC+1, Ryan Shillington wrote: >> >> To be a little more blunt than Christian - I would like to see some >> results from the Steering committee. I don't care about timelines as much

Re: Problem installing gwt developer plugin on Chrome/Windows 8

2012-11-09 Thread Thomas Broyer
On Friday, November 9, 2012 12:16:17 PM UTC+1, Luigi Viggiano wrote: > > Hi everybody. > > we are having a problem with a Windows 8 laptop and Chrome, which is > refusing to install the gwt developer plugin. > > Is this a known issue, and is there a workaround to the problem? > See my comment in

Re: Ways to detect a site is running GWT?

2012-11-09 Thread Jens
> > >1. Look for *.nocache.js files in body - but this could trigger on non >GWT sites if someone likes that name/scheme > > Can produce false positive as well as false negatives. I think you can rename "nocache" to anything and, like in Google Groups, you don't have to use the *.nocach

Re: Ways to detect a site is running GWT?

2012-11-09 Thread Thomas Broyer
On Friday, November 9, 2012 4:16:06 PM UTC+1, Joseph Lust wrote: > > I really enjoy the extension Library Detector for > Chromesince I can > see what JS libs a site is running at a glance. However, it > does not support GWT. I've forke

Problem installing gwt developer plugin on Chrome/Windows 8

2012-11-09 Thread Luigi Viggiano
Hi everybody. we are having a problem with a Windows 8 laptop and Chrome, which is refusing to install the gwt developer plugin. Is this a known issue, and is there a workaround to the problem? Thanks. Luigi. -- You received this message because you are subscribed to the Google Groups "Googl

Re: Roadmap GWT?

2012-11-09 Thread Ryan Shillington
Thanks Thomas, that's a start. I was hoping for something more than that, but I guess I'll be patient. When is the next SC meeting / decision point? On Friday, November 9, 2012 4:01:32 AM UTC-6, Thomas Broyer wrote: > > > > On Friday, November 9, 2012 2:56:00 AM UTC+1, Joseph Lust wrote: >> >>

Ways to detect a site is running GWT?

2012-11-09 Thread Joseph Lust
I really enjoy the extension Library Detector for Chromesince I can see what JS libs a site is running at a glance. However, it does not support GWT. I've forked it to add this functionality and have been trying to think of a good meth

Re: ImageBundle + PNG transparency + GWT 2.3

2012-11-09 Thread Joseph Lust
GWT does not support IE5. Further, ancient browsers don't not support dataurl's either, which are how GWT commonly sprites small images on modern browsers. Still, there is hope, according to the docs

Re: Problem to deploy application after upgrade to 2.5

2012-11-09 Thread Thomas Lefort
Following the post https://groups.google.com/forum/#!msg/google-web-toolkit/DUwXLpyMmbk/zSk2-qEXO44J - I had a spurious requestfactory-servlet jar in my libs, I removed it and it worked. On Friday, 9 November 2012 13:56:55 UTC+1, Thomas Lefort wrote: > > I upgraded to 2.5 recently. Everything w

Re: Security in gwt application.

2012-11-09 Thread Joseph Lust
Set the compiler *style* to *PRETTY* as it will be much easier to understand what is doing this if the code is not being obfuscated. However, what is the apparent issue with this code. It appears it appends the DOM and is looking at the current location of that page. As long as you use the Saf

Problem to deploy application after upgrade to 2.5

2012-11-09 Thread Thomas Lefort
I upgraded to 2.5 recently. Everything works fine in hosted mode, but when I compiled and deployed under jetty 6.x I get the following error: Exception while dispatching incoming RPC call java.lang.NoSuchFieldError: CHARSET_UTF8 at com.google.gwt.user.server.rpc.impl.SerializabilityUtil.gen

Re: Roadmap GWT?

2012-11-09 Thread Paul Robinson
On 09/11/12 10:01, Thomas Broyer wrote: > no decision were made, except for welcoming JetBrains as a new SC member. That's a good example of something that should have been posted to the SC group. Paul -- You received this message because you are subscribed to the Google Groups "Google Web Too

Re: Roadmap GWT?

2012-11-09 Thread Thomas Broyer
On Friday, November 9, 2012 2:56:00 AM UTC+1, Joseph Lust wrote: > > Are the calls/meetings still regular? I had thought they were going to be > Hangouts and recorded, but there is little mention of anything on the forum. > There hasn't been any other meeting. Several SC members were touring th

Re: ListDataProvider and VM use up memory

2012-11-09 Thread Ümit Seren
Hibernate has a first level cache which is caches object for the duration of the session. However in your case multiple users may access the same list and this might happen the context of different sessions. For that reason you can use second level caches: See here: http://www.javalobby.org/java/