GWT Internal Compiler Exception

2012-08-27 Thread Magnus
Hello, when compiling a GWT project in Eclipse, an internal compiler exception is reported. See the console output below. (Compiling with log level debug produced too much output.) What is going on there? GWT 2.4, Eclipse Juno, using eclipse plugin Magnus Compiling module bcs.bcs

Re: SuggestBox implementation

2012-08-27 Thread Ümit Seren
It depends how you want to access your backend. Assuming you do a normal Ajax call you could do something like this: private ListCustomSuggestion getMatchingCities(String query, int limit) { ListCustomSuggestion list = new ArrayListCustomSuggestion(); RequestBuilder request = new

How to switch css-Obfuscation ON?

2012-08-27 Thread tanteanni
i know how to switch css obuscation off: set-configuration-property name=CssResource.style value=pretty/ this is don in my default gwt.xml. But how to turn it on again - in my ci.gwt.xml/ release.gwt.xml? i asked this already at

Re: UiBinder ERROR: Attribute 'from' does not have a computed value Element

2012-08-27 Thread Thomas Broyer
On Monday, August 27, 2012 7:50:02 AM UTC+2, jopaki wrote: An compile error like can't implement the constants interface: It must implement TextResource or _. I forget the other type the error states. My semantics here are: interface MyResources extends ClientBundle {

Re: How to switch css-Obfuscation ON?

2012-08-27 Thread Thomas Broyer
On Monday, August 27, 2012 9:40:25 AM UTC+2, tanteanni wrote: i know how to switch css obuscation off: set-configuration-property name=CssResource.style value=pretty/ this is don in my default gwt.xml. But how to turn it on again - in my ci.gwt.xml/ release.gwt.xml? i asked this already

Re: How to switch css-Obfuscation ON?

2012-08-27 Thread tanteanni
thx i'll try i read the mentiond doc already but the comment above the code was somehow misleading: !-- This can be used to make CssResource produce human-readable CSS -- On Monday, 27 August 2012 10:07:02 UTC+2, Thomas Broyer wrote: On Monday, August 27, 2012 9:40:25 AM UTC+2, tanteanni

Re: UiBinder ERROR: Attribute 'from' does not have a computed value Element

2012-08-27 Thread jopaki
ahh - and therein lies the rub. ty! On Mon, Aug 27, 2012 at 1:01 AM, Thomas Broyer t.bro...@gmail.com wrote: On Monday, August 27, 2012 7:50:02 AM UTC+2, jopaki wrote: An compile error like can't implement the constants interface: It must implement TextResource or _. I forget the

Re: How to switch css-Obfuscation ON?

2012-08-27 Thread Thomas Broyer
On Monday, August 27, 2012 11:09:25 AM UTC+2, tanteanni wrote: thx i'll try i read the mentiond doc already but the comment above the code was somehow misleading: !-- This can be used to make CssResource produce human-readable CSS -- It should be understood as defaults to obfuscating

CellTable TextInputCell styling

2012-08-27 Thread Richard
I've been trying out various methods of getting a table-like page for 1-10 rows of data for an invoice editor. One approach uses the CellTable and 5 columns containing TextInputCells. I want to style them with a specific border, and each column has a different width. After much head-knocking

Re: Best serverside architecture(framework/stack) to use with GWT for large application...please show me the light

2012-08-27 Thread Derek
I use Guice on the server side and GIN on the client side. I generally use DTOs over GWT-RPC since RequestFactory isn't what I need / want to migrate to. On Saturday, August 25, 2012 7:48:12 PM UTC-4, GWTter wrote: Hi all, I've been doing research on this for the past 2, almost 3 days now.

Re: enable closure compiler

2012-08-27 Thread Alex opn
After reading this I thought I'd give it a try, too and got the same error: [ERROR] Unexpected internal compiler error [INFO] java.lang.IllegalStateException: Expected non-empty string. Reference node STRING Any hints? : ) Am Sonntag, 26. August 2012 23:59:09 UTC+2 schrieb Deepak

Re: SuggestBox implementation

2012-08-27 Thread Deepak Singh
I understand this. But my question is how do i implement CustomSuggestOracle.java What will be implementation of the method getMatchingCities() in customSuggestionOracle ? Thanks Deepak On Mon, Aug 27, 2012 at 12:42 PM, Ümit Seren uemit.se...@gmail.com wrote: It depends how you want to access

Re: SuggestBox implementation

2012-08-27 Thread Ümit Seren
it depends how you access your backend? How do you transmit your DTO's from the backend to the frontend? Manually parsing JSON? RequestFactory? RPC? On Mon, Aug 27, 2012 at 4:49 PM, Deepak Singh deepaksingh...@gmail.com wrote: I understand this. But my question is how do i implement

Re: enable closure compiler

2012-08-27 Thread Thomas Broyer
On Monday, August 27, 2012 4:13:24 PM UTC+2, Alex opn wrote: After reading this I thought I'd give it a try, too and got the same error: [ERROR] Unexpected internal compiler error [INFO] java.lang.IllegalStateException: Expected non-empty string. Reference node STRING Any

Re: DART vs. GWT

2012-08-27 Thread Ryan Shillington
Google is an incubator. They throw a lot of darts at the wall to see what sticks (pun intended). When you have 10 irons in the fire, one or 2 of them are bound to glow hot. There's no reason to believe that Dart will win over GWT in the next 2-3 years if you're building something of modest

Re: enable closure compiler

2012-08-27 Thread Alex opn
Thanks for pointing this out! Google didn't come up with the issue. Trying with the new GQuery-Snapshot now. Am Montag, 27. August 2012 17:32:03 UTC+2 schrieb Thomas Broyer: On Monday, August 27, 2012 4:13:24 PM UTC+2, Alex opn wrote: After reading this I thought I'd give it a try, too and

SOME KIND OF SOLVED #-) - GWT Internal Compiler Exception

2012-08-27 Thread Magnus
Hi, for your interest: The source file and line number above (Supervisor.java, 262) pointed to an unused method. I commented it out and the compiler exception disappeared. Here is the method: private static void sleepLocal (long ms) { try { Thread.sleep (ms); } catch

Annotated time Line (GWT-Visualization) question

2012-08-27 Thread Endovélico
Is there a way to edit (read, the way the text is shown) the left-upper line on the annotated time line graph of the GWT-Visualization library? Im talking about the line that goes like '1y 1m 2w 5d 1h'... -- You received this message because you are subscribed to the Google Groups Google Web

Re: Annotated time Line (GWT-Visualization) question

2012-08-27 Thread Endovélico
I should have mentioned, im using the GWT porter library. Em segunda-feira, 27 de agosto de 2012 17h22min32s UTC+1, Endovélico escreveu: Is there a way to edit (read, the way the text is shown) the left-upper line on the annotated time line graph of the GWT-Visualization library? Im

Re: Gin module binding using annotatedWith and AsyncProvider

2012-08-27 Thread Steve C
Well, I have to apologize - I have it working now, although I don't think I actually changed anything related to the problem. FYI, the error message I printed was incorrect and *not *the cause of the problem - the actual annotation I was using was indeed @Async and not @Special, which I

Re: Gin module binding using annotatedWith and AsyncProvider

2012-08-27 Thread Steve C
Well, I have to apologize - I have it working now, although I don't think I actually changed anything related to the problem. FYI, the error message I printed was incorrect and *not *the cause of the problem - the actual annotation I was using was indeed @Async and not @Special, which I

implement equals in entityproxy

2012-08-27 Thread FrugoFrog
Hi there I have 2 CellLists with EntityProxies. I want to add a selected item from one only if it is not present in the other. Is there a better way to do this than: a) creating a wrapper object implementing equals and using list.contains b) comparing all selected elements to each element in the

