Re: Where is js() method ?

2015-04-03 Thread Jens
The method is not yet implemented. For now you have to use normal JSNI. -- J. -- 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

Re: Is GWT trunk version supporting Java 8?

2015-04-03 Thread Jens
GWT trunk supports Lambda, method references, static default methods in interfaces and intersection casts. It does not contain any Java8 API emulations so far but something like button.addClickHandler((e) - Window.alert(click)); should work. To enable Java8 you have to use the -sourceLevel

Re: Is it possible to call the action with java in client side(not in same machine as server)? any example code for it?

2015-03-30 Thread Jens
There is a project https://code.google.com/p/gwt-syncproxy/ that allows calling GWT-RPC from plain java, however I have no idea how well it works. Generally I would probably create a REST service that delegates to the GWT-RPC implementation and then call the REST service from Java. That way

[gwt-contrib] Re: Gwt logo location

2015-03-29 Thread Jens
Nice one! -- J. -- 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. To view this discussion on the

Re: How to filter some places in onPlaceChangeRequest in ActivityManager?

2015-03-26 Thread Jens
ListEditActivity.mayStop() should not return a message if it is valid to change list items. mayStop() is normally used for dirty checking, e.g. someone edits an item and has not yet saved the edits. In that case mayStop() should return a warning message which allows the user to decide to

Re: How to filter some places in onPlaceChangeRequest in ActivityManager?

2015-03-26 Thread Jens
Am Donnerstag, 26. März 2015 18:57:40 UTC+1 schrieb Anton Mityagin: Why it's look like a design problem? Can I create ActivityManager with CachingActivityMapper and FilteredActivityMapper? Somthing like this: public

Re: How to filter some places in onPlaceChangeRequest in ActivityManager?

2015-03-26 Thread Jens
Feel free to open a bug for it. Do you mean open bug over there https://code.google.com/p/google-web-toolkit/issues/list?cursor=google-web-toolkit%3A6794 ? Yes. --- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

[gwt-contrib] Java8 emulation

2015-03-25 Thread Jens
Hi, whats the current situation of adding Java8 emulations to GWT? I would like to fix the current emulation of @FunctionalInterface (wrong package and missing imports), add java.util.Optional[Int|Long|Double] emulation and like to see java.util.function interfaces in trunk committed. That

Re: [gwt-contrib] Java8 emulation

2015-03-25 Thread Jens
I think we make run presubmits with Java 8. Ok but then it is still with sourceLevel 1.7 by default. Here [1] is a presubmit log from february that complains about lambda, default methods and static interface methods. But that is just job setup in Jenkins. Its more interesting how to

Re: Hide Column in CellTable

2015-03-24 Thread Jens
*cellTable.addColumnStyleName(1, hide); // added stylename to the Column with index 1* *CSS:* Added this class in stylesheet * .hide* { display: none; } Hopefully it is a normal CSS file and not a CssResource? Check your browsers dev tools to see what is going on with your

Re: Creating a widget that can accept HTML + Widgets in UiBinder (Without using HTMLPanel)

2015-03-24 Thread Jens
Surely UiBinder isn't hard-coded to only allow HtmlPanel to accept panels + widgets? HTMLPanel has its own HTMLPanelParser used by UiBinder which makes mixing HTML + Widgets possible, so yes it is kind of hardcoded. -- J. -- You received this message because you are subscribed to the

Re: Hide Column in CellTable

2015-03-24 Thread Jens
I see. On the col element you need to use visibility:collapse to hide the entire column. However browser support is pretty poor for it, seems to only work well in Firefox. The other thread you have linked pretty much has all information available to solve your issue. Basically you have to

Re: .gwt.xml define source path to code from maven dependency

2015-03-21 Thread Jens
Create a file Dtos.gwt.xml in de.backend package and add source path=dtos / to it. Alternatively you can put the file into de.backend.dtos and then use source path= /. You can then inherit that module in your App.gwt.xml. Keep in mind that GWT needs source files so your backend dependency

