Re: Trying to export non-static methods to javascript via JSNI

2014-02-14 Thread rjcarr
I should point out the differences. In the first non-working example I use 'this' in my export. In the second example I remove the 'this' and declare my log() method as static. Also, I there's a typo and my string type signatures, they should be followed by a semi-colon, so Ljava/lang/String;

Trying to export non-static methods to javascript via JSNI

2014-02-14 Thread rjcarr
The subject sums it up pretty well, so let's get right to code: public class Main implements EntryPoint { public void onModuleLoad() { export(); } public void log(String msg) { ... } public static native void export() /*-{ $wnd.log = $entry(th...@package.main::log(Ljava/lang/String

Re: [Help] GWT + GAE + Android - Where to start?

2014-02-14 Thread Bruno Brito
Andrew Mackenzie, This is what I've acomplished so far: - Created my entity class with JDO annotations. - Created Endpoint class using GPE. - Created Client Endpoint Libraries using GPE. - Deployed to App Engine. - Created an Android App, imported the necessary client libraries and I was able to

Re: Form factor support using GIN

2014-02-14 Thread Jens
Do your Desktop/Tablet/MobileGinjectors extend from MyGinjector? -- 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...@goog

Re: Form factor support using GIN

2014-02-14 Thread Nava
Hi, I have followed your approach but I have got error that MyGinjector should be annotated with GinModule. In your example you have not annotated MyGinjector. Can you please help providing sample code fragment which works. I am developing an web application for Desktop, Tablet, Mobile platform

Re: Chrome apps and GWT

2014-02-14 Thread alucard
This worked for me: You have to add a new linker extended from DirectInstallLinker. public class CspLinker extends DirectInstallLinker { @Override protected String getJsInstallLocation(LinkerContext context) { return "path/to/modified/script/installLocationMainWindow.js"; } }

Re: RequestFactoryEditorDriver Can P be a list of proxy ?

2014-02-14 Thread Rogelio Flores
On the other hand, if you are editing a list of proxies and using a DataGrid, you want to take a look at HasDataEditor, which allows you to edit a list of proxies by doing simply this: HasDataEditor myListEditor = HasDataEditor.of(myDataGrid) On Friday, February 14, 2014 6:07:46 AM UTC-5, Thom

Re: Using SuperDevMode with code splitting

2014-02-14 Thread Luis Fernando Planella Gonzalez
Well, after patching CompilerOptionsImpl in gwt-codeserver.jar to return true in isRunAsyncEnabled(), the code server started splitting the code, but source maps were only generated for the initial fragment. I don't know the internals, but shouldn't be terribly hard to have the source maps for e

Re: native Drag n Drop support

2014-02-14 Thread Rogelio Flores
On my GWT.create conference presentation, I showed dnd working between two DataGrids. It supports multi-selection and it uses the basic native dnd events that come with GWT mentioned by Thomas. I've never done the same with trees,

Re: Compile Error after switching to 2.6 in first compile run

2014-02-14 Thread Boris Lenzinger
There is this error in your stack : [ERROR] Errors in 'file:/Users/xgadjth/sandboxes/b21_gwt-03.03.00/render/source/de/gad/gfw/web/gui/render/toolbar/ToolBar.java' [ERROR] Line 116: The method addStyleName(String) is undefined for the type AutoHidePreventMenu [ERROR] Line 123: The me

Using SuperDevMode with code splitting

2014-02-14 Thread Luis Fernando Planella Gonzalez
Hi. I'm recently attempting to use SuperDevMode, but our project is quite large, and the generated compiled .js has ~12MB. Chrome struggles (and hangs) when attempting to download source maps, making the whole debugging unpractical. Without SuperDevMode, we use code splitting, and the fragments a

gwt 2.6 symlinks with jetty

2014-02-14 Thread Антон Печенко
Hi, all! With last update to gwt 2.6 I have headache tring to get jetty serve my symlinked .html files. Now all of my projects had stopped to work. In 2.5 and earlier I edited included jetty config in gwt-dev.jar to set org.mortbay.util.FileResource.checkAliases=false. Now it seems not possibl

Excluding permutation compilation combinations?

2014-02-14 Thread Ed
How can I exclude certain permutation compilation combinations? Example: I have the following combination showing in my soyc report that I like to exclude: 'ipad' , 'user.agent' : 'ie9' Note: I know how to hard code the required compiler permutations output (include action), that I use durin

FlexTable RowSpan Issue

2014-02-14 Thread Davide Micheletti
Hi all, i've found an issue when using RowSpan with FlexTable. When you try to insert a text, with RowSpan, in a column the other columns at right shift by one. Here an Example: ''|

Re: Compile Error after switching to 2.6 in first compile run

2014-02-14 Thread Jan Thewes
Well, the order has to do something with the failing compile. But this is new with GWT 2.6. Before our compilation always worked. And we don't have changed our code since the change to 2.6. Still need ideas what this can be. In my opinion this is a GWT internal bug. Am Dienstag, 11. Februar 201

Re: RequestFactoryEditorDriver Can P be a list of proxy ?

2014-02-14 Thread Thomas Broyer
You don't need the editor framework to feed a DataGrid. For other use-cases, workarounds include using an EditorDriver per value in the list, or having the list as a property in a wrapper object. On Friday, February 14, 2014 9:13:13 AM UTC+1, pierre laurent wrote: > > Hi There, > > Interface Req

Re: CellTable:: Deselecting an already selected row

2014-02-14 Thread Alicia Jones
Jon, please clarify... 1. Where selectionModel_ declared and instantiated? 2. Do you have a constructor? In the code-as-is this private method is never called. Thanks! Alicia On Friday, September 6, 2013 8:18:12 AM UTC-5, Jon T wrote: > > public class MyDataGrid extends DataGrid { > private Se

setWidgetSize on DockLayoutPanel does not effectively seem to update anything

2014-02-14 Thread Thomas Rodenhausen
I use a DockLayoutPanel using UIBinder like this: ... ... At some point I want to set the size

Re: RequestFactoryEditorDriver Can P be a list of proxy ?

2014-02-14 Thread almagnit
For editing nested collections use ListEditor http://docs.sencha.com/gxt-guides/3/data/editors/Editors.html 2014-02-14 12:13 GMT+04:00 pierre laurent : > Hi There, > > Interface RequestFactoryEditorDriver Editor

RequestFactoryEditorDriver Can P be a list of proxy ?

2014-02-14 Thread pierre laurent
Hi There, Interface RequestFactoryEditorDriverhttp://www.gwtproject.org/javadoc/latest/com/google/gwt/editor/client/Editor.html> > Type Parameters:P - the type of Proxy being editedE - the type of Editorthat will edit the Record Can P be a list of proxy ? I do have a list of proxy ( see belo