ClassCastException in DevMode on GWT 2.0 w/ Overlay Types

2010-01-22 Thread Roger Studner
I'm trying to do this: public interface Alert { public ArrayList getOtherAlerts(); } Client Code: public class JSAlert extends JavaScriptObject implements Alert { public final native ArrayList getOtherAlerts() /*-{ return this.alerts; }-*/; } another class: public void onModuleLoa

HostedMode/Dev Mode, 2.0 and Javascript Overlay Types

2010-01-24 Thread Roger Studner
Question.. if I have an interface: public MyInterface { ArrayList getSomethings(); } Then on the client I implement: public JSMyInterface extends JavascriptObject implements MyInterface { private ArrayList mySomethings; public ArrayList getSomethings() { return mySomethings;

Re: HostedMode/Dev Mode, 2.0 and Javascript Overlay Types

2010-01-24 Thread Roger Studner
ts to the > ArrayList. This is beacuse there is now way to now that it is an ArrayList > when you using eval. But I could be wrong. > > 2010/1/24 Roger Studner > Question.. if I have an interface: > > public MyInterface { > ArrayList getSomethings(); > } > > T

Re: MVP Question

2010-01-25 Thread Roger Studner
I've found after (far too many) years of engineering software, that consistency is far better than dogma. It is incredibly rare that a design pattern, taken off the shelf and dusted, works for every case. In your case, if you have a reason to create the view via the presenter, I wouldn't fear

Re: GWT support for Grails/Groovy domain objects

2010-01-27 Thread Roger Studner
And to add one thing. Using JSON w/ GWT is well.. "awful". The main reason for this, is that you get JSON back to the client, and either use Overlay Types (can't use instanceof with there, and about 500 other issues).. or you hve to take a "simple" OverlayType and then re-instantiate all of yo

Re: GWT support for Grails/Groovy domain objects

2010-01-28 Thread Roger Studner
lready existing application, so >> I need to hook something in between the service side application & GWT to >> communicate, so I am looking out if it should be json or xml. >> >> >> - Abdullah >> >> On Wed, Jan 27, 2010 at 5:11 PM, Roger Studner &

Re: GWT support for Grails/Groovy domain objects

2010-01-28 Thread Roger Studner
GWT application, the communication with server part is >> pending, the server side is java but its an already existing application, so >> I need to hook something in between the service side application & GWT to >> communicate, so I am looking out if it should be jso

GWT-EXT and GWT 2.0

2010-01-29 Thread Roger Studner
Anyone have experience with mixing these two beasts? I have a GWT 1.5.3 based project that is using GWT-EXT (the old, free/opensource-ish versus that wrapped ExtJS). I'm not talking about GXT or EXT-GWT (yes, I know, confusing names) Roger -- You received this message because you are subscrib

Re: GWT-EXT and GWT 2.0

2010-01-30 Thread Roger Studner
be a good idea use it with GWT 2.0. I don't know if it has some issue. > > Why don't you use SmartGWT or GXT? > > > Regards. > > > > On Jan 29, 11:09 am, Roger Studner wrote: >> Anyone have experience with mixing these two beasts? >> >&g

Re: GWT-EXT and GWT 2.0

2010-01-30 Thread Roger Studner
How did you find the migration from GWT-EXT to GXT? Do I basically just, well, "delete all my views" and start over :)? Roger On Jan 30, 2010, at 6:09 PM, Sorinel C wrote: > Hi Roger, > > There you go -- I hope, here: > > http://ui-programming.blogspot.com/2010/01/comparation-ext-gwt-gxt-vs..

Re: [ANN] Objectify-Appengine 2.0, easily use GWT with the GAE datastore

2010-02-12 Thread Roger Studner
Begs the question (and I don't have time, sadly, to try it). GWT 2.0 + ObjectifyWithGWT + (Gaelyk or Grails) That would be an insanely awesome stack. Roger On Feb 12, 2010, at 2:54 PM, Jeff Schnitzer wrote: > A couple days ago the Objectify team released version 2.0 of > Objectify-Appengine,

Re: [ANN] Smart GWT 2.1 Released

2010-03-03 Thread Roger Studner
it pains me to say that the samples doesn't work in GOOGLE chrome heh Roger On Mar 3, 2010, at 8:18 AM, Sanjiv Jivan wrote: > Hi all, > Smart GWT 2.1 has just been released. > > Release announcement : > http://www.jroller.com/sjivan/entry/smart_gwt_2_1_released > Showcase with new samples : ht

Re: Smart GWT 2.1 Released

2010-03-03 Thread Roger Studner
; working for me. > > BTW - Love the new skin and the ability to add widgets to grid cells. > > On Mar 3, 8:55 am, Roger Studner wrote: >> it pains me to say that the samples doesn't work in GOOGLE chrome heh >> >> Roger >> >> On Mar 3, 2010, at 8:18 AM

Re: Smart GWT 2.1 Released

2010-03-03 Thread Roger Studner
work. I am using Chrome and all the samples are > working for me. > > BTW - Love the new skin and the ability to add widgets to grid cells. > > On Mar 3, 8:55 am, Roger Studner wrote: >> it pains me to say that the samples doesn't work in GOOGLE chrome heh >> &g

Re: Using Javascript Overlays vs. Manually setting up POJO instances?

2010-06-10 Thread Roger Studner
The only problem I found with this interface technique (which I immediately wanted) was this: public interface MyEntity { List getNames(); } The javascript overlay type has to deal in JSArray's, the server can't etc. So for all lists/collections I found it broke down pretty quick Roger On

Re: Caution: SmartGwt loadup size is big

2010-07-14 Thread Roger Studner
SmartGWT or ExtJS(gwt-ext, ext-gwt) etc.. all have this issue. "I'd like one tiny tiny feature." "here are your 1000+ files." Thanks! Roger On Jul 14, 2010, at 7:22 PM, mk wrote: > We have a tiny widget from SmartClient's SmartGwt. And it had > increased the intial loadup size between webserv

GWT 2.1M(anything)

2010-09-24 Thread Roger Studner
The onKeyPress events.. when you check for a modifying (shift, control, if they hit the enter key). On OSX *all* of these report 0. Thus, I mean, you can't really use onKeyPress to check for the ENTER key.. well.. ever ;) Roger -- You received this message because you are subscribed to the G

Re: GWT 2.1M(anything)

2010-09-24 Thread Roger Studner
se you have to use KeyDown or KeyUp events for these :D > > I had to change my masked textbox for that when upgrading to gwt 2.1 > > Cheers, > > On Fri, Sep 24, 2010 at 8:17 AM, Roger Studner wrote: > The onKeyPress events.. when you check for a modifying (shift, control, if

Re: Integration of hibernate with GWT

2010-10-07 Thread Roger Studner
Why GWT scares me these days just a bit: "I'd suggest waiting a bit (a few days, maybe even just hours) for the 2.1 RC1 release of GWT and use RequestFactory (you could go with the current M3, but many things have changed since then, so starting with RC1 would probably be better)." Roger On Oc

Re: Integration of hibernate with GWT

2010-10-07 Thread Roger Studner
aying, "The new version broke X,Y,Z" No worries though :) Roger On Oct 7, 2010, at 2:09 PM, Thomas Broyer wrote: > > > On 7 oct, 19:42, Roger Studner wrote: >> Why GWT scares me these days just a bit: >> >> "I'd suggest waiting a bit (a few days, ma

Re: GWT Designer Libraries

2010-11-12 Thread Roger Studner
Well.. a quick bit of objective (having used all 3) opinions. It is simple: 1) don't use GWT-EXT. 2) GXT is a "pure java" solution, and the only one of the 3. 3) SmartGWT is *really slick*, but it is basically a little java code, that just "wraps" the SmartClient javascript library (imagine a cou

Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Roger Studner
Everytime I try to do GWT Dev mode (gwt 2.1) with Chrome on OSX, it gives me the "Failed to connect to server" error message i've tried bindAddress 0.0.0.0 and a pile of other workarounds. Anyone have this problem/success with this? Note - works 100% of the time using firefox.. i'd just like to

SmartGWT and Chrome vs Firefox

2010-12-22 Thread Roger Studner
When I try to start dev mode in firefox, things work perfectly. When I try with Chrome, I get the "Failed to connect to server" and this exception appears in the browser (note, nothing shows up in the dev mode window etc) java.lang.reflect.InvocationTargetException at sun.reflect.NativeM

Re: Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Roger Studner
Yeah, toolbox stays red/no permissions issue.. I did go ahead and add localhost localhost:9997 127.0.0.1 127.0.0.1:9997 etc etc before I figured there might just be a bug ;) Roger On Dec 22, 2010, at 10:17 AM, Chris Conroy wrote: > Matthew: There is a plugin as of a few weeks ago. > > Roger

Re: SmartGWT and Chrome vs Firefox

2010-12-22 Thread Roger Studner
Certainly feels like this could be it Roger On Dec 22, 2010, at 10:15 AM, Chris Conroy wrote: > just guessing, but you could be hitting a different manifestation of this > bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=5778 > > On Wed, Dec 22, 2010 at 8:59 AM, R

Re: Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Roger Studner
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) > at java.lang.Thread.run(Thread.java:636) > > > > On Wed, Dec 22, 2010 at 10:23 AM, Roger Studner wrote: > Yeah, toolbox stays red/no permissions issue.. > > I did go ahead and ad

Detecting a checkbox click

2011-08-03 Thread Roger Studner
I'm trying to detect a checkbox selection "click" so I can do some other work (enable a button/change some css.. trivial stuff) I tried GWTQuery, which fails (I can bind a click handler to every checkbox.. but after 1 click, CellTable appears to remove my bindings hah) I've tried overriding pil

Radiobutton vs checkbox in celltable

2011-09-15 Thread Roger Studner
If I do a single selection model etc.. (canonical).. I get a checkbox. Technically, you'd think, this would render as a radio button.. Anyone experiment/discover how to replace the default check box column w/ a radio button ? thanks Roger -- You received this message because you are subscrib

Re: GWT advantages

2011-10-23 Thread Roger Studner
As someone who uses GWT, but also knows HTML/CSS/jQuery… I will at least honestly (flames expected) say that developing with GWT, while great for 'java devs' is far slower and more painful than just doing traditional html/css/js development (if you know what you are doing that is) Roger On Oct

Re: future of gwt & who use gwt

2011-10-23 Thread Roger Studner
jquery != problem with browser compatibility. People will make sure jquery 'still works' *long after* Google stops working on GWT and open sources it. (Not good or bad, just obviously true) Roger On Oct 23, 2011, at 1:57 PM, Rori Stumpf wrote: > > I have a greater fear of having to use plain

