Pass data by hostpage error:JavaScriptObject$ cannot be cast to com.pkg.model

2012-12-05 Thread Alex Luya
I followed this article to use hostpage to pass an array to client: https://developers.google.com/web-toolkit/articles/dynamic_host_page Currently,I can see follow content in firebug html style=overflow: hidden; head .. script type=text/javascript var

Re: TextBox with pre-filled suggestion

2012-12-05 Thread dcheeky77
Wow, thank you very much, I'll definitely give it a try!!! On Wednesday, December 5, 2012 8:04:33 AM UTC+1, Igor Knyazev wrote: You can use HTML 5 input placeholder attribute to achive that. TextBox textBox = new TextBox(); textBox.getElement().setAttribute(placeholder, some text); check

Debugging client side

2012-12-05 Thread dcheeky77
Hello! It might be a stupid quetsion, but: I started a simple project in GWT, developed forms in package *.client.gui and debugged with no problems (I'm using Eclipse Juno and its Google plugin, and I'm in development mode), even the client code (the Java version, I mean). After one change I

Re: gwt maven plugin precompile goal?

2012-12-05 Thread Thomas Broyer
On Tuesday, December 4, 2012 9:12:10 PM UTC+1, Milan Cvejic wrote: Hi, is it somehow possible just to precompile code instead of running full compilation using maven plugin for gwt? You can use validateOnlytrue/validateOnly (or -Dgwt.validateOnly), most probably combined with

Re: The Future of GWT Report 2012 Published

2012-12-05 Thread Drew Spencer
I agree with the others who think the email address requirement is a little over the top. You'd spread more copies by making it free, but I guess you want emails. On Tuesday, 4 December 2012 17:33:55 UTC, nicolas marchais wrote: Maybe it's Jukito : http://code.google.com/p/jukito/ Le mardi

Re: TextBox with pre-filled suggestion

2012-12-05 Thread dcheeky77
I confirm that both solutions worked!! Thank you very much! On Wednesday, December 5, 2012 9:33:35 AM UTC+1, dcheeky77 wrote: Wow, thank you very much, I'll definitely give it a try!!! On Wednesday, December 5, 2012 8:04:33 AM UTC+1, Igor Knyazev wrote: You can use HTML 5 input placeholder

iframe + radio button + flash

2012-12-05 Thread Jose María Zaragoza
Hello: There is a issue in Chrome about pages with flash objects and iframes containing radio button. The problem is a white border around this widget. http://code.google.com/p/chromium/issues/detail?id=141412 In this page there is an example It's a Chrome bug ( and very old , by the way

Mix Elemental and Widget

2012-12-05 Thread J.Ganesan
On drop event, I would like to get elemental.dom.Clipboard object from onDrop(com.google.gwt.event.dom.client.DropEvent event) method. The idea is to read the binary data and the name of the file being dropped onto a com.google.gwt.user.client.ui.ScrollPanel. How do I do this ? Apparently, it

Re: Mix Elemental and Widget

2012-12-05 Thread Thomas Broyer
On Wednesday, December 5, 2012 3:36:43 PM UTC+1, J.Ganesan wrote: On drop event, I would like to get elemental.dom.Clipboard object from onDrop(com.google.gwt.event.dom.client.DropEvent event) method. The idea is to read the binary data and the name of the file being dropped onto a

Re: The Future of GWT Report 2012 Published

2012-12-05 Thread Ryan Shillington
I just wanted to thank you for taking the time to make this so consumable. I found it very interesting to read. If getting my (spam-me-as-much-as-you-want) email was the cost, I'd pay that again happily. Whoever put this together did a very, very good job. If this had been a big table of

Re: Debugging client side

2012-12-05 Thread dcheeky77
Something which might be connected: is it normal that for each change I make to the code I need to compile again everything? Now the whole recompilation takes 40 seconds, so it's becoming a bit of nuisance... :| If I don't recompile, changes are not seen, neither on the server code, nor on the

DataGrid with a Frozen Column?

2012-12-05 Thread Joshua Godi
Is it possible to have a frozen column inside a DataGrid? I would like the first column to always show no matter if the user scrolls right or not. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web

Re: Debugging client side

2012-12-05 Thread Thomas Broyer
On Wednesday, December 5, 2012 4:28:10 PM UTC+1, dcheeky77 wrote: Something which might be connected: is it normal that for each change I make to the code I need to compile again everything? Now the whole recompilation takes 40 seconds, so it's becoming a bit of nuisance... :| If I don't

overlay types not so zero-overhead

2012-12-05 Thread Sebastián Gurin
Hi all. I'm playing with GWT overlay types for learning better ways of overlaying and working with them more agile. In particular I found that JSO setters methods that return 'this' for method chaining are a good way of defining an object state in a single Java statement, just like they are

Re: overlay types not so zero-overhead

2012-12-05 Thread Thomas Broyer
On Wednesday, December 5, 2012 5:06:38 PM UTC+1, Sebastián Gurin wrote: Hi all. I'm playing with GWT overlay types for learning better ways of overlaying and working with them more agile. In particular I found that JSO setters methods that return 'this' for method chaining are a good

Re: Pass data by hostpage error:JavaScriptObject$ cannot be cast to com.pkg.model

2012-12-05 Thread Sebastián Gurin
I think you have it wrong. I would do this, first, People must be a JavaScriptObject not an interface: public class People extends JavaScriptObject { protected People(){} public native final String image() /*-{ return this[image]; }-*/; public native final People image(String val) /*-{

Re: overlay types not so zero-overhead

2012-12-05 Thread Sebastián Gurin
Thomas, thank you very much for your input. I think I will keep coding using method chaining and now at least I know they are not free in terms of code size and performance. Also I will test how this behaves introducing closure. Also I have made some little tests, the most interesting is using

Re: Debugging client side

2012-12-05 Thread dcheeky77
Thank you very much: the gwt.codesvr was actually lost in one of the redirection used in the authentication process. I never even thought of it (thing is, just now I learn its purpose)!!! Regarding compilation, I was aware of the double arrows, but they don't work if I don't recompile the code

Re: Debugging client side

2012-12-05 Thread dcheeky77
SILLY ME!!! The parameter was lost twice! Your solution works like a charm!!! Thank you very very much!!! :) On Wednesday, December 5, 2012 7:29:09 PM UTC+1, dcheeky77 wrote: Thank you very much: the gwt.codesvr was actually lost in one of the redirection used in the authentication process.

Creating widgets for use with / without GWT

2012-12-05 Thread Magno Machado
I'm creating some widgets and want them to be usable as normal GWT widgets, and also on non GWT apps It's simply some input boxes with a few input constraints. What I did untill now is to code them as any gwt widget, and to enable the use on non gwt apps I export some JS functions that take an

GWT Subeditor not working

2012-12-05 Thread Naresh
Hello everyone, I am trying to implement an *edit dialog* for a grid using UI binder, request factory and GWT editor. I am able to fetch records in grid and when user clicks on particular row trying to open the dialogue populated with appropriate values using GWT Editor. My POJO/Proxy class

Re: The Future of GWT Report 2012 Published

2012-12-05 Thread Ali Jalal
Many thanks to Vaadin, Steering Committee and GWT community for such a useful report. On Wed, Dec 5, 2012 at 6:56 PM, Ryan Shillington ryan-googlegro...@onlyinsight.com wrote: I just wanted to thank you for taking the time to make this so consumable. I found it very interesting to read. If

web workers -unflattenKeylistIntoAnswers not defined

2012-12-05 Thread Erik Sapir
I have a problem running my web workers in GWT in case i build them for more than one agent. I receive an error that unflattenKeylistIntoAnswers function is not defined. And indeed, the function is defined for the main JS but for the Web worker JS. Also, some other functions such as

Re: Activities and places with MVP approach question

2012-12-05 Thread Daniel Mauricio Patino León
Hi Joseph i am not trying to move the backend things on AP i meant the actions of the user. Some user could bookmark the place of edit, create or read Products, for example. The place and activity per action. /#Addproduct: /#Editproduct:1312 /#Readproduct: or just one place different

Re: GWT Plugin for Eclipse 3.8 (Juno 4.2)

2012-12-05 Thread Suri
I've been trying to install the GWT plugin for the past few days on my fresh Eclipse Juno and been scouring the internet for ways about this thing. Eclipse seems to hand at reading the XML or so. I get a provisioning exception with an error that the communication to the repository failed. I

Re: The Future of GWT Report 2012 Published

2012-12-05 Thread RAlfoeldi
This survey is based on data collected from GWT users and should be available to all users without registering with a company I am not interested in doing business with. If this is the type of community building we have to expect for the future... good luck, without me. And then... try

Re: The Future of GWT Report 2012 Published

2012-12-05 Thread maticpetek
I would also like to thank all that prepare this survey result and all the members of Steering Committee. It will help us with how to use GWT in feature. And it confirm we are not alone with out problems ;) Regards, Matic On Wednesday, December 5, 2012 8:07:34 PM UTC+1, Ali Jalal wrote:

Re: RFC 1867-compatibe File Upload

2012-12-05 Thread Thad
On Monday, December 3, 2012 10:09:34 PM UTC-5, Shawn Quinn wrote: The GWT Uploader project also provides callbacks for file upload progress events, all on the client side: http://www.moxiegroup.com/moxieapps/gwt-uploader/ Thanks, -Shawn Shawn, The demos look *very* impressive so

Re: GWT Subeditor not working

2012-12-05 Thread Thomas Broyer
Looks like you forgot to initialize() your EditorDriver On Wednesday, December 5, 2012 1:28:35 PM UTC+1, Naresh wrote: Hello everyone, I am trying to implement an *edit dialog* for a grid using UI binder, request factory and GWT editor. I am able to fetch records in grid and when user

GWT Plugin for Firefox 13

2012-12-05 Thread dhoffer
Where can I find downloadable plugins to install on older browsers? The links I see in some postings on this subject don't work. Note I don't have the option of downloading the plugin from the browser as I'm testing/debugging in a closed environment. (I could use any browser, whatever is

DataGrid and EditTextCell in sub rows problem

2012-12-05 Thread Michael Vogt
Hello. I have EditTextCells in sub rows of a DataGrid, basically created like in the sample DataGridhttp://gwt.google.com/samples/Showcase/Showcase.html#!CwCustomDataGrid. I just replace the TextCells in the sub rows with EditTextCells. There are two problems: - When entering edit mode in a

Code conditional on iOS

2012-12-05 Thread Kyle Baley
Is there a non-JSNI way of detecting whether a user is on iOS, specifically iOS 6. We had a bug introduced in our app that happens only on iOS6. It has to do with how two different panels are inserted into the DOM and whether they accept mouse down events. The method we have now works

Re: GWT Plugin for Firefox 13

2012-12-05 Thread Thomas Broyer
The XPI from the SVN works (should work) for all versions of Firefox back to 3.0, as we're *adding* new DLLs/SOs/DYLIBs for each new Firefox version: https://google-web-toolkit.googlecode.com/svn/trunk/plugins/xpcom/prebuilt/gwt-dev-plugin.xpi On Wednesday, December 5, 2012 10:40:15 PM UTC+1,

Re: Code conditional on iOS

2012-12-05 Thread Thomas Broyer
On Thursday, December 6, 2012 2:17:58 AM UTC+1, Kyle Baley wrote: Is there a non-JSNI way of detecting whether a user is on iOS, specifically iOS 6. We had a bug introduced in our app that happens only on iOS6. It has to do with how two different panels are inserted into the DOM and

Re: Code conditional on iOS

2012-12-05 Thread Kyle Baley
Sweet! Thanks. On Wednesday, December 5, 2012 9:05:06 PM UTC-5, Thomas Broyer wrote: On Thursday, December 6, 2012 2:17:58 AM UTC+1, Kyle Baley wrote: Is there a non-JSNI way of detecting whether a user is on iOS, specifically iOS 6. We had a bug introduced in our app that happens only on

[gwt-contrib] Fix a GWT-RPC issue where covariant array types for lists of raw types were (issue1874803)

2012-12-05 Thread skybrian
Reviewers: cromwellian, Description: Fix a GWT-RPC issue where covariant array types for lists of raw types were being generated inconsistently, causing serialization policy generation to be nondeterministic. Includes tests. Fixes issue 7791. Please review this at

[gwt-contrib] Re: Fix a GWT-RPC issue where covariant array types for lists of raw types were (issue1874803)

2012-12-05 Thread cromwellian
LGTM. General potentially unrelated question, what about the case static class Covariant extends Itemint[] Is this handled properly? http://gwt-code-reviews.appspot.com/1874803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix a GWT-RPC issue where covariant array types for lists of raw types were (issue1874803)

2012-12-05 Thread skybrian
On 2012/12/05 23:41:03, cromwellian wrote: LGTM. General potentially unrelated question, what about the case static class Covariant extends Itemint[] Is this handled properly? It looks like it. In that case, isClassOrInterface() will return null, so it won't look at covariant types, just