Re: GWT 2.8.2 and Jetty Embedded - com.google.gwt.dev.jjs.InternalCompilerException: Error constructing Java AST

2018-02-27 Thread Chris
Thank you Thomas. This is super helpful. Chris On Tuesday, February 27, 2018 at 7:18:12 AM UTC-5, Thomas Broyer wrote: > > See https://github.com/tbroyer/gwt-maven-archetypes > You'll have to update things a bit of course as these generate WARs that > you run in developme

Re: GWT 2.8.2 and Jetty Embedded - com.google.gwt.dev.jjs.InternalCompilerException: Error constructing Java AST

2018-02-26 Thread Chris
Thanks Thomas, can you point me to any examples of GWT projects split into multiple maven modules? I'll head that route. Thanks again. Chris On Monday, February 26, 2018 at 2:03:29 PM UTC-5, Thomas Broyer wrote: > > apache-jsp brings Eclipse JDT, which causes the conflict. > >

GWT 2.8.2 and Jetty Embedded - com.google.gwt.dev.jjs.InternalCompilerException: Error constructing Java AST

2018-02-26 Thread Chris
plication be be downloaded from: https://www.dropbox.com/s/1myj5o3dpq9bzxt/gwt_jetty.zip?dl=0 Really appreciate any help in this. Thanks, Chris Here is the GWTC output: *--- *gwt-maven-plugin:2.8.2:compile *(default)* @ my-app* ---* [*INFO*] Compiling module com.mycompany.app.MyWebApp [*IN

Re: JsInterop Shared Model + REST API

2017-11-21 Thread Chris L
ntermediate collection types. > > https://github.com/GWTReact/gwt-interop-utils/blob/master/DOCUMENTATION.md > > > > On Saturday, November 18, 2017 at 3:52:09 AM UTC-5, Chris L wrote: >> >> I'm trying to create a shared model in my GWT 2.8.2 application that I >>

JsInterop Shared Model + REST API

2017-11-18 Thread Chris Lapes
I'm trying to create a shared model in my GWT 2.8.2 application that I can use both at the server and in GWT client code. My research/Google Fu tells me that this might be possible with JsInterop but since I'm new to JsInterop I'm just not sure. I've done some experiments but I've run into a cou

Re: Setting Width of a TextBox inside LayoutPanel

2016-09-21 Thread Chris Odd
; box-sizing: border-box; width:100%; height:100%; } > On Sep 13, 2016, at 9:52 AM, Eddy wrote: > > Hello Chris, > > I am not an expert about GWT but I always added a panel into a layoutpanel > before. After that I added my widgets into the panel. > I am tell

Setting Width of a TextBox inside LayoutPanel

