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 development wi

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. > > As

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

2018-02-26 Thread Chris
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 [*INFO*] [ERROR

Re: JsInterop Shared Model + REST API

2017-11-21 Thread Chris L
> > 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 >> can use both at the server and in

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

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 <eddy.jaqui...@gmail.com> 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 widget

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

Remove client side javascript from server

2015-10-28 Thread Chris Ye
-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 group and stop

no runtime error stacktraces showing up in devmode

2015-07-22 Thread Chris
://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 stack traces! Chris -- You received this message because you

Re: no runtime error stacktraces showing up in devmode

2015-07-22 Thread Chris
. 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 thats why you see JavaScript

Re: no runtime error stacktraces showing up in devmode

2015-07-22 Thread Chris
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 to be using GWT 2.8 SNAPSHOT

Re: [gwt-contrib] Class literals for JsTypes in superdevmode

2015-06-09 Thread 'Chris DiGiano' via GWT Contributors
Roberto, if it's any hint to the underlying problem: you're right that that the class is not reference anywhere else—it is used solely for the purpose of type coercion. Chris On Tue, Jun 9, 2015 at 10:48 AM 'Ray Cromwell' via GWT Contributors google-web-toolkit-contributors@googlegroups.com

Re: [gwt-contrib] Class literals for JsTypes in superdevmode

2015-06-09 Thread 'Chris DiGiano' via GWT Contributors
things. Chris On Mon, Jun 8, 2015 at 6:55 PM 'Roberto Lublinerman' via GWT Contributors google-web-toolkit-contributors@googlegroups.com wrote: This might be due to the way we handle class literals. Class literals for interfaces if not referenced during the initial compile might cause

[gwt-contrib] Class literals for JsTypes in superdevmode

2015-06-08 Thread Chris DiGiano
. Is this a bug? Any ideas for workarounds? Chris DiGiano -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com

Re: [gwt-contrib] Re: JsInterop

2014-10-01 Thread 'Chris DiGiano' via GWT Contributors
Have you enabled jsInterop mode via the compiler flag? It looks like this on the command line: -XjsInteropMode JS Chris On Tue Sep 30 2014 at 7:05:23 AM Michael Vogt mich...@michaelvogt.eu wrote: Btw, when calling parse() out of jsni or in the browser console, it works fine. So

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

Can I use replace-with / to replace a Google class?

2014-08-15 Thread chris-x . walker
like the original StyleInjector.StyleInjectorImplIE may be replacing StyleInjector.StyleInjectorImplIE. Does replace-with / recurse through multiple levels of replacement? Is there a way to see what browser-specific replacements happen by default? Thanks, Chris -- You received this message

Re: Can I use replace-with / to replace a Google class?

2014-08-15 Thread chris-x . walker
=com.google.gwt.dom.client.StyleInjector.StyleInjectorImpl / any when-property-is name=user.agent value=ie8 / when-property-is name=user.agent value=ie10 / /any /replace-with Chris On Friday, 15 August 2014 15:15:58 UTC+1, chris-x...@db.com wrote: Hi, I am having problems running

How to make SuggestBox display scroll properly?

2014-07-14 Thread chris-x . walker
. 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 subscribed to the Google Groups Google Web

Re: parsing library for the client side

2014-04-26 Thread Chris Ainsley
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 are subscribed

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,

Re: GWT XML File Validation Errors in Eclipse

2014-02-03 Thread Chris
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 any of my project's modules

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

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 receiving emails

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=1908e9db5c671f0ef95202b8b0aab1ade954bd0fname=release15 I wouldn't expect there to be problems with that version. Iker, can you

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

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

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

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? I

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

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

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;

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 has helped me to properly

How does GWT work with App Engine backends?

2013-04-10 Thread Chris Malloy
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 to google-web-toolkit

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 sebastigu...@gmail.com wrote: Thank you Thomas for the clarification

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

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 deepaks...@gmail.comjavascript: wrote: Could not resolve the exception mentioned. Then i

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: 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: 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 {

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

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-extension

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 are

[gwt-contrib] Re: Thanks minichate! (issue1863803)

2012-10-27 Thread chris
Note that more advanced media queries are still borked: @media all and (max-width: 699px) and (min-width: 520px), (min-width: 1151px) { // ... } The above gets truncated to: @media all { } I haven't tracked down where the truncation is occurring -- a project for tonight, most likely!

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-23 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 address

[gwt-contrib] Subversion tag for 2.5.0-rc2?

2012-10-14 Thread Chris Lercher
I'd like to check out the code for 2.5.0-rc2. For previous versions I can find a tag, e.g. http://google-web-toolkit.googlecode.com/svn/tags/2.5.0-rc1;, with the svn log entry r11147 | rda...@google.com | 2012-06-27

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: 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 AutoBeanCodexhttp://code.google.com/p/google-web-toolkit/wiki/AutoBean#AutoBeanCodex . - Disadvantage: AutoBeans (or the interfaces they represent) can't be used as

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: 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: 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 my:MyViewImpl addStyleNames=...) but it stops doing so when it sees something that does not extend Widget I guess. FYI, this is true, the special code is

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 any

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

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 = '.cache.html'.

Re: GWT dev plugin for Chrome 21.0.1180.60 m not installing

2012-10-02 Thread Chris Calabro
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 discussion on the web visit https

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 the Google

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 -

[gwt-contrib] RemoteServiceServlet + Transactions

2012-09-30 Thread Chris Lercher
In my opinion, it's currently unnecessarily difficult to integrate basic transaction management with GWT-RPC. Usually, in a web application it's best to start a transaction, when a call arrives at the server, and to commit it, when the server has finished processing and created the response.

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 outhttps://developers.google.com/web-toolkit/doc/latest/DevGuideLogging#Making_All_Logging_Code_Compile_Out, but it doesn't mention how to compile out only certain levels. This is however possible: The property

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

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-creating

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 Storagehttps://developers.google.com/web-toolkit/doc/latest/DevGuideHtml5Storage (consider browser support). Forgot to mention: You could also save them in a cookie. -- You received this message

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 will

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

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 {@code

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: 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

GWT Bean Validation + Hibernate Validator version?

2012-09-17 Thread Chris Lercher
What is the officially supported Hibernate Validator versionhttp://repository.jboss.org/nexus/content/groups/public-jboss/org/hibernate/hibernate-validator/that should be used in conjunction with GWT JSR 303 Bean Validationhttp://code.google.com/p/google-web-toolkit/wiki/BeanValidation?

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

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

Debugging Fails with IBM JDK

2012-09-12 Thread Chris Barlock
are not intended 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 google-web

DevAppServer Creation Fails With IBM JDK

2012-09-12 Thread Chris Barlock
packages 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 email

[gwt-contrib] Deprecating DeRPC classes

2012-09-12 Thread Chris Lercher
https://developers.google.com/web-toolkit/doc/latest/DevGuideServerCommunication#DevGuideDeRPC says about Direct-Eval RPC: This feature did not work out as planned, and the GWT team strongly discourages its use. However, the classes RpcServlet, RpcService etc. are not marked as

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

2012-09-07 Thread Chris Price
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 On Fri, Sep 7, 2012 at 4:53 PM

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

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: 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

Re: Migrating CSS to GWT 2.4

2012-08-30 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

Re: How to set stroke width for Canvas Context2d?

2012-08-30 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

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

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 lifeofl...@gmail.com wrote: I wanted to

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: 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 lihaizhou...@hotmail.com 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

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

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 this

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: 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

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:

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

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 using Ext-Js LGPL via GWT-Ext

Re: SuperDevMode stuck on compiling

2012-07-11 Thread Chris Gamache
, 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 this is from my nocache.js file, where the error had occurred: function computePropValue

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: console.trace() (anonymous function) (anonymous function) evaluate

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: 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()); }

Re: SuperDevMode stuck on compiling

2012-07-10 Thread Chris Gamache
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 9, 2012 3:37:18 PM UTC-4, Chris Gamache wrote

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, chal...@gmail.com 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

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 floon...@gmail.com 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

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

  1   2   3   4   5   6   7   8   9   10   >