Re: CellTable - Synchronization problem with AsyncDataProvider

2012-08-27 Thread Magnus
Hello, when I add a delay of 1 sec before the reload it works. So there must still be some sync problem... What can I test next? Magnus - public void setFilter (UserFilter flt) { sel.setFilter(flt); this.flt = flt; //reload (); delayedReload (); } public void delayedReload

FF DevMode plugin + Memory leaks (+ Address already in use)

2012-08-27 Thread Chris Lercher
When I analyze a DevMode process's memory usage (e.g. using jconsole), it shows that Heap and Non-Heap (PermGen) Memory usage increases, whenever the page is reloaded. This happens both when I run DevMode with Firefox 14, as well as Chrome 21. The difference is however, that - with Chrome,

Re: SuggestBox implementation

2012-08-27 Thread Deepak Singh
I would be using RPC and returning the ListDTO. Then how should i go ahead for implementation of CustomSuggestOracle ? On Mon, Aug 27, 2012 at 8:26 PM, Ümit Seren uemit.se...@gmail.com wrote: it depends how you access your backend? How do you transmit your DTO's from the backend to the

Re: enable closure compiler

2012-08-27 Thread Deepak Singh
Can i also have the new Gwtquery-snapshot to avoid this error ? On Mon, Aug 27, 2012 at 9:23 PM, Alex opn opn...@gmail.com wrote: Thanks for pointing this out! Google didn't come up with the issue. Trying with the new GQuery-Snapshot now. Am Montag, 27. August 2012 17:32:03 UTC+2 schrieb

CellTable - style specific columns

2012-08-27 Thread Kevin Buikema
I'm using a CellTable element via UIBinder, and I'm trying to come up with a way to simply style specific columns in the table to make them look distinct. To make it as simple as possible, I set up a separate css style for them: .special_column_style { background-color: pink; } and used the

Re: enable closure compiler

2012-08-27 Thread Alex opn
You can get it here: http://code.google.com/p/gwtquery/wiki/Downloads?tm=2 Direct Download: https://oss.sonatype.org/content/repositories/snapshots/com/googlecode/gwtquery/gwtquery/1.1.1-SNAPSHOT/gwtquery-1.1.1-20120724.210322-26.jar Maven users of the SNAPSHOT version you have to add these

Re: enable closure compiler

2012-08-27 Thread Alex opn
Sorry for double post : ) Forgot to say that using the snapshot indeed solved the problem. Am Montag, 27. August 2012 22:14:46 UTC+2 schrieb Alex opn: You can get it here: http://code.google.com/p/gwtquery/wiki/Downloads?tm=2 Direct Download:

Re: CellTable - style specific columns

2012-08-27 Thread Kevin Buikema
Doing some additional debugging, it appears the browser is unable to locate special_column_style, because GWT translates the css file into it's own custom resource. Is there some way I can figure out what GWT transforms my css into, so I can set that style class for a column? -- You received

Override body style with CssResource

2012-08-27 Thread Charles Chan
Hi, I am relatively new to GWT. I am creating a GWT application that will be embedded into a DIV of an existing webapp . Obviously, I would like to keep the existing webapp's styling, especially on the common elements, e.g. body, td, select, etc. I've read that CssResource is the way to go.

Re: enable closure compiler

2012-08-27 Thread Deepak Singh
So what's benefit of this closure compiler ? On Tue, Aug 28, 2012 at 1:46 AM, Alex opn opn...@gmail.com wrote: Sorry for double post : ) Forgot to say that using the snapshot indeed solved the problem. Am Montag, 27. August 2012 22:14:46 UTC+2 schrieb Alex opn: You can get it here:

Re: Best serverside architecture(framework/stack) to use with GWT for large application...please show me the light

2012-08-27 Thread GWTter
Hi Derek, Thanks a lot for the reply. I did consider Guice for DI on the serverside but not sure if it would be redundant if using a framework like Spring. I do want to utilize RF though as it has a nice set of features which I'd like to include, e.g. caching and only delta posts. And I'll

Re: Best serverside architecture(framework/stack) to use with GWT for large application...please show me the light

2012-08-27 Thread GWTter
Hi all, I also posted this question on SO and revised it a little since, but received one really great response so far if anyone is interested: http://stackoverflow.com/questions/12132213/recommended-serverside-architectureframework-stack-to-use-with-gwt-for-large-a -- You received this

Re: enable closure compiler

2012-08-27 Thread Thomas Broyer
On Monday, August 27, 2012 11:08:53 PM UTC+2, Deepak Singh wrote: So what's benefit of this closure compiler ? See https://developers.google.com/events/io/sessions/gooio2012/218/ at 9'00, slide #9 -- You received this message because you are subscribed to the Google Groups Google Web

Re: CellTable - style specific columns

2012-08-27 Thread Jens
How have you specified your CSS? Do you use UiBinder with inline CssResource? If so, take a look at https://developers.google.com/web-toolkit/doc/latest/DevGuideUiBinder#Programmatic_access . Instead of adding special_column_style to the column you would call the CssResource method for that

Re: enable closure compiler

2012-08-27 Thread opn
In my case the generated javascript is about 10% smaller now. Can't tell exactly because I just made a quick test and the compileReport flag is ignored with the closure compiler enabled. I read on g+ some time ago that some people had even better results (I think up to 20% and more code size

Re: Override body style with CssResource

2012-08-27 Thread Charles Chan
I should correct myself that it's not really a flash (which implies a page refresh). Instead, I saw the Standard stylesheet applied and then in a split second, my stylesheet is applied. Charles On Monday, August 27, 2012 4:49:07 PM UTC-4, Charles Chan wrote: Hi, I am relatively new to GWT.

Re: FF DevMode plugin + Memory leaks (+ Address already in use)

2012-08-27 Thread Brian Slesinsky
That's an interesting report. We always want to garbage collect the ClassLoader when the session is over and if that doesn't happen, it's a bug. I don't know why Firefox would behave differently; the JVM side should work the same way for Firefox versus Chrome. The only thing I can think of is

Re: SOME KIND OF SOLVED #-) - GWT Internal Compiler Exception

2012-08-27 Thread Brian Slesinsky
Thread and InterruptedException aren't available in JavaScript. Possibly some change in a different file caused the compiler to reach this file when it was never reached before (because it's unused). You could confirm this by rolling back to a previous version of your source code and

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-08-27 Thread jopaki
So all this form/FormPanel mangling implies that the form tag is required to be present in the original markup yes? Otherwise, one could just have the username and password fields in the orig. markup and manually submit to server by trapping an onclick to a simple button and then construct the

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-08-27 Thread Craig Mitchell
Correct. The form must be the thing doing the submit. Although, as I pointed out, Chrome stopped working with a JavaScript call to trigger the form to submit. So I now let the form do its own submit. All I use GWT for is positioning the widgets. It sucks, but it's the only way I could get

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-08-27 Thread jopaki
Gotcha. Thanks much for the quick reply and good info! - j On Monday, August 27, 2012 10:47:18 PM UTC-7, Craig Mitchell wrote: Correct. The form must be the thing doing the submit. Although, as I pointed out, Chrome stopped working with a JavaScript call to trigger the form to submit. So

[gwt-contrib] devmode for Firefox 15

2012-08-27 Thread Brian Slesinsky
It looks like we're going to be late getting the plugin updated for Firefox 15 (which releases tomorrow); I have it working on Linux, but I'm still working out how to build on the Mac and I don't know the status on Windows. While I'm here, does anyone know what the deal is with 32-bit versus