Re: GSS @alternate errors for duplicate selectors

2015-03-21 Thread Jens
AFAICT closure stylesheets does not allow disabling CSS linting so GWT can't do anything about it. https://code.google.com/p/closure-stylesheets/#Linting -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this

Re: cache clear issue in gwt

2015-03-20 Thread Jens
If you apply the correct caching headers there is only minimal overhead on each request because the browser first checks if a new version on the server is available and only if it is available it will download the new version. Otherwise it will continue to use the already cached version. A lot

[gwt-contrib] Re: GWT 2.8 SnapShot Unexpected internal compiler error in SDM after switching to GSS

2015-03-19 Thread Jens
sorry for being off-topic but where can i find current 2.8.0 snapshot jars? i found this repository https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt-user/2.8.0-SNAPSHOT/ but it does not contain any jars. The repository is correct but

Re: Set up GWT 2.7 throw Version is not supported, must be 2.0.0 or later in eclipse juno (version=4.2.0)

2015-03-18 Thread Jens
Nope. I have download gwt 2.7 sdk and setup with my project. I have already gwt plugin installed in eclipse as till now I am working with gwt 2.5. When I have setup gwt 2.7, it throw this error. Can you tell me what is problem here? The Google plugin for Eclipse reads the GWT version

Re: Problem to do prod compile

2015-03-17 Thread Jens
These outputs are normal when you enable DEBUG log level. It basically shows you what GWT does during deferred binding rules matching. Yes its a lot of output. Generally as your app grows you also have to adjust the heap memory during compilation from time to time. The -localWorkers option

Re: Possible to set a custom (non bindAddress) server IP in sourceMappingURL ?

2015-03-17 Thread Jens
I don't think that you can change it for now. Maybe via a custom linker, not sure, but that would be a bit more work anyways. As a workaround you can reconfigure your VM so you can directly access it without forwarding, e.g. use a bridge instead of NAT. -- J. -- You received this message

Re: Set up GWT 2.7 throw Version is not supported, must be 2.0.0 or later in eclipse juno (version=4.2.0)

2015-03-17 Thread Jens
Sounds like you should try updating the Google Eclipse Plugin. -- J. -- 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

Re: [GWT developer plugin is not support on linux]

2015-03-15 Thread Jens
I see on Windows, if run as web application normally within the helping of gwt developer plugin, after I run my project, then I edit my codes, just refresh the browser and everythings will change follow my code changing, it's so convenient Super Dev Mode works the same if you use GWT

Re: GWT 3.0 Roadmap?

2015-03-13 Thread Jens
Next release will be called 2.8. Meeting minutes of the Steering group regarding the release: https://docs.google.com/document/d/1g6Ro3RbrOlD4RxqtWUv86wwXVSyD0uSFOO3-LnR9mGc/edit -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: How to migrate to GWT2.7.0 from GWT2.6.0 using Eclipse?

2015-03-12 Thread Jens
GWT packages Apache Xerces 2.11 into gwt-dev.jar but in your class path is a different version (maybe an older one) before the gwt-dev.jar class path entry. This causes GWT to use a Xerces version that has a different API for org.apache.xerces.dom.ElementNSImpl.setUserData() which causes your

Re: ScrollTable?