2016-07-19 Thread Chris Odd
Hello all, I have a LayoutPanel with one widget added to it (a TextBox). I want to make the TextBox's width equal to the LayoutPanel's width. I thought this would work, but it does not (the TextBox is much narrower than the LayoutPanel's width): LayoutPanel pnl = new LayoutPanel(); TextBox t

Remove client side javascript from server

2015-10-28 Thread Chris Ye
me app pre-installed will not work. Is this possible? How should I configure chrome app (manifest.json) and web application (web-inf/*)? Thanks a lot!! Chris -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this grou

Re: no runtime error stacktraces showing up in devmode

2015-07-22 Thread Chris
much more helpful than the JS errors. Thanks again. Chris On Wednesday, July 22, 2015 at 6:32:20 PM UTC-4, Chris wrote: > > Thanks, this is really helpful... I'm actually using IntelliJ 14, but even > when I setup with IntelliJ, I'm not getting any stack traces... Do I need &

Re: no runtime error stacktraces showing up in devmode

2015-07-22 Thread Chris
st with GWT 2.7. Chris On Wednesday, July 22, 2015 at 5:37:02 PM UTC-4, Jens wrote: > > You are not doing anything wrong, the website is a bit outdated. By > default GWT 2.7 DevMode now uses the so called SuperDevMode (SDM). SDM > compiles all your Java source to JavaScript and that

no runtime error stacktraces showing up in devmode

2015-07-22 Thread Chris
$(http://127.0.0.1) at Unknown.entry_1_g$/<(http://127.0.0.1) at Unknown.anonymous(Unknown) " Any idea what I'm doing wrong, why can't I see stack traces anymore. I'm using GWT 2.7 with chrome and would really appreciate any help. It is difficult to debug without nice

Re: WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

2014-09-09 Thread Chris Bensler
I had this problem also. There is no need to mess around with the registry though. The fix is to run Eclipse as Administrator and compile your project. It will create the registry key for you, then you can restart Eclipse as a normal user and you won't have the warning anymore. -- You received

Re: Can I use to replace a Google class?

2014-08-15 Thread chris-x . walker
injector for the class that GWT replaces, and I need to limit it to IE, because that's what the default does. Also, the replacement class need to be in a client package. Chris On Friday, 15 August 2014 15:15:58 UTC+1, chris-x...@d

Can I use to replace a Google class?

2014-08-15 Thread chris-x . walker
ltiple levels of replacement? Is there a way to see what browser-specific replacements happen by default? Thanks, Chris -- 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

How to make SuggestBox display scroll properly?

2014-07-14 Thread chris-x . walker
SuggestBox.SuggestionMenu. At this point the only solution I can think of is to search the DOM for an element with with a CSS class of "item-selected". Does anyone know of a better solution? I would be delighted to hear it. Chris -- You received this message because you are subs

Re: parsing library for the client side

2014-04-26 Thread Chris Ainsley
eans that there are no modifications required to your Java code, as long as your client side parsing library stays within the emulated classes of GWT. http://consoliii.blogspot.co.uk/2014/04/creating-gwt-compatible-parser- using.html Regards, Chris -- You received this message because you

Re: GWT XML File Validation Errors in Eclipse

2014-02-03 Thread Chris
Looks like I fixed it. After analysis, it seems that this problem occurred after connecting to Amtrak's Wifi which has a weird accept-terms requirement. My best guess is that corrupted files were downloaded and cached. The errors went away after clearing the cache in Eclipse (*Window > Pref

Re: GWT XML File Validation Errors in Eclipse

2014-02-03 Thread Chris
indow > Preferences > Network Connections > Cache > Remove All*). Probably should disable the caching here to prevent that in the future. On Monday, February 3, 2014 11:08:04 AM UTC-5, Chris wrote: > > Working GWT 2.5.1 today, I was unable to clear errors on the validation of > a

GWT XML File Validation Errors in Eclipse

2014-02-03 Thread Chris
Working GWT 2.5.1 today, I was unable to clear errors on the validation of any of my project's modules (gwt.xml) and uibinder (ui.xml) files. These file were not changed from my last close of the Eclipse IDE (Kepler) and I don't recall making any changes to the environment. To be more clear, a

GWT.create Session videos

2014-01-03 Thread chris
I was unable to attend the gwt.create event but am wondering if I will be able to view the sessions somewhere? Thanks, Chris -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiv

Re: gwt-2.6.0-rc1 can't compile guava-gwt

2013-12-12 Thread Chris Povirk
[re-sending now that I think I have group posting permissions] I see the problem with GWT 2.6 + Guava 15 but not with GWT 2.5 + Guava 15 or GWT 2.6 + Guava 14. I suspect that Michael is right that Java 7's changes to generics enforcement are responsible. I assume that we fixed the problem for Guav

Re: gwt-2.6.0-rc1 can't compile guava-gwt

2013-12-12 Thread Chris Povirk
Sorry, I'm doing a poor job of following the threading. The fix that Thomas identified is in Guava 15: http://code.google.com/p/guava-libraries/source/detail?r=1908e9db5c671f0ef95202b8b0aab1ade954bd0f&name=release15 I wouldn't expect there to be problems with that version. Iker, can you double-ch

Dynamic Output?

2013-11-27 Thread Chris Williams
Hello, I'm just learning GWT and I've noticed that there's no documentation about producing dynamic output. By which I mean the ability to, for example, make a call to a database and build that information into the HTML which is sent to the client. All of the information that I see requires the

Re: RequestFactory - BaseRequest, Locator, ServiceLocator, service inheritance on the client

2013-10-07 Thread chris
Try adding @SkipInterfaceValidation to the EntityBaseRequest or make sure that all the interfaces that extends EntityBaseRequest have the getDataPage implemented in their implementing class. I noticed a problem that the implementing class must contain the methods that are provided. I believe th

Re: push data from server to clients

2013-07-14 Thread chris
I've had most success with http://www.jboss.org/errai On Sunday, 14 July 2013 04:36:14 UTC+10, Gal Lavie wrote: > > hello > I want when first client do action on data base (update ,delete or add) > the server updating client b > I want that my server can push data to clients how I can do this? >

Re: No source code is available for type com.google.gwt.autobean.shared.AutoBean

2013-06-07 Thread Chris Blark
thanks. -- 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, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-t

Firing a click event on a CellTable

2013-05-31 Thread Chris
Hello, I am interested in using GWTTestCase to test some features of a view that extends CellTable. In my implementation, I have added a CellPreviewHandler that I would like to check by firing a click event on a cell of the CellTable. I have tried several methods to no avail. My most recent a

New To GWT: Objects in composite object not aligned correctly

2013-04-26 Thread Chris Brown
I created a composite object for a date range that is supposed to be all bottom aligned. My text boxes are not aligned with my listbox and it's driving me crazy. Thanks for the help. import com.google.gwt.user.client.ui.Composite; import com.google.gwt.user.client.ui.HasVerticalAlignment; impor

Re: How does GWT work with App Engine backends?

2013-04-13 Thread Chris Malloy
UTC-3, Chris Malloy wrote: > > Hi All, > > I'm trying to find some documentation on how to get GWT working with an > App Engine backend. The sample code GWT generates is enough to get servlets > up and running, but not much else. The available documentation from Google >

How does GWT work with App Engine backends?

2013-04-10 Thread Chris Malloy
n see the backend instance on my App Engine dashboard. From here on I'm stuck. thanks, Chris -- 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, send an email t

Re: gwtsizzle - CSS selectors for GWT dom

2013-01-01 Thread Chris Price
Not sure which browsers you are targeting or the selectors you require, but querySelector might be an alternative without requiring the extra library. http://caniuse.com/#feat=queryselector On 1 Jan 2013 05:14, "Sebastián Gurin" wrote: > Thank you Thomas for the clarification and for taking a loo

Re: DataGrid vs CellTable

2012-12-03 Thread Chris Lercher
The 100% won't help you, because the FlowPanel (which contains your DataGrid as I understand it) has a height of 0 unless you fill it with widgets that mount their own height. In other words, you are creating a cycle: The FlowPanel asks its children for the height they need, and the child (Data

Re: GWT Maps V3 Api, clearing directions

2012-11-27 Thread chris herbert
did you get the issue with $wnd.google is undefined resolved? On Thursday, September 20, 2012 9:56:28 AM UTC-7, Deepak Singh wrote: > > Any guidance pls.. > > On Thu, Sep 20, 2012 at 1:39 AM, Deepak Singh > > > wrote: > >> Could not resolve the exception mentioned. >> >> Then i copied PlaceSearc

Re: SuperDevMode not so super

2012-11-14 Thread Chris Lercher
On Thursday, November 15, 2012 2:53:37 AM UTC+1, Thomas Broyer wrote: > SourceMaps could then be used by your IDE so you could put breakpoints in > your editor window. > I can see the potential - it could be big. I do have a few doubts though: 1. Would this also allow me to inspect the internal

Re: SuperDevMode not so super

2012-11-14 Thread Chris Lercher
In my opinion, Super Dev Mode is an awesome addition to Dev Mode. It fits in my workflow: - For super-fast changes in client-side code (to fine-tune styling etc.), I use Dev Mode, with a Debugger attached, and a simple button on the page that rebuilds just the widget I am tuning. Nothing beats

Re: GWT 2.5 RC2 EntityProxy Validation

2012-11-06 Thread Chris Lercher
On Tuesday, November 6, 2012 10:13:59 AM UTC+1, Thomas Broyer wrote: > > Couldn't you simply override the methods and refine the return type? (Java > has covariant return types) > > interface Employee { > Employee getBoss(); > } > > interface EmployeeProxy extends Employee, EntityProxy { > Em

Re: RequestFactory and (JPA) transaction concepts

2012-11-01 Thread Chris Lercher
On Thursday, November 1, 2012 6:36:54 PM UTC+1, Thomas Broyer wrote: > > Guice Persist's @Transactional works great (of course with a > ServiceLayerDecorator to instantiate your services through Guice): > http://code.google.com/p/google-guice/wiki/Transactions > That's the missing guice-extensi

RequestFactory and (JPA) transaction concepts

2012-11-01 Thread Chris Lercher
I'd like to discuss how to best use (JPA) transactions with RequestFactory. As a basis, I'm assuming the approach where one user interaction should normally result in one DB transaction, so that the whole interaction can either fail or succeed, atomically. The first thing to consider with Reque

Re: GWT 2.5 Java 5 runtime(!) compatibility

2012-10-30 Thread Chris Lercher
On Tuesday, October 30, 2012 5:42:11 PM UTC+1, Lars Ködderitzsch wrote: > > Bummer, at least this finally confirms that anyone doomed to still use > Java 5 based servers will be unable to user anything newer than GWT 2.4 > from this point on. > > What I find interesting is, that companies who ar

Re: Could not load GWT DMP Plugin

2012-10-24 Thread Chris Feuz
After updating the GWT Dev Plugin to version 1.0.11349 it seems to work again on my system (Win 7/64, Chrome 22, GWT Dev Plugin 1.0.11349, Juno, m2e ) Thanks for fixing it On Wednesday, October 24, 2012 8:46:22 AM UTC+2, Juanra Collado wrote: > > It's working for me the new version in: > Chrome

Re: Could not load GWT DMP Plugin

2012-10-22 Thread Chris Feuz
This workaround is also not working for me. I don't even see the toolkit icon in the statusbar. I'm using m2eclipse and everything worked fine out of the box until last week. Setup: Juno, m2eclipse, Chrome 24 dev (but also tried 22), Windows 7 On Tuesday, October 23, 2012 1:57:23 AM UTC+2,

Re: Could not load GWT DMP Plugin

2012-10-22 Thread Chris Feuz
Same here. Really annoying.. On Monday, October 22, 2012 2:00:15 AM UTC+2, seas wrote: > > Tony, thanks for the reply. I didn't have much luck using different ip > addresses though. Initially, the url generated for launching in dev mode > was 127.0.0.1. I tried changing it in the Chrome addr

Re: Saving results from GWT-RPC call on client

2012-10-12 Thread Chris Lercher
One alternative for serialization would be to work with AutoBeans. - Advantage: They can be decoded from/encoded to Strings via AutoBeanCodex . - Disadvantage: AutoBeans (or the interfaces they represent) can't be used as

Re: Googlebot dissing my GWT app

2012-10-12 Thread Chris Lercher
A Google search for "site:www.spot...com" [replace the ellipsis] just returns "www.spot...com". But you don't have that page in your sitemap, and you're not using step 3 "Handle pages without hash fragments" of the Step-by-step guide: In order to make pages without hash fragments crawlable, you

Re: Are you happy with GWT?

2012-10-09 Thread Chris Lercher
On Tuesday, October 9, 2012 4:38:47 PM UTC+2, David wrote: > When servlet engines first came on the scene , developers were writing > stringified content directly to the HttpResponse. Absolutely, from that point of view (and I remember cgi scripts), template engines are a big enhancement to

Re: Are you happy with GWT?

2012-10-09 Thread Chris Lercher
That's a very interesting situation. Actually, this is a decision between "full-ajax site" and "js-enhanced site", and for that question it doesn't even really matter which JS framework is used. Server-side templating has always been a somewhat crazy idea (a hack, if you want - but then again,

Re: Is GWT market is down?

2012-10-08 Thread chris
what state/city are you looking for work in? Texas? New South Wales? Rajasthan? On Monday, 8 October 2012 22:49:14 UTC+11, Mayank pandya wrote: > > Hi, > > I am a GWT freelance developer form last 2 years but now a days I has no > job form last 2 months in GWT? I am so depressed that there is no

Re: Possible RFE: Make UiBinder aware of IsWidget interfaces

2012-10-08 Thread Chris Lercher
On Friday, July 20, 2012 6:42:02 PM UTC+2, Jens wrote: > Actually UiBinder special treats "addStyleNames" for normal widgets (it > works with ) but it stops doing so when it > sees something that does not extend Widget I guess. > FYI, this is true, the special code is in com.google.gwt.uibin

Re: mp3 resources - can they be played from within GWT?

2012-10-07 Thread Chris Lercher
Yes, GWT includes an Audio class: http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/com/google/gwt/media/client/Audio.html However, not all browsers support all formats, e.g. Firefox doesn't support mp3: http://en.wikipedia.org/wiki/HTML5_Audio So you may have to serve the file in multipl

Re: compiled file ending with *.htm instead of *.html

2012-10-04 Thread Chris Lercher
On Thursday, October 4, 2012 8:32:13 PM UTC+2, James wrote: > I extended IFrameLinker to return ".cache.htm" in getCompilationExtension. > GWT compiler generates all js files ending with "cache.htm" as expected. > But nocache.js still has "cache.html" in one place such as "$intern_62 = > '.cach

Re: Scary: GWT Team does not fix serious GWT Compiler Bugs

2012-10-02 Thread Chris Lercher
Sorry, but definitely no. Admittedly, I've never actually encountered such a GWT bug in my own code. But that's irrelevant. Imagine you're changing a method temporarily to debug some code (in a way, that it always returns true), and in compiled mode it will simply not do what you expect - you'll

Re: GWT dev plugin for Chrome 21.0.1180.60 m not installing

2012-10-02 Thread Chris Calabro
that is bizarre. it did not work last night even with many attempts, but the exact same operation this morning worked! i didn't even restart chrome or anything. btw i'm using chrome Version 22.0.1229.64 beta. - chris -- You received this message because you are subscribed to

Re: GWT dev plugin for Chrome 21.0.1180.60 m not installing

2012-10-02 Thread Chris Calabro
like it has no idea what operation i'm trying to communicate. is there maybe some way of typing a filename instead of fancy drag and drop? - chris -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this disc

Documentation of GWT logging (compile out of log levels)

2012-09-29 Thread Chris Lercher
The documentation mentions, that it's possible to make all logging code compile out, but it doesn't mention how to compile out only certain levels. This is however possible: The property "

Re: [Activities & Places] How to save and display the criterias again when hitting the back button ?

2012-09-26 Thread Chris Lercher
On Wednesday, September 26, 2012 1:55:53 PM UTC+2, Chris Lercher wrote: > > you can use HTML5 > Storage<https://developers.google.com/web-toolkit/doc/latest/DevGuideHtml5Storage> > (consider > browser support). > Forgot to mention: You could also save them in a cookie.

Re: [Activities & Places] How to save and display the criterias again when hitting the back button ?

2012-09-26 Thread Chris Lercher
On Tuesday, September 25, 2012 5:00:28 PM UTC+2, Celinio Fernandes wrote: > > How can i save them ? > If you always only need the previously selected criteria, you don't have to store them in the token: - Either save the values somewhere in your Java objects (wherever you want). When re-creatin

Re: Need a tool to find out client side coverage .

2012-09-26 Thread Chris Lercher
Thanks for the link, Joseph - it's an old version of eclemma, but it works: It shows client side coverage when running in dev mode (not in production mode). Then again, I'm not sure what the patch does exactly. I installed the unpatched v1.3.2 and v1.5.3 from http://sourceforge.net/projects/ec

Re: Super Dev mode : speed, find source in Chrome, stacktrace of exception

2012-09-25 Thread Chris Lercher
On Tuesday, September 25, 2012 7:59:16 AM UTC+2, maticpetek wrote: > > 2) When we get exception in client code, Dev mode will print out full > stacktrace. Is something like this available in SuperDev mode? For example, > the following code : > > String bla = null; > bla.length(); // Exception >

Re: Super Dev Mode general question

2012-09-21 Thread Chris Lercher
I want to add to that list, that running Dev Mode with a debugger can be used to fine-tune user interfaces extremely quickly: What I usually do is to put the unit which I need to optimize in a panel, and add a button that refreshes the panel with a new instance of the unit. This doesn't even tak

Re: What happened to composite images for ClientBundles?

2012-09-20 Thread Chris Lercher
On Thursday, September 20, 2012 3:54:41 AM UTC+2, Tim wrote: > > Perhaps you want set some ImageOptions on the resource. Check > "preventInlining" and "RepeatStyle" > > Thanks, according to the javadoc, ImageOptions.preventInlining actually seems to disable all kinds of optimizations: Set to {

Re: Future of GWT survey

2012-09-19 Thread Chris Lercher
Please excuse me for this negative feedback, but in my opinion, the survey is rather suggestive in that it presupposes that GWT should develop into something that better supports other technologies. It asks a series of questions that point in this direction (and it offers some free text questio

What happened to composite images for ClientBundles?

2012-09-19 Thread Chris Lercher
According to https://developers.google.com/web-toolkit/doc/latest/DevGuideUiImageBundles, multiple images in the same ClientBundle should usually be merged to a composite image, quote: Multiple ImageResources are declared in a single ClientBundle, which is a > composition of many images into a

Re: GWT Bean Validation + Hibernate Validator version?

2012-09-17 Thread Chris Lercher
Ok, thanks. On Monday, September 17, 2012 3:34:48 PM UTC+2, Thomas Broyer wrote: > > This has actually been reported a few days ago: > http://code.google.com/p/google-web-toolkit/issues/detail?id=7661, and in > the comments on the wiki page. > GWT is built against 4.1.0 Final and depends on Hibe

GWT Bean Validation + Hibernate Validator version?

2012-09-17 Thread Chris Lercher
What is the officially supported Hibernate Validator versionthat should be used in conjunction with GWT JSR 303 Bean Validation? (N

Re: Properties file with GWT

2012-09-15 Thread Chris Lercher
1. The java.util.Properties class isn't available on the client side. It's possible to get a properties file to the client side (e.g. using com.google.gwt.http.client.RequestBuilder), but you'd have to find a way to parse it. So why not use JSON format instead? Or GWT-RPC (which can contain the

Debugging Fails with IBM JDK

2012-09-12 Thread Chris Barlock
d for application use. Chris -- 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/-/KcAtbPrZo8QJ. To post to this group, send email to goo

DevAppServer Creation Fails With IBM JDK

2012-09-12 Thread Chris Barlock
s and not, in this case, java.net? Chris -- 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/-/oB9s0LU3Rz8J. To post to this group, send emai

Re: Nasty overlay types restrinction : Only one JavaScriptObject type may implement the methods of an interface

2012-09-07 Thread Chris Price
BImpl extends A implements B { void b() { ... } } final abstract class CImpl extends A implements C { void c() { ... } } Because in this case "a" is only implemented once. It may not help but when I was wrapping a third-party lib, I found the above pattern worked almost everywhere. Chris

Re: compiled file ending with *.htm instead of *.html

2012-09-06 Thread Chris Lercher
I assume it should be possible by extending IFrameLinker, and overriding getCompilationExtension(...) to return ".cache.htm". Then define and add your linker as in /com/google/gwt/core/Core.gwt.xml I haven't tried it though, so you may encounter some difficulties (?) On Wednesday, September 5,

Re: How to obfuscate RequestFactory type name, not only the operations ( GWT 2.4 )

2012-09-06 Thread Chris Lercher
On Thursday, September 6, 2012 3:58:34 PM UTC+2, Thomas Broyer wrote: > > Would you mind filing an issue in the tracker (if no one already did it) ? > I did a few years ago: http://code.google.com/p/google-web-toolkit/issues/detail?id=5729 It was closed as a duplicate of http://code.google.com/p

Re: GWT Compilation Time Performance Improvement

2012-09-04 Thread Chris Lercher
Another possibility would be to replace some classes with stubs (-> dependency injection) - only activating the functionality that is currently interesting. The rest doesn't need to be compiled. Of course it depends on the application's architecture, if this can be done easily or not. On Tuesd

Re: How to set stroke width for Canvas Context2d?

2012-08-29 Thread Chris Lercher
To set the width of the stroke, use ctx.setLineWidth(double) In general, FillStrokeStyle currently has three subclasses: - CanvasGradient - CanvasPattern - CssColor They don't have public constructors. CanvasGradient can be created by using ctx.createLinearGradient() or ctx.createRadialGradient

Re: Migrating CSS to GWT 2.4

2012-08-29 Thread Chris Lercher
They're in gwt-user.jar, in subdirectories of package "com.google.gwt.user.theme". You can also view them in the subversion browser, e.g. http://code.google.com/p/google-web-toolkit/source/browse/tags/2.4.0/user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard.css The css fil

Re: GwtChosen: make your select boxes much more user-friendly

2012-08-28 Thread Chris Lercher
Very useful. Great widget. On Tuesday, August 28, 2012 10:34:09 PM UTC+2, Julien Dramaix wrote: > > Dear community, > > I just released the first version of GwtChosen. GwtChosen is the > entire rewritte in Google Web Toolkit of the Chosen component > (http://harvesthq.github.com/chosen/) making

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

2012-08-28 Thread Chris Lercher
Yes. I disabled all Add-Ons: All Extensions (except for the GWT Extension) and all Plugins, and restarted Firefox. On Wednesday, August 29, 2012 12:12:03 AM UTC+2, Brian Slesinsky wrote: > > Does the connection leak happen with all plugins (other than GWT) disabled? > > -- You received this me

Re: how to write a 2D game by using GWT and html5.

2012-08-28 Thread Chris Price
Have you looked at PlayN? http://code.google.com/p/playn/ On Tue, Aug 28, 2012 at 8:51 PM, Joey wrote: > I want to write a simple animated 2D game by using GWT and HTML5. The game > basically needs to keep running several animations all the time, but I do > not know what libraries or techniques

Re: DART vs. GWT

2012-08-28 Thread Chris Lercher
About Dart: - I really (!) hope that Dart will succeed. - Ideally, Dart would even become the new JavaScript alternative in all browsers (however, AFAIK a few browser vendors have signaled, that this ain't gonna happen). If not, then it could maybe still be successful with dart2js. About GWT:

Re: Best practices waiting for DOM parsing

2012-08-28 Thread Chris Price
I was under the impression that all DOM manipulation calls are synchronous, are you sure it's not GWT using the Scheduler under the hood to run some of your code asynchronously? Can you give some example code? On Tue, Aug 28, 2012 at 2:33 PM, Joseph Lust wrote: > I wanted to ask the community's o

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

2012-08-28 Thread Chris Lercher
I analyzed this a bit more (this time on Linux), and I noticed, that the number of Thread also grows: 1 thread per reload. Again, this happens only with Firefox, not with Chrome. So probably the ClassLoader references will be discarded only when the Thread terminates... One more thing that migh

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, Hea

Re: Errai Experience?

2012-08-14 Thread chris
Used in a number of real projects. API is very good and straight forward, dev team support also great. I was able to employ web sockets on one project which really made it fly. Real-time financial price distribution. The server side is wired up using Guice, which we struggled to sensibly(ende

Eclipse Update has broken all GWT Projects?

2012-07-28 Thread Chris
I just updated eclipse and now all GWT projects are broken. I inspect the installation and I see everything is installed, the problem is that: *All my run configurations are gone *There is no option to run anything as Web Application. *Error log includes: -Unable to restore perspective: Wo

Re: How can we save state of a GWT page?

2012-07-26 Thread Chris Price
I'd advise against storing anything other than a session authentication token in the cookie, it is sent with every request, including static resources etc., so can significantly increase the traffic of your app. Storing it in the URL as Dennis suggested is a better idea, I'd suggest you check out t

Re: SuperDevMode stuck on compiling

2012-07-12 Thread Chris Gamache
Posted... http://code.google.com/p/google-web-toolkit/issues/detail?id=7513 Thank you for all your help! On Wednesday, July 11, 2012 12:16:31 PM UTC-4, Thomas Broyer wrote: > > > > On Wednesday, July 11, 2012 5:46:16 PM UTC+2, Chris Gamache wrote: >> >> >> I am

Re: SuperDevMode stuck on compiling

2012-07-11 Thread Chris Gamache
? On Wednesday, July 11, 2012 10:02:57 AM UTC-4, Thomas Broyer wrote: > > > On Wednesday, July 11, 2012 3:27:13 PM UTC+2, Chris Gamache wrote: >> >> Stopped on that line above when propName == 'remove' here's the call >> stack: >> >> > cons

Re: SuperDevMode stuck on compiling

2012-07-11 Thread Chris Gamache
wrote: > > > > On Tuesday, July 10, 2012 11:40:22 PM UTC+2, Chris Gamache wrote: >> >> I know it's poor form to bump one's own thread, but I'm down to the end >> of my rope: >> >> I'm not sure if this has anything to do with anything, but t

Re: SuperDevMode stuck on compiling

2012-07-10 Thread Chris Gamache
rtyErrorFunc is undefined. If I remove if (__propertyErrorFunc) { __propertyErrorFunc(propName, allowedValuesList, value); } throw null; it will get to compile. There are other issues beyond that, but at least it will compile. The other problems are for a different thread. Help! On Monday, July

Re: How do I assign a JSONObject or JavaScriptObject to $wnd[x] in GWT?

2012-07-10 Thread Chris Price
Is this what you're after? public native void set(JavaScriptObject value) /*-{ $wnd["test"] = value; }-*/; public void onResponseReceived(Request request, Response response) { JSONObject obj = (JSONObject) JSONParser.parseLenient(response.getText()); set(obj.getJavaScriptObject()); }

SuperDevMode stuck on compiling

2012-07-10 Thread Chris Gamache
So I start CodeServer-- that works. Then I fire up a server instance of the GWT app and navigate to the landing page for the module. I hit my bookmarklet and it brings up the module -> compile box. I hit compile. It just stays there. There's no logging output in the CodeServer. Stuck. I can see

Re: RF and REST

2012-07-03 Thread Chris Price
RestyGWT is worth considering - http://restygwt.fusesource.org/ On Tue, Jul 3, 2012 at 10:24 AM, wrote: > Please have anyone of you been successful with REST on a GWT project? What > api's did you use. We are in the design stage of an app, we love GWT but want > to liberate the architecture su

Re: "..Something other than an int was returned.." warnings in DevMode

2012-06-29 Thread Chris Price
Sorry not at a PC to lookup link for you but check the issue tracker it is a known bug with Chrome. On Jun 29, 2012 10:47 AM, "Flori" wrote: > Hey all, > > I have absolutley no idea why this warning appears.. maybe someone of u > can give me an answer or a hint in the correct direction: > > [WARN

Re: GWT 2.5, when?

2012-06-27 Thread Chris Price
Are there plans for RC-1 to go into the maven repo? On Wed, Jun 27, 2012 at 7:11 AM, Ali Jalal wrote: > Many thanks for releasing and announcing! > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to

Re: Communicating with the server

2012-06-27 Thread Chris Price
You could try Errai - http://www.jboss.org/errai "Talking to the server is much easier, too! Leveraging ErraiBus, you can transparently and easily mix event-based and RPC-based functionality in your app as neccessary. When leveraging the bus, everything in your app is push, everything is asynchro

Re: Revisiting cross-site requests: CORS and development mode

2012-06-17 Thread Chris Price
For dev work like this I find fiddler really useful, it lets you temporarily proxy specific ports paths etc., replace a server script with a locally hosted one and even decrypt https traffic. On Jun 17, 2012 9:59 PM, "Joseph Lust" wrote: > Excellent points Thomas. > > My point here is that when y

Re: GWT JSNI Callback

2012-06-08 Thread Chris Price
I'd assumed the bulk landing of messages was due to them being held in a new-poster queue until being approved (normally on a Friday morning)? On Fri, Jun 8, 2012 at 8:55 PM, Joseph Lust wrote: > On May 30th, I submitted a reply. It then appeared as 'Deleted' in the > thread. I rewrote it and sub

Re: Converting canvas to image url problem in IE9

2012-06-01 Thread Chris Price
This is wild speculation but, it could be a X-domain security issue [1]? If it's only happening in IE, I'd check to see that the loading of the image is using the same technique in IE as it is in Chrome, FF, etc. e.g. sprite versus data-url. [1] http://www.whatwg.org/specs/web-apps/current-work/m

GWT (lazy) Widget rendering: Comparison of approaches

2012-05-16 Thread Chris Lercher
There are several competing (or complemental) new/experimental (or deprecated) classes around, which deal with rendering Widgets in alternative (often lazy) ways in GWT: - GXT2's lazy Component

Re: Celltable loading state

2012-05-15 Thread Chris Price
I suppose it's intended for the situation where you know at least a rough estimate of the count before requesting the data e.g. paging. Another example could be passing the category item count down along with the category name etc. when requesting the category list, assuming a list of categories is

Re: Celltable loading state

2012-05-15 Thread Chris Price
You need to make sure that the cell-widget thinks the current page size is non-zero e.g. setRowCount(x) (where x > 0). You're basically trying to convince this method to enter the LOADING state - private void updateLoadingState() { int cacheSize = getVisibleItemCount(); int curPageSize =

Re: Celltable loading state

2012-05-15 Thread Chris Price
I looked into this a little while ago and as far as I could tell using the ListDataProvider prevents the loading indicator from ever being shown (long explanation which I never got round to writing up, but if there's interest I will do). The ListDataProvider is intended to be used when all of the d

  1   2   3   4   5   6   7   8   9   10   >