Re: jquery?

2011-10-27 Thread Roger Studner
There are many (many) jQuery based live grid implementations. They are far easier to style, implement and customize than "CellTable" A massive strength of GWT, is the ability to model your domain objects on the client. Sure, you can do this in javascript using Backbone and other techniques, bu

Re: Smart GWT use for commercial software development.

2012-04-04 Thread Roger Studner
Don't use SmartGWT for anything. Best, Guy who has actually tried to use SmartGWT at more than 1 company (lots of versions between attempts) and 100% of the time has had to rip it out. On Apr 3, 2012, at 7:09 PM, sanika joshi wrote: > Hi All, > Wanted to know if smart GWT can be used for com

Re: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-20 Thread Roger Studner
That is one awful looking website. *eats popcorn* On Apr 20, 2012, at 2:22 AM, Luc Claes wrote: > The two GWT founders, Bruce Johnson and Joel Webber, have left Google and are > creating a new startup: > http://www.monetology.com/team > > On Thursday, April 19, 2012 9:11:38 PM UTC+2, Supercobr

Re: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-20 Thread Roger Studner
I believe there are a total of … "0".. sessions about GWT. Roger On Apr 20, 2012, at 8:18 AM, Travis Camechis wrote: > One thing for sure is that the code base is still being actively developed if > you look at the activity on the repository. It will be curious to see how > much talk there wi

Re: Firefox 12 release

2012-04-30 Thread Roger Studner
Agreed… right now the giant issue is Mozilla/Firefox. If Firebug didn't exist, I imagine nobody would use Firefox anymore. It is that simple. Roger On Apr 30, 2012, at 10:37 AM, Paul Robinson wrote: > On 30/04/12 15:23, Piergrossi, Mark J wrote: >> >> Alan: >> >> Just wanted to say thank y

JSNI madness!

2012-05-15 Thread Roger Studner
Okay, losing my mind on something trivial.. if I have public class FooBar { public static native void methodA() /*-{ FooBar.methodB(); /*-}; public static native void methidB() /*-{ $wnd.alert("hi!"); /*-}; } this should work? I feel like i've done it 1000

Re: JSNI madness!

2012-05-15 Thread Roger Studner
s more accurate (the fact that i'm trying to access it inside of a function, which affects "scope" to some degree of course Best, Roger On May 15, 2012, at 10:39 AM, Roger Studner wrote: > Okay, losing my mind on something trivial.. if I have > > public class FooB

Re: JSNI madness!

2012-05-15 Thread Roger Studner
For some reason I was thinking/hoping that a "JSNI to JSNI call" wouldn't use the evil syntax. Thanks Thomas! Roger On May 15, 2012, at 11:16 AM, Thomas Broyer wrote: > > > On Tuesday, May 15, 2012 4:39:48 PM UTC+2, Roger wrote: > Okay, losing my mind on something trivial.. if I have > >

Re: Cannot add "-localWorkers" to GWT Compiler when using Eclipse?

2012-05-19 Thread Roger Studner
is thre any documentation out there, other than a really weak javadoc for the ThreadPermutationWorkerFactory that describes what this is/why it works (or doesn't) etc? Roger On May 19, 2012, at 7:01 PM, Edson Richter wrote: > Sorry for answering my own question. I've found that I need to add t

Re: Google IO 2012 : no GWT session ?

2012-05-20 Thread Roger Studner
There is a "wave" and a "buzz" about GWT I jus can't put my finger on. Roger On May 20, 2012, at 6:17 AM, Andrés Testi wrote: > The session topic is "Migrating code from GWT to Dart"... sorry, but it > scares me. > > - Andrés > > El domingo, 20 de mayo de 2012 07:09:11 UTC-3, dflorey escrib

UIB click handlers, GWTQuery, and TD's ;)

2012-05-25 Thread Roger Studner
I'm building an app that has a really good use case for me to have my own/raw HTML Tables (I thought of flextable.. but the api pains me). Anyway.. i'm trying to figure out something and am a bit stuck, thought "the crowd" might have some ideas. piece of code: GQuery td = $(""); ThingyBarUIB

Re: Are you happy with GWT?

2012-10-05 Thread Roger Studner
So, let me give my take on GWT (and add, I'm' happy). I use GWT, UIBinder, and JavascriptOverlayObjects to handle my tempting, i8n and client side business logic code (event bus, writing happy things like if (account.isOpen()) etc) I use 100% ajax calls to JSON endpoints.. I don't use gwt-rpc.

Re: Are you happy with GWT?

2012-10-05 Thread Roger Studner
So i'd read up on having your PHP services produce JSON, and GWT's use of RequestBuilder + JavascriptOverlayObjects. I've put plenty of GWT ui's on front of rails, grails, php back ends etc. TO note: I love javascript.. use it all the time for personal projects.. I just happen to like the blen

Re: Are you happy with GWT?

2012-10-05 Thread Roger Studner
I tend to just always start with an index.html, a reset.css & main.css, and a kitchensink.js hah.. and at some point.. that grows.. and then, at some point, I migrate it to a GWT structure when I feel all the application logic, event bus handling etc warrants it. I really like java package st

Re: Are you happy with GWT?

2012-10-10 Thread Roger Studner
There is no such thing as "producing clean vs not clean" html unless you rely on other peoples widgets. 100% of my widgets are a UIBTemplate.. of my creation… I use GWTQuery (or jquery) to add/remove elements from my widgets. Thus, the HTML is exactly as clean as any HTML that any non-gwt appl

Re: Are you happy with GWT?

2012-10-10 Thread Roger Studner
It helps the most when highly talented html5/css3/jquery people produce mockups etc.. as then translating them to GWT to get i8n, code splitting and a handy way to do an event bus + business logic all in java, is pretty darn easy Roger On Oct 10, 2012, at 6:03 PM, Brian Slesinsky wrote: > The