2015-03-12 Thread Jens
I'm not sure that's quite going to do what I need - I'm taking advantage of the FlexTable's ability to have a cell span multiple rows. My table has four columns. The first three are filled on create, but the data in the fourth column is dynamic and changes based on buttons (and spans

Re: Anchor with SafeUri constant

2015-03-10 Thread Jens
I guess you can change the return type to SafeUri and use UriUtils.fromSafeConstant(HOME_PAGE) inside NameTokens.getHomePage() -- J. -- 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

[gwt-contrib] Re: idea: i18n dynamic templating ? (like wordpress), feedback

2015-03-07 Thread Jens
At least the template stuff kind of sounds like Errai UI. See html files in https://github.com/errai/errai-tutorial/tree/master/src/main/java/org/jboss/errai/demo/client/local -- J. -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To

Re: Error Script Tag Failure - no status available occurs at times after new deployment

2015-03-06 Thread Jens
First you must send correct HTTP caching headers for all *.nocache.* files so that the browser (or any other caching proxy) first checks if a new version of that file is present on the server before using a locally cached version. That way you do not need to clean any browser caches. Next when

Re: [gwt-contrib] What constitutes an acceptable emulated String.format implementation?

2015-03-05 Thread Jens
I'm curious if anyone knows, what is 10KB, percentage wise, vs the size of the average GWT project? I don't know if the one I work with is average or unusual weighing in at 7.2MB. I'm wondering if my perspective is skewed. I guess that question is irrelevant. You will always have small

Re: [ERROR] Only either css files or gss files are supported on one interface

2015-03-04 Thread Jens
What you are asking for is simply not possible in a reliable way under the requirement that old css syntax needs to be converted to gss syntax to avoid producing compile errors when activating GSS for a project. When I give you (which is hopefully similar to your use case): @Source({

Re: [ERROR] Only either css files or gss files are supported on one interface

2015-03-04 Thread Jens
If I understand you correctly, I could be able to mix css and gss files by using the correct extension. In case it concerns a css file, the gss mechanism will sue the css2gss converter to create the gss file before passing it to to the closure compiler. But that is what I am doing, so

Re: [ERROR] Only either css files or gss files are supported on one interface

2015-03-04 Thread Jens
Because GWT can not convert it on a file-by-file basis. Why not ? I have already said it before: in case of old css a constant might be used in one file but is defined in a different file. In case of gss you might use a @mixin in one file but that @mixin is defined in a different file.

Re: Condition for GWT version in module XML

2015-03-03 Thread Jens
You can't do that in GWT module xml files. Instead of two files I would manage two branches in GIT: one that is compatible with 2.6.1 and one that works with 2.7.0. Once you do not need 2.6.1 support anymore you can get rid of that branch. -- J. -- You received this message because you are

Re: [ERROR] Only either css files or gss files are supported on one interface

2015-03-03 Thread Jens
If you have a mixture of *.css and *.gss files referenced in @Source then you can not convert the css files one by one because a css file might not contain @def rules if they are defined in a different file. As you must also honor css rule ordering the only right thing to do is to merge all

Re: [ERROR] Only either css files or gss files are supported on one interface

2015-03-03 Thread Jens
Ok put differently: When you enable GSS then GWT will use the GssResourceGenerator which accepts valid GSS and hands it over to the closure stylesheets backend to produce the final css output. Your css files could contain CssResource specific extensions like @def, conditionals, sprites, etc.

Re: Exception whit the GWT 2.7

2015-03-01 Thread Jens
The update site is outdated, you can download GWT 2.7 from gwtproject.org and manually add it to Eclipse through Eclipse Settings - Google. GWT Designer is not maintained by the GWT team at Google and currently GWT Designer does not work with newer GWT versions. From a GWT point of view GWT

Re: Module property and deferred binding not evaluated correctly after recompile in super dev mode (SDM)

2015-03-01 Thread Jens
Please try GWT 2.8-SNAPSHOT. If I remember correctly there were some commits regarding permutation properties and SDM recompiles after 2.7 has been released. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this

Re: GWT 2.70 and emulated compiler stack mode

2015-02-28 Thread Jens
What does does not work anymore mean? The exception does not have a stack trace? Or a wrong stack trace? Or you can't send it to the server anymore? Or something else? Given that emulated stacks are generated by the GWT compiler it might be a regression bug, but you have to be more specific

Re: Looks like ext-js issues migrating from GWT 1.7.0 to GWT 2.7.0. Need help.

2015-02-25 Thread Jens
1. Application does not load initially as the IE Browser opens in IE 10 Compatability View Mode. Use !DOCTYPE html at the top of your html page that loads the app. 1. The application loads successfully once I change the Browser Mode to IE10. At this point if I CLICK on

Re: CellList inside a panel of 100% height

2015-02-25 Thread Jens
The panel is located in an UIBinder with a HTMLPanel as root. So I used getParent().getOffsetHeight(). Any ideas why this is not exactly the client height? clientHeight includes padding offsetHeight includes padding, borders and scrollbars And why does the panel with the CellList

Re: launchConfiguration issue for GWT 2.7.0 (New to GWT)

2015-02-24 Thread Jens
Instead of GWTShell use com.google.gwt.dev.DevMode -- J. -- 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.

Re: GWT Dagger 2

2015-02-24 Thread Jens
What's the best way to include your PR ( https://github.com/google/dagger/pull/119) in a project? Its a branch in my dagger fork that you can simply build and install into your local repo: https://github.com/jnehlmeier/dagger/tree/gwt-integration -- J. -- You received this message

Re: launchConfiguration issue for GWT 2.7.0 (New to GWT)

2015-02-24 Thread Jens
Thanks Jens. I still have the 2nd error Unknown argument: -out The DevMode class should show you all valid arguments and the description should tell you which one to choose as a replacement. I don't know anything about GWT 1.7, but I assume DevMode -war is probably the same as GWTShell

Re: GWT Dagger 2

2015-02-24 Thread Jens
You need to add the generated sources as Eclipse source folder to make them usable in Eclipse, e.g.: http://stackoverflow.com/questions/7160006/m2e-and-having-maven-generated-source-folders-as-eclipse-source-folders Maybe the above also fixes the gwt:compile class path issue. For successful

[gwt-contrib] Re: GWT 2.8: Turn GSS on by default

2015-02-23 Thread Jens
I started migration today on a 300 KLOC project and all CSS files had been converted without any major issue using the Css2Gss tool. The only exotic issue I had was a NullPointerException for *.css files that do not have any content:

Re: Static vs dynamic String internationalization

2015-02-23 Thread Jens
- The big advantage of dynamic internationalization to me, is that I can store my translations in a database, and update texts without the need of stopping servers to deploy a new compiled version of my application. Not sure if its that big of an advantage. IMHO translations rarely

Re: GWT Chrome Plugin is not recognized

2015-02-20 Thread Jens
You should use SuperDevMode. Development of classic DevMode has stopped because browsers have started to remove required plugin APIs. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop

Re: SDM not workin correct...

2015-02-20 Thread Jens
Try adding -Dgwt.watchFileChanges=false to your JVM parameters. This will disable file watching which sometimes does not work correctly. I had to do that for Mac OS as SDM sometimes thought that no files had changed. -- J. -- You received this message because you are subscribed to the

Re: SDM not workin correct...

2015-02-20 Thread Jens
Are you sure you deploy the app.nocache.js file generated by SDM? If you have done a production compile in the mean time then you might have deployed a wrong one. Try to delete any existing ./war/module name folder and restart SDM to give it a clean start. Once it is started you can deploy.

Re: question on GWT showcase examples

2015-02-19 Thread Jens
when you look for the GWT Showcase code, have a look at the github sources: https://github.com/gwtproject/gwt/tree/master/samples/showcase/src/com/google/gwt/sample/showcase And as the showcase sample app is part of the GWT SDK distribution download you can simply import it into your IDE.

Re: Unexpected error while processing XML

2015-02-19 Thread Jens
Thank for your response. I used to get Maven as gwt version 2.4. But I changed gwt version as 2.6.1 and than I'd have this problem. But I created new project on 2.6.1 without Maven and try it. there was no any problems. Does it have any problem at the Maven version for 2.6.1? Do you use

Re: Unexpected error while processing XML

2015-02-19 Thread Jens
gwt-maven-plugin:*2.6.1*:compile (default) @ com.ibank.myproject.test --- [INFO] Loading inherited module 'com.ibank.myproject.test.Test' [INFO]Loading inherited module 'com.ibank.myproject.framework.ui' [INFO] [ERROR] Unexpected error while processing XML [INFO]

Re: Unexpected error while processing XML

2015-02-18 Thread Jens
GeneratorExt has been renamed to IncrementalGenerator. So you have to update your own generators that extend GeneratorExt and any library that also uses GeneratorExt. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe

Re: Logout then login error (Exception while dispatching incoming RPC call: javax.servlet.ServletException: Content-Type was '(null)'. Expected 'text/x-gwt-rpc'.)

2015-02-18 Thread Jens
The exception itself is pretty clear: GWT-RPC checks if a GWT-RPC request has the HTTP header Content-Type: text/x-gwt-rpc. If GWT can not find that header or the header has no value then it throws the above exception. So in your setup something is messing up that HTTP header. So I guess you

Re: GWT 2.7.0 is here

2015-02-18 Thread Jens
Thanks for your info. I clean the war/client dir and then launch SDM but still the launch page http://127.0.0.1:/module.html still cannot load client/module.nocache.js file although the module.nocache.js file is really under war/client/module.nocache.js. This is Tomcat server, does

Re: What is the path of the Host HTML page that loads our GWT app ? (new to GWT)

2015-02-18 Thread Jens
1. XxxApp/src/com/acg/xxx/gwt/public Seems like the best bet because all public resources are copied to the GWT compilation output folder automatically. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from

Re: div / parsing not work in dom Element through innerHtml ?

2015-02-18 Thread Jens
The browser does this and not GWT. You have to provide valid HTML otherwise the browser will try to fix your broken HTML by rewriting it. Otherwise you must probably use a XHTML doctype. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: GWT 2.7.0 is here

2015-02-17 Thread Jens
I tried to use GWT 2.7 SDM with Tomcat server. From Eclipse, I launched our app launcher file used to work with GWT 2.6 Dev mode, and so now with GWT2.7 it becomes SDM by default. The initial compilation is OK and code server starts fine and our app web server (using GWT RPC) starts

Re: How do I make the GWT Compiler see other modules in Eclipse?

2015-02-17 Thread Jens
A simple eclipse project dependency to foo should be enough. As the error says can not find source it does mean that the GWT compiler has actually found your foo.gwt.xml that you have inherited otherwise the compiler would complain about a missing GWT module. At work we have a common project

Re: Memory Leak Testing

2015-02-17 Thread Jens
Is Chrome Dev Tool the best way to detect Memory Leaks in SuperDevMode? Given that SuperDevMode produces lots of code that can slow down browser DevTools, Chrome is probably your best bet and IMHO it is also pretty intuitive. -- J. -- You received this message because you are subscribed

Re: How do I make the GWT Compiler see other modules in Eclipse?

2015-02-17 Thread Jens
What do you mean with server side code compiled into a GWT module? GWT modules and server side code are separate things. I guess you have to be more specific. Also keep in mind that GWT can only compile a subset of JRE classes unless you provide additional super-source / emulation. -- J. --

Re: GWT 2.7/GwtMockito: History support

2015-02-17 Thread Jens
is there any specific reason not to make HistoryImpl accessible? Its good practice for a library to hide implementation details because you do not want developers to accidentally or knowingly depend on these details. I am pretty sure other features of GwtMockito look equally ugly,

[gwt-contrib] Stop Leeeeroy please stop

2015-02-14 Thread Jens
How can I stop Leeroy from spamming a Gerrit CL? https://gwt-review.googlesource.com/#/c/10243/ Seems like the build server is continuously trying to execute gwt.presubmit for that CL. -- J. -- You received this message because you are subscribed to the Google Groups GWT Contributors group.

Re: Troubles Getting Started with JsInterop

2015-02-14 Thread Jens
I guess you have to make your Foo class public. While code examples in the doc uses default visibility I guess it is just because of laziness during writing the doc ;-) Here is a recent commit that enforces public visibility: https://gwt-review.googlesource.com/#/c/11490/ Well and as already

Re: [gwt-contrib] Stop Leeeeroy please stop

2015-02-14 Thread Jens
This problem already occurred last year and Thomas had explained why (See mail below). I've just set verified:-1 on the concerned patches in order to stop Jenkins to do the presubmit check every 1h30. I guess Monday, Manolo or Daniel will be able to fix that. Thanks, and thanks for the

Re: Unable to get SDM to use detailed mode for showing stacktraces

2015-02-13 Thread Jens
Is there a workaround for getting the stacktraces to show up without being obfuscated? If you use Chrome 40 and use the UncaughtExceptionHandler I linked in the issue (comment #4) then you do not need anything regarding stack traces in your module xml. Any exception you do not catch will

Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-02-12 Thread Jens
Should be the JRE/JDK you have configured for your project and not the one you launched Eclipse with. I am on Mac OS and use Oracle JDK 1.7 and haven't seen any gwtar issues yet. Maybe you accidentally have two different GWT versions on classpath? But as Thomas already said, if you have

Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-02-12 Thread Jens
Its a JVM parameter for defining a system property and not a GWT compiler/DevMode parameter. -- J. -- 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

Re: GWT compiler is confused by class and package name that differ by capitalization only

2015-02-12 Thread Jens
gwtar support has already been deleted in GWT trunk / 2.8-SNAPSHOT. So if you skip 2.7 and use a 2.8-SNAPSHOT build you should not have any issues. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and

Re: GWT compiler is confused by class and package name that differ by capitalization only

2015-02-11 Thread Jens
If you use GWT 2.7 Final release this should be fixed: https://gwt-review.googlesource.com/#/c/9661/ https://code.google.com/p/google-web-toolkit/issues/detail?id=8716 -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe

[gwt-contrib] Re: UiBinder changes don't get picked up in SDM (trunk)

2015-02-11 Thread Jens
We are currently using a GWT trunk build from 5. Jan 2015 and don't see this issue. So either a recent commit causes that behavior or your project setup is broken. -- J. -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from

Re: JSInterop and terse JSNI syntax

2015-02-10 Thread Jens
The js() method does not exist yet (not even in GWT trunk). -- J. -- 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

Re: How to add source classes in Module.gwt.xml?

2015-02-09 Thread Jens
You can use source path= /. By default GWT uses source path=client / -- J. -- 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

Re: GWT CellList MediaQuery

2015-02-09 Thread Jens
but I can't figure out how to translate @media (max-width: 500px) from a normal css file. Just use it directly. @media (max-width: 500px) { ... css classes... } in your *.gss file should work without issues. -- J. -- You received this message because you are subscribed to the

Re: Widget Updating Content Of Another Panel

2015-02-09 Thread Jens
Put a SimplePanel in your DockLayoutPanel and then set the ActionBar into that SimplePanel using SimplePanel.setWidget(). In your setActionBar() method call SimplePanel.setWidget(newBar) to replace the old ActionBar with the new one. So you basically put a container widget into your

Re: Using UI binder vs. GWT-Java code to do the layout

2015-02-08 Thread Jens
One of the features of GWT is its abstraction over the browser so that the GWT-Java layout code may act differently depending on the browser brand and version. If we use GWT as a JavaScript replacement only, don't we lose that benefit? That benefit gets less and less important as HTML

Re: Using GWT for front-end code only

2015-02-08 Thread Jens
A compiled GWT app is just HTML + JS, so nothing special. That means you can simply upload it to a web server and it will run. However you need to take care of the same-origin-policy restriction in browsers when doing your REST requests to the backend. How you do that kind of depends on how you

Re: Autobean deserialize failing ( Ljava_util_List_2_classLit_0_g$ is not defined )

2015-02-08 Thread Jens
This issue was fixed when i switched from 2.7.0 to 2.8.0-Snapshot . However, in the snapshot, beans which have only primitives and Strings work. But, beans that have any collections ( lists / maps) don't work, giving a similar error as this. At work we use SDM with incremental compile,

Re: Autobean deserialize failing ( Ljava_util_List_2_classLit_0_g$ is not defined )

2015-02-06 Thread Jens
Is there a way to upgrade to the trunk version via maven? SNAPSHOT builds are currently disabled. However you can use https://github.com/manolo/gwt-snapshot/raw/master/ as a temporary maven repo. -- J. -- You received this message because you are subscribed to the Google Groups Google

Re: Autobean deserialize failing ( Ljava_util_List_2_classLit_0_g$ is not defined )

2015-02-06 Thread Jens
AutoBeanMyBean ab = AutoBeanCodex.decode(factory, MyBean.class, response. getText()); InitResult result = ab.as(); ab.as() returns MyBean and not InitResult. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this

Re: GWT rebranding

2015-02-05 Thread Jens
It has already noticed that the landing page of gwtproject.org is not friendly for people who know nothing about GWT: https://github.com/gwtproject/gwt-site/issues/38 So this needs to be updated. Maybe some SEO work can also be done to improve ranking when searching for Java to JavaScript

[gwt-contrib] Re: Compile error with latest gwt (from trunk)

2015-02-03 Thread Jens
On 15.11.2014 a commit from Ray changed JThisRef.getClassType() to return a JDeclaredType and not a JClassType. Your GWT searches for this method with return type JClassType. Seems like you have not correctly updated your dependencies and an old GWT is on class path as well. -- J. -- You

Re: GWT development plugin not working in Chrome version 39+

2015-02-03 Thread Jens
You have to use SuperDevMode. The browser plugin does not work in newer browsers anymore. Search this group, there are plenty of threads about it. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and

[gwt-contrib] Re: Eclipse project errors

2015-02-02 Thread Jens
You should revert all your code changes done in 1-3. All code is intentional and the real problem is the Google Plugin for Eclipse which does not understand JSNI shortcut notation and has some trouble with the UiBinder test files. You can safely ignore these errors. If these errors bug you

Re: [gwt-contrib] GWT 2.8.0-SNAPSHOT

2015-02-02 Thread Jens
we are intentionally not deploying right now, but we will eventually sort this out. I am sorry but we do not have an ETA for that. Why is it intentionally and why will it only eventually be sorted out? Whats going on? -- J. -- You received this message because you are subscribed to

Re: [gwt-contrib] Re: two errors in master

2015-01-31 Thread Jens
It looks like I've already a dependency to guava-16.0.1-rebased.jar in the trunk/dev/build.xml (did not change anything except the jdt-things). Here is the full build.xml: https://gist.github.com/foxylion/93c69dcc40a0c0e3a95c Did I miss something? Have you updated the SVN tools checkout

Re: [gwt-contrib] Re: two errors in master

2015-01-31 Thread Jens
Thanks Jens, this was the problem. Looks like I missed to change it the second time. Eclipse has also published a new build of the jar in case you want to use it: https://repo.eclipse.org/service/local/repositories/eclipse-staging/content/org/eclipse/jdt/org.eclipse.jdt.core/3.11.0

Re: Possible performance enhancements for CalendarUtil.getDaysBetween()

2015-01-30 Thread Jens
Your implementation does not have same behavior as the original GWT one. GWTs implementation resets hours, minutes, seconds and milliseconds while your implementation only resets milliseconds AND you reset them wrong as well :) For negative getTime() your calculation moves time to the next

Re: GWT 2.7 Incremental Build

2015-01-28 Thread Jens
2.7 uses SuperDevMode by default and uses incremental compilation which makes SDM actually usable in larger projects. Our recompile times are between 3-10 seconds depending on project size and the amount of files changed between recompiles. -- J. -- You received this message because you are

Re: Regex matches error in production

2015-01-27 Thread Jens
Seems like you can not do \d{0,15}+ in JavaScript. You have to wrap it in a group (\d{0,15})+ or remove the plus quantifier. .matches(^\\d{0,15}(\\.\\d{1,2})?$) .matches(^(\\d{0,15})+(\\.\\d{1,2})?$) You can easily test this using https://www.regex101.com/#javascript (you need to change the

Re: client logging config help with unexpected popup

2015-01-27 Thread Jens
I am not sure if that also applies to GWT 2.7 as I am using GWT trunk but I had to delete SDM caches to let changes to logging configuration take effect. When SDM starts it tells you which workDir it uses for compilation. Next to that workDir SDM also creates a cache directory named

Re: JSON JsDate/Date encode/decode with restyGWT

2015-01-26 Thread Jens
Probably better asked on a restyGWT forum or on their Github issue tracker. But I guess you have to use java.util.Date on client and server or you have to extend restyGWT so it knows how to map JsDate - Date. -- J. -- You received this message because you are subscribed to the Google Groups

Re: Linker in GWT?

2015-01-26 Thread Jens
Linkers are responsible for producing the final compilation output, see: http://www.gwtproject.org/doc/latest/DevGuideLinkers.html -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving

Re: [gwt-contrib] GWT Generators vs java annotation processing

2015-01-25 Thread Jens
Sadly (?!) I use intellij which doesn't compile on save. IntelliJ has auto make. You can enable it in the compiler settings. You might also need to File - Synchronize to make generated classes visible in the IDE. -- J. -- You received this message because you are subscribed to the

Re: RequestFactory - ValueProxy is null

2015-01-22 Thread Jens
From the official GWT documentation: When querying the server, RequestFactory does not automatically populate relations in the object graph. To do this, use the with() method on a request and specify the related property name as a String: RequestPerson findReq =

Re: GWT 2.7 performance issue

2015-01-21 Thread Jens
Much to our surprise the test show a quite large performance hit. For example a simple test running three for loops inside each other took almost 50% longer with 2.7 then with 2.6.1. What work are you doing inside these for loops? If these loops are empty or only do local, useless work

Re: SuggestBox: how to change suggestions sort order?

2015-01-21 Thread Jens
Were you able to find a solution to this at all? I have been trying to figure this out all week, but I am still stuck. When I try to extend SuggestOracle and implement my own Oracle, I am having problems with some of the methods being private and classes (PrefixTree) with default access

Re: Super Dev Mode - Source maps break points ignored

2015-01-21 Thread Jens
I would first blame Chrome if you use the dev channel of Chrome. Try beta or stable channel and see if you still have issues. Also note that you can not set break points in grey lines since they do not have source mapping information. -- J. -- You received this message because you are

Re: GWT look and feel

2015-01-20 Thread Jens
I don't think GWT will provide more advanced widgets in the future. The problem is as soon as you start adding more advanced widgets, you will get an endless list of use cases that users want to see on these widgets. So it quickly becomes pretty work intensive but the GWT team at Google isn't

Re: Google Plugin for Eclipse 4.3 (Kepler): SDKs still includes gwt-2.6.0

2015-01-19 Thread Jens
The Eclipse update site hasn't been updated with GWT 2.7 yet (for whatever reason). Just download the SDK from gwtproject.org or through Maven. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop

Re: help understanding complicated client logs

2015-01-17 Thread Jens
If the code is dereferencing null it should always be an error, right? Not really. Maybe a field becomes null while a server request is in progress and when the request finishes the onSuccess callback tries to use that field without any checks. -- J. -- You received this message because

<    4   5   6   7   8   9   10   11   12   13   >