Re: GWT Spring

2012-03-13 Thread Alex Dobjanschi
The framework is very elementary, and lacks one of spring's most important feature: ioc container. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: RPC Serialization of an Interface..

2012-03-13 Thread Alex Dobjanschi
try to use classes first, but you can definitely use interfaces. there are a couple of considerations: 1 interfaces must extend Serializable 2 those interfaces must be found by gwt rpc generator, so place them in one of the source imports of gwt module 3 implementations of these interfaces must

Re: Editors and Lists

2011-12-15 Thread Alex Dobjanschi
Yes, something like that. I'll submit my findings here (as I haven't found any thread similar). Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Editors and Lists

2011-12-14 Thread Alex Dobjanschi
Hi guys, as I'm starting to learn about gwt editors, I find it difficult to express *one particular concern*: the ability to edit a list of items. Let's say I have: Article { ListString tags = new ArrayListString(); String title; String text; } Now, the overall editor for the

Re: Editors and Lists

2011-12-14 Thread Alex Dobjanschi
I have looked over the possible editors before coming here, and I was hoping for a bit more detailed answer. A ListEditor was my first guess too, but then, I had to supply an editor for String (3rd generics type): ListEditor String, *EditorString* ... that I still have to supply. Another

Re: what is the differences between Event and GwtEvent?

2011-09-16 Thread Alex Dobjanschi
I assume you mean com.google.web.bindery.event.shared.EventH ? In true, GwtEvent is a specialized EventH bound to Gwt and its event handling mechanism (XEventHandler, HasXHandlers, EventBus, etc). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: remember places

2011-09-15 Thread Alex Dobjanschi
Your login place should have a 'redirectAfterLogin' String member, like this: class LoginPlace extends Place { String redirectAfterLogin; } Optionally, you could go for, this is closely bound to GWT specific implementation: class LoginPlace extends Place { Place redirectAfterLogin; } --

Re: HTML5 Storage: Is it possible to expose/use the serializer/de-serializer used by GWT-RPC internally on the client??

2011-08-29 Thread Alex Dobjanschi
I can understand your point of view (having some generalized/simplified way to use storage + RPC), but I would not do that. Internal data-structure could change between versions, and you need a way to inject the data at the bottom-level of RPC mechanism (right when the bytes get off wire). My

Re: Help! Some confusing problems about gwt rpc with generics!

2011-08-29 Thread Alex Dobjanschi
Are you sure you need a generic RemoteService? Like Jeff stated, RPC proxyCreator needs to ensure all subtypes of the types specified in your RemoteService need to be serialized (that way, server client can communicate without problems). This will bloat the size of generated code. Moreover,

Re: MVP + GIN + Storing User Data in client Code?

2011-08-29 Thread Alex Dobjanschi
You should not build your Ginjector until you read user role/permissions. App { show_some_loading_ui (); rpc_get_user_and_permissions (callback { success (..) { // hide some_loading_ui. // use a DeferredCommand to load the app (#see onModuleLoad2 -P). } failure (..) {

Re: RPC Serialize: set filter at runtime to select fields to serialize

2011-08-29 Thread Alex Dobjanschi
I would go with DTO. From your post, I get that you don't want lazy-load -- if that's so, why don't you disable it? http://docs.jboss.org/hibernate/core/3.3/reference/en/html/performance.html#performance-fetching -- You received this message because you are subscribed to the Google Groups

[how to] I want to invoke Generator.generate

2011-08-28 Thread Alex Dobjanschi
Hi guys, like the subject states, for testing purposes I want to create and compile new classes at runtime, using generators (similar to what deferred binding does, only programmatic). I have an instance of a generator (doesn't matter which one), and I want to invoke codegenerate(...)/code.

Re: How to do JUnit testing for a composite widget created using UIBinder?

2011-08-28 Thread Alex Dobjanschi
IMO You should not do unit testing for views. All you could test is what, that they look ok? Or they respond to app events? Or rather generate an app event, based on user input? While those cases are indeed valid, testing them by hand is very very easy. You should however have a

Re: [how to] I want to invoke Generator.generate

2011-08-28 Thread Alex Dobjanschi
Thanks Thomas, I'll have a look. But, I'm not interested in how GWT tests its own generators. Anyway I think you got my point. Alex. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: JUnit testing with GWT

2011-08-18 Thread Alex Dobjanschi
One thing you should know about unit testing the client code (gwt) of your project is that it's *very very slow*. See more herehttp://code.google.com/webtoolkit/doc/latest/DevGuideTesting.html . If you're new to unit testing (or only junit?), then I'd recommend writing some tests for a pure

Re: UI Binder Button Problem

2011-08-16 Thread Alex Dobjanschi
What are you trying to do exactly? Setting the upFace of a PushButton? Then go with {{{ g:PushButton ui:field=button upFace={img.button} / }}} (not sure highlight will work) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: event.getKeyCode not returning correct for key up event

2011-08-16 Thread Alex Dobjanschi
If you're using a KeyUp/Down/Press/Handler, are you getting this too? -- 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/-/JM6ljZ5lKJoJ. To post to

Re: onsubmit complete called in windows but problem in linux

2011-08-11 Thread Alex Dobjanschi
What isn't working -- upload (you don't see the call), server processing, there isn't any response? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

UiBinder and abstract nested views

2011-08-10 Thread Alex Dobjanschi
Hello guys, I was going through the UiBinder docs ( http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Using_a_widget), and I was wondering if you could have a nested view, like this: interface Header *extends IsWidget* { // have some methods here, not important } class

Re: Aw: UiBinder and abstract nested views

2011-08-10 Thread Alex Dobjanschi
That looks right. Thanks, Jens. Is there any release version that will include this patch (anyone)? Except that, looks like I'll compile the source code from svn. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on

Re: Cannot deserialized ArrayList object in GWT 2.3

2011-08-10 Thread Alex Dobjanschi
http://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication.html#DevGuideSerializableTypes If you have an ArrayListA, is A implementing Serializable? Also, the data types need to be gwt-translatable. This means you cannot (de)serialialize a domain object, that keeps references to

Re: Cannot deserialized ArrayList object in GWT 2.3

2011-08-10 Thread Alex Dobjanschi
You're really not showing us the code. Please follow the guidelines then, and check one by one. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: JDO, RequestFactory, String and PrimaryKey

2011-08-10 Thread Alex Dobjanschi
I'd suggest you first write a unit test that checks if your data types are actually valid (say, persist some, delete some, etc). This test will only run for 0.5-1s, so it's really fast. Then, you should know that GWT cannot send everything through the wire (from server to client). The *Key*

Re: running gwt on websphere 6 and 7? confict of java version requirments?

2011-08-10 Thread Alex Dobjanschi
The message from GWT is a warning -- you can safely ignore it, as long as you stick with the configuration (those specific JRE/GWT versions). 2nd, I have no idea about websphere, but I find it very weird to not be compatible with java6; lastly, the UnsupportedClassVersionError happens because

Re: use ui:text from

2011-08-10 Thread Alex Dobjanschi
read docs? -- 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/-/_2tOBZDxqGwJ. To post to this group, send email to

Re: Cannot deserialized ArrayList object in GWT 2.3

2011-08-10 Thread Alex Dobjanschi
BM, can you create an empty project and copy those files (service, service async, server impl, etc) run it? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: GWT is for apps — right? But what's about static pages? (GWT's Future Plans...)

2011-08-04 Thread Alex Dobjanschi
http://code.google.com/web/ajaxcrawling/docs/getting-started.html -- 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/-/eSyQbMFsHaQJ. To post to this

Re: GWT is for apps — right? But what's about static pages? (GWT's Future Plans...)

2011-08-04 Thread Alex Dobjanschi
I just saw you already posted this link, sorry for that. As far as it goes, you're basically running Javascript code, in a (simple-to-complex) app, inside client code (browser sandbox). I don't how crawling such an app would be straightforward. -- You received this message because you are

Re: Linking multiple GWT applciations..

2011-07-08 Thread Alex Dobjanschi
So you want to have a single app (your dashboard, but independently develop each game as a totally separated gwt app, is that right? Total flexibility, no? First, there have been countless questions about how to communicate between 2 (supposedly) independent GWT apps. Secondly, this design,