Re: Ideal development platform for GWT/GAE?

2011-11-28 Thread Y2i
It seems that Ubuntu Linux exhibits just works behavior the best because all necessary tools (git, java, maven) are very easy to install/upgrade from centralized repository (no need to jump through various sites to get them). I use un-modified Ubuntu 11.10 installation with Unity and

Re: Problem Updating View Programmatically

2011-09-20 Thread Y2i
Try replacing Context2d ctx = vw.getCtx(); int w = vw.getCvs().getCoordinateSpaceWidth(); int h = vw.getCvs().getCoordinateSpaceHeight(); with Context2d ctx = cvs.getContext2d(); int

Re: Problem Updating View Programmatically

2011-09-19 Thread Y2i
May be you are missing ui:field=textBox attribute? g:TextBox ui:field=textBoxXXX/g:TextBox -- 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: Howto listen for global key down events

2011-09-19 Thread Y2i
Have you tried Event.addNativePreviewHandler() http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/Event.html#addNativePreviewHandler(com.google.gwt.user.client.Event.NativePreviewHandler) ? -- You received this message because you are subscribed to the Google

Nested activities and Android Fragments

2011-09-19 Thread Y2i
Honeycomb introduced Fragmentshttp://developer.android.com/guide/topics/fundamentals/fragments.htmlthat represent behaviors of portions of user interface. Fragments were specifically created for tablets that have larger screens than regular phones. They play nicely with the Back button by

Re: GWT RequestFactory support for user permissions?

2011-09-19 Thread Y2i
This seems to be related to issue 6051http://code.google.com/p/google-web-toolkit/issues/detail?id=6051 . -- 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: Zooming on DockLayoutPanel

2011-09-19 Thread Y2i
Pages on this forum behave exactly the same. What happens is the fixed sizes specified for north, west, east and south stay the same in their numerical terms, they just get zoomed out. This makes them bigger. And the remaining area occupied by the center panel takes the rest of the space,

Re: a basic gwt-maven-plugin question

2011-09-17 Thread Y2i
Rob, thanks for the links! -- 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/-/pvVaW1pu5QUJ. To post to this group, send email to

Re: a basic gwt-maven-plugin question

2011-09-16 Thread Y2i
The problem with that is *Maven-Update Project Configuration* wipes out this manual setting. Is it possible to do configure this in POM? Ideally, it would useful to control the project from the command line outside of Eclipse. -- You received this message because you are subscribed to the

Re: a basic gwt-maven-plugin question

2011-09-16 Thread Y2i
Alexandre, the POM is attached to the first post. Attaching the GWT module. The POM and module files are generated using these instructionshttp://mojo.codehaus.org/gwt-maven-plugin/user-guide/archetype.html . Thank you! -- You received this message because you are subscribed to the Google

Re: a basic gwt-maven-plugin question

2011-09-16 Thread Y2i
Thanks for the link Warren! -- 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/-/kr_dIa2Qu-kJ. To post to this group, send email to

Re: a basic gwt-maven-plugin question

2011-09-16 Thread Y2i
Warren, I think that the manually configured things should be broken after running Update Project Configuration. If the project is driven by maven, it does not make sense to store Eclipse configuration in the source control system. Eclipse support should be automatically generated from the

Re: java.lang.NoClassDefFoundError:org/json/JSONException

2011-09-16 Thread Y2i
The problem is requestfactory-server.jar may or may not have org/json/JSONException, depending where it's coming from. Check out this threadhttps://groups.google.com/d/topic/google-web-toolkit/R5QNo2y8Nyo/discussion . -- You received this message because you are subscribed to the Google

Re: a basic gwt-maven-plugin question

2011-09-16 Thread Y2i
Thanks for the response Alexandre. The POM is auto-generated. The war plugin is used for packaging since the project has packagingwar/packaging. The asynchronous classes are actually generated, but the compiler does not see them because they are placed in unusual directory. -- You received

Re: a basic gwt-maven-plugin question

2011-09-16 Thread Y2i
Thanks Warren. -- 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/-/byx1yhmPrx4J. To post to this group, send email to

mvn gwt:run java.lang.IllegalStateException: No Constructor New id=tx class=org.mortbay.jetty.plus.naming.Transaction/

2011-09-15 Thread Y2i
Hi, I am porting a GWT 2.4 project to maven. When I run *mvn gwt:run* I'm getting the following error in Jetty log: java.lang.IllegalStateException: No Constructor: New id=tx class=org.mortbay.jetty.plus.naming.Transaction Arg New class=com.atomikos.icatch.jta.UserTransactionImp/

Re: Plug-in for Eclipse 3.7 (Indigo)

2011-09-15 Thread Y2i
I just clicked on this link and downloaded the jar. Strange. -- 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/-/OuJgVUH-M-UJ. To post to this

Re: mvn gwt:run java.lang.IllegalStateException: No Constructor New id=tx class=org.mortbay.jetty.plus.naming.Transaction/

2011-09-15 Thread Y2i
The java process started by mvn gwt:run opens the same file twice: one file in ~/m2/repository, another file in ${webappDirectory}/WEB-INF/lib. geronimo-spec-jta, that contains UserTransaction, is also on the list of open-twice files. Could that be a problem? Thank you in advance! -- You

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2011-09-15 Thread Y2i
In Eclipse I only had to make RequestFactory interfaces and their server domain counterparts to be available on the sourcepath during the compilation process. This seemed to be enough to validate RF interfaces and generate additional Java types. The deployed app worked after this. -- You

Re: Installation not done properly

2011-09-15 Thread Y2i
Google App Engine Tools for Android requires Android ADT which needs to be installed first. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

a basic gwt-maven-plugin question

2011-09-15 Thread Y2i
Using the Archetypehttp://mojo.codehaus.org/gwt-maven-plugin/user-guide/archetype.htmlarticle shows an example of generating a basic maven GWT project After the generation I run mvn gwt:run and the application runs. Then I run mvn gwt:compile and the compilation fails. When I update

Re: a basic gwt-maven-plugin question

2011-09-15 Thread Y2i
Update: running *mvn compile* before *mvn gwt:compile* reduces the number of errors. [INFO] --- gwt-maven-plugin:2.3.0-1:compile (default-cli) @ mygwt --- [INFO] Compiling module org.example.gwt.MyGwt [INFO]Validating newly compiled units [INFO] [ERROR] Errors in

Re: a basic gwt-maven-plugin question

2011-09-15 Thread Y2i
Update: The two files GreetingServiceAsync.java and Messages.java are generated by gwt-maven-plugin and are placed to target/generated-sources/gwt directory. Does anyone know how I can tell gwt compiler to look into this directory? Thanks for your help! -- You received this message because

Re: Generated AutoBean name length for Proxies too long

2011-09-15 Thread Y2i
I just run into the same problem with gwt-maven-plugin. Got a bunch of warnings like [INFO] [WARN] Error writing out generated unit at '...target/.generated/...' (File name too long) but the output at the end says BUILD SUCCESS. Do these warnings/write errors affect the compilation?

Re: Generated AutoBean name length for Proxies too long

2011-09-15 Thread Y2i
Thomas, I think this is the 'fix'http://gwt-code-reviews.appspot.com/1357804you were referring to. -- 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: mvn gwt:run failed

2011-09-14 Thread Y2i
What is you source/ in the configuration/ section of the maven-compiler-plugin? -- 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/-/DR4lJ8uongAJ. To

Re: Autoboxing

2011-09-12 Thread Y2i
It's actually not buggy. JavaScript distinguishes between objects and values, and objects are containers for valueshttps://developer.mozilla.org/en/JavaScript/Guide/Values%2c_Variables%2c_and_Literals. So when JSON { a = b, c = 2 } is evaluated, it actually assigns values to the properties

Re: Autoboxing

2011-09-12 Thread Y2i
The most cited phrase is attributed to the man who invented his own assembly language to optimize every algorithm in his books and who spent 30 years on optimizing the the first 3 volumes :-) He has so much yet to say to this world but because of the time he spends on optimization, I doubt

Re: JPA alternatives?

2011-09-12 Thread Y2i
When you use JDBC, what do you use to map between the database records and Java objects? Also, what do you do to deal with optimistic concurrency control? JPA automatically uses versioning. Do you have to implement the same mechanism by hand or are there tools that help with this? -- You

Re: JPA alternatives?

2011-09-12 Thread Y2i
Does DataStoreGwt support WITH RECURSIVE sql features? I need to efficiently traverse large graphs within the database before returning small result sets as opposed to returning large result sets and traversing them on either client or server. -- You received this message because you are

Re: JPA alternatives?

2011-09-12 Thread Y2i
Thanks Thomas, these look interesting. -- 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/-/7N_Nj9mzUXMJ. To post to this group, send email to

Re: Please suggest me what widgets are suitable to have the attached UI

2011-09-12 Thread Y2i
Also take a look at Split Layout Panelhttp://gwt.google.com/samples/Showcase/Showcase.html?locale=en#!CwSplitLayoutPanel . -- 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: RequestFactory error

2011-09-12 Thread Y2i
Not sure what to say... May be, if you are in Eclipse, type Ctrl+Shift+T and search for JSONException. How many do you see? My hope is you'll see more then one. Another option is trying to add org.json to your class path if it's not there yet (but if it was required for compilation, you would

Re: JSNI to Java type conversion

2011-09-12 Thread Y2i
You probably need to call java.lang.Double constructor to deal with this. Also, have you tried to use double instead of Double in toRadians()? -- 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: Autoboxing

2011-09-12 Thread Y2i
-style PRETTY GWT compiler optionhttp://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#DevGuideCompilerOptionsis a good tool to understand what kind of output is generated. -- You received this message because you are subscribed to the Google Groups Google Web

Re: RequestFactory error

2011-09-11 Thread Y2i
Sometimes ClassNotFound occurs when there are 2 conflicting classes. Check this out http://code.google.com/p/google-web-toolkit/issues/detail?id=6785, may be it's related to your problem: requestfactory-server.jar has a copy of org/json/JSONException, and you may have another copy sitting

Re: Is there something like a Windows Panel?

2011-09-11 Thread Y2i
A dialog boxhttp://gwt.google.com/samples/Showcase/Showcase.html#!CwDialogBox ? -- 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/-/TaSiMgUJhCsJ. To

Re: Is there a way to reuse GWT generated JS in another Application using the same RPC Services?

2011-09-11 Thread Y2i
You can embed your GWT application into any HTML page as described herehttp://code.google.com/webtoolkit/doc/latest/tutorial/buildui.html#hostpageand herehttp://code.google.com/webtoolkit/doc/latest/tutorial/buildui.html#implement . -- You received this message because you are subscribed to

Re: RequestFactory error

2011-09-11 Thread Y2i
Do you have org/json/JSONException anywhere in your class path? May be your are using unbundled versionhttps://groups.google.com/d/msg/google-web-toolkit/R5QNo2y8Nyo/zD7DyoMMuNkJof requestfactory-server.jar? -- You received this message because you are subscribed to the Google Groups

Re: RequestFactory error

2011-09-11 Thread Y2i
Does java.lang.NoClassDefFoundError: org/json/JSONException happen during compilation or run-time? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

A class conflict in a release build in GWT 2.4.0

2011-09-10 Thread Y2i
Before GWT 2.4.0 I used a normal json.jar that contains org.json.JSONTokener.init(Ljava/io/Reader;)V constructor. Now requestfactory-server.jar contains a stripped down JSONTokener without this constructor. In release build I'm getting an java.lang.NoSuchMethodError:

Re: A class conflict in a release build in GWT 2.4.0

2011-09-10 Thread Y2i
Thanks a lot Thomas, the jar from Maven repository fixes the problem! -- 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/-/LGnCr081O44J. To post to

Re: Custom Serializable Class in GWT RPC Call

2011-09-10 Thread Y2i
Is 'project name'.server.data.SubscriptionData in your source path? http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideModules Modules can specify which subpackages contain translatable *source*, causing the named package and its subpackages to be added to the

Re: Validation in GWT 2.4 How To?

2011-09-10 Thread Y2i
I used this posthttp://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidationto set it up. The shared RequestFactory interfaces and their server domain counterparts are only required during the compilation. -- You received this message because you are subscribed to the

Re: Validation in GWT 2.4 How To?

2011-09-10 Thread Y2i
Oh, the post is about request factory validation. Before 2.4 the errors were caught at GWT compile time (or debug time in debugging mode), now they are caught at javac compile time. Sorry, I misunderstood the question. -- You received this message because you are subscribed to the Google

Re: GWT 2.4 Validation Tool not picking up @ExtraTypes on superclasses

2011-09-08 Thread Y2i
I also have @ExtraTypes on RF due to stack overflow in RC. Haven't tried yet in the release. -- 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 2.4 Validation Tool not picking up @ExtraTypes on superclasses

2011-09-08 Thread Y2i
Brad, what if you place @ExtraTypes(FooProxy.class) on some RequestContext returned by methods of FooRequestFactory? -- 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: FileUpload clicking entry field brings up file dialog

2011-09-06 Thread Y2i
FileUpload wraps input type=file/ It does not look like HTML allows the entry to be editable http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_type_file -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on

Re: Error on JSON parsing

2011-09-06 Thread Y2i
On Tuesday, September 6, 2011 1:32:23 AM UTC-7, Konstantin Zolotarev wrote: Another question. How could i get JavascriptObject using JSONParser.parseStrict() method ? Is there any example ? If you get JSON strings from a server may be you can use

Re: how to make a textbox rtl

2011-09-05 Thread Y2i
You can inherit inherits name='com.google.gwt.user.theme.standard.StandardRTL'/ http://code.google.com/webtoolkit/doc/latest/tutorial/style.html#GWTtheme Also, check out examples http://gwt.google.com/samples/Showcase/Showcase.html#!CwBidiInput

Re: redirect GWT application URL

2011-09-04 Thread Y2i
Are you worried about aesthetic aspects of URL or do you have other considerations? My URLs, generated by a request factory, look like http://www.mything.com/#IjEzIg==@0@x0YxERJkFbt63LMv1j1lE_PUvL8= They go deeply into the application internal state, are bookmarkable and work with browser

Re: Pros Cons for RequestFactory Vs GWT RPC mechanism

2011-08-24 Thread Y2i
There is almost no difference in configuration between GWT RPC and GWT Request Factory. The only difference is web.xml needs to declare RequestFactoryServlet instead of RemoteServiceServlet. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: Pros Cons for RequestFactory Vs GWT RPC mechanism

2011-08-23 Thread Y2i
They both seem to scale. The main difference is when RPC is used the server works with POJOs that need to be translatable and that need to be mapped to database records by hand or by some tools. Request Factory works with objects that do not need to be translatable: the may come directly from

Re: Remove ALL CSS from GWT

2011-08-19 Thread Y2i
This is probably a coincidence. RootPanel and RootLayoutPanel serve different purposes. -- 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: java.lang.IllegalArgumentException: Unknown proxy type

2011-08-17 Thread Y2i
Have you tried to use @ExtraTypes on an interface that extends RequestFactory? -- 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/-/2qFWHzw8pTsJ. To

Re: gwt 2.3 + spring 2 + maven 2

2011-08-17 Thread Y2i
There is some documentation on GWT site on GWT, SpringSource and Roo integration http://code.google.com/webtoolkit/doc/latest/tutorial/roo-sts.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

Re: java.lang.IllegalArgumentException: Unknown proxy type

2011-08-16 Thread Y2i
filed an issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=6699 -- 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/-/Au8I9VHZkAQJ.

Re: Aw: polymorphism is still broken in 2.4 RC1

2011-08-16 Thread Y2i
Thanks so much, I really appreciate you pointing out @ExtraType attribute. It solved all my migration problems. -- 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: java.lang.IllegalArgumentException: Unknown proxy type

2011-08-04 Thread Y2i
bumping up... -- 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/-/I5nN_KnYVc4J. To post to this group, send email to

java.lang.IllegalArgumentException: Unknown proxy type

2011-08-03 Thread Y2i
Just tried to migrate from 2.2 to 2.4 RC1. First, the project didn't compile because of internal compiler errors. All obsolete RF-related stuff is removed from 2.4 (good), but if the project uses RF there is no way to move to 2.4 without migrating from gwt to web.bindery. After migrating from

Re: Linker and Generator documentation

2011-08-02 Thread Y2i
Why not to use a GWT event bus? You can create an event by extending GwtEvent and place it in a small module that the other two modules can link to. How a compiled event can be different if both modules link to the same version of the interface module? -- You received this message because

Re: Adding a MouseOverHandler to CellList

2011-08-02 Thread Y2i
AbstractCellT.onBrowserEvent() should be called if you call super(mouseover) in the constructor of an AbstractCellT subclass. http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/cell/client/AbstractCell.html#AbstractCell(java.lang.String...) -- You received this message

Re: EventBus in 2.4

2011-08-02 Thread Y2i
This mess has started with 2.3. If I simply upgrade my project from 2.2 to 2.3 without migrating from gwt to web.bindery, the project compiles but fails at run-time failing to locate a proxy when receiving a response from the server. But upgrading 2.2 to 2.3 with migration from gwt to

Re: Iterate over all objects which are not garbage collected

2011-08-02 Thread Y2i
Check out HPROF and TPTP http://java.sun.com/developer/technicalArticles/Programming/HPROF.html http://www.eclipse.org/tptp/home/documents/tutorials/profilingtool/profilingexample_32.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: EventBus in 2.4

2011-08-02 Thread Y2i
Just tried to migrate from 2.2 to 2.4 RC1. First, the project didn't compile because of internal compiler errors. All obsoleted RF-related stuff is removed (good), but there is no way to migrate to 2.4 as it was possible to 2.3 (for some people) if the project uses RF. After migrating from gwt

This class is a legacy wrapper for com.google.web.bindery.event.shared.EventBus

2011-08-01 Thread Y2i
How can I prevent this code from being executed? at com.google.gwt.event.shared.EventBus.addHandlerToSource(EventBus.java:39) https://lh6.googleusercontent.com/-I75Szg_6WWg/Tjb2zelGkuI/AQU/Hhew9Ztb-Zk/Screenshot-3.png I changed all proxy-related code to use com.google.*web.bindery*.*

Re: Linker and Generator documentation

2011-08-01 Thread Y2i
What about having a third small module that defines an interface between the other two modules and is used to compile both of them? The interface module could contain just a single event class or regular Java interface that the other two modules are aware of. -- You received this message

Re: gwt database connectivity

2011-07-28 Thread Y2i
Is oracle.jdbc.driver.OracleDriver in WEB-INF/lib (or in a system-wide CLASSPATH)? -- 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/-/4CBTUcOjrWAJ.

Re: RequestFactory exception when creating a proxy

2011-07-24 Thread Y2i
I started getting the same error after upgrading to 2.3. The error occurs when a client receives response and attempts to create a proxy from the data encoded in the response string. The stack up to the point of failure is at the bottom of the message. When a response from the server is

Can we switch from com.google.gwt.event.shared.* to com.google.web.bindery.event.shared.*?

2011-06-11 Thread Y2i
ActivityManager constructor still takes old EventBus as an argument. Same with Activity.start() method. Is the move to new request factory complete or do we still need to use old classes? Thank you for your help. -- You received this message because you are subscribed to the Google Groups

Re: com.google.web.bindery.requestfactory.shared.RequestContext; did you forget to inherit a required module?

2011-06-11 Thread Y2i
The new one is in com.google.web.bindery.requestfactory.RequestFactory module -- 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/-/KYR7YQ_5qc4J. To

Re: com.google.web.bindery.requestfactory.shared.RequestContext; did you forget to inherit a required module?

2011-06-11 Thread Y2i
I don't think GWT team expects us to use Spring Roo. Seems quite the opposite, the don't expect us to use anything. -- 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 compiler errors on code from SMC

2011-04-25 Thread Y2i
Make sure that whatever SMC generates and whatever libraries it depends upon can be translated to Javascript http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html

Re: no clue on: module may need to be recompiled - help

2011-04-25 Thread Y2i
May be this post will help: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/8fc260a7865076e9/ It was solved by adding webAppDirectory to the GWT maven plugin. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: Activity and Editors Framework

2011-04-14 Thread Y2i
Can you modify the view interface so that instead of ((ValueBoxBaseLong)view.getField()).setEnable(true) you simply call view.enableField(true) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: UIField NullPointerException

2011-04-11 Thread Y2i
I've never had a NullPointerException. Why do you need to cast the result of uiBinder.createAndBindUi()? How is uiBinder declared? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: RequestFactory: return persisted ID in proxy after successful persist()

2011-04-10 Thread Y2i
The flush returns whatever was passed to edit() so it can be cast back to the right type. You can also keep the context that is passed to edit() in an activity and then simply re-use it. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: MVP vs PureMVC

2011-04-10 Thread Y2i
I use MVP as described here http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html together with RF http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html and editors http://code.google.com/webtoolkit/doc/latest/DevGuideUiEditors.html So far there

Re: GWT MVP

2011-04-07 Thread Y2i
I'm also happy with GWT MVP as described here: http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Wrong RPC typeSignature

2011-04-07 Thread Y2i
Is your JPA entity translatable (declared in the shared package)? Even a translatable entity could be enhanced by the JPA implementation which would lead to serialization problems. GWT RF is better suited for JPA than GWT RPC

Re: Book that covers latest GWT release

2011-04-07 Thread Y2i
With the pace GWT is moving it's impossible to write a book that covers the latest GWT release. GWT doc page and the showcase are better sources of the latest features. http://code.google.com/webtoolkit/doc/latest/DevGuide.html http://gwt.google.com/samples/Showcase/Showcase.html -- You

Re: NullPointerException while createAndBindUI in dialogbox

2011-04-07 Thread Y2i
When you add a pager to the UiBinder, do you annotate it with @UiField in the source code? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this

Re: seem to be getting a 15 row limit?

2011-04-02 Thread Y2i
Try setVisibleRange() http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/cellview/client/AbstractHasData.html#setVisibleRange(int, int) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: RequestFactory 2.1.1 Using EntityProxyId type to avoid the need to find() ???

2011-04-01 Thread Y2i
Didn't work for me either. I also tried using something like JobPref.findJobPrefByCustomer(*Long customerId*) without any success. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: RequestFactory 2.1.1 Using EntityProxyId type to avoid the need to find() ???

2011-04-01 Thread Y2i
Thanks for the link. Just starred it, seems like a good feature to have. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email

Re: RequestFactory Entities relationship

2011-03-31 Thread Y2i
You don't have to use with() if you don't want to populate relations of the object graph http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html#relationships to refer to more than one relation, use with(rel1, rel2, etc) -- You received this message because you are subscribed

Re: RequestFactory Entities relationship

2011-03-31 Thread Y2i
No, RequestFactory automatically sends the whole object graph in a single request. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group,

Re: table validation

2011-03-31 Thread Y2i
It's a tag interface that facilitates compile-time binding of HTML templates http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/safehtml/client/SafeHtmlTemplates.html http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/safehtml/client/SafeHtmlTemplates.html

multipart/form-data dev. mode - servlet randomly gets corrupted stream

2011-03-29 Thread Y2i
When I submit a form in dev. mode (using FormPanel, Hidden, FileUpload) the servlet gets correct parts from the request stream a couple of times, and then on the following submits the stream gets randomly corrupted. Printing the data to the console shows that the reading starts in the middle of

Re: very few GWT talk at Google IO 2011

2011-03-29 Thread Y2i
Great to hear, thanks David! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Re: How to define a @ProxyFor(...) for a class without setters

2011-03-25 Thread Y2i
I have a number of value proxies with final fields that are set in constructors. RequestFactory works fine with them, but there is no way to create the instances on the client, only on the server. From the client point of view these objects are read-only (which works perfectly with

Re: MVP pattern for Tabbed UI (Each Tab = Unique Module e.g. Orders)

2011-03-24 Thread Y2i
I'm not aware of an existing sample app, but it's not hard to implement. Start from this tutorial http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html In the entry point

Re: GIN and different views implementations

2011-03-24 Thread Y2i
I believe you need to use deferred bindings instead of Gin/Guice bindings http://code.google.com/p/google-gin/wiki/GinTutorial#Deferred_Binding http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html -- You received this message because you are subscribed to the Google

Re: How can I put Hyperlinks inside a CellTable, which behave the same as the Hyperlink widget?

2011-03-24 Thread Y2i
Thanks John, # + myToken seems to be the simplest solution. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Re: How to troubleshoot NPE during UIBinder component initialization

2011-03-23 Thread Y2i
More likely you are calling createAndBindUi() before initializing shortMessageBox -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group,

Re: ORM or JDBC?

2011-03-23 Thread Y2i
We use JPA (Hibernate) but JPQL is not sufficient for our project (the lack of recursive CTEs) and we have to use native queries for complex tree operations. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: Using java.lang.reflect or similar

2011-03-23 Thread Y2i
Sorry, the map should be MapString, PropertyMyDTO -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Re: Using java.lang.reflect or similar

2011-03-23 Thread Y2i
You can create an interface like this interface PropertyT { String get(T dto); } initialize a MapMyDTO, String for each DTO type myDtoMap.put(getFilename, new Property() { String get(MyDTO dto) { return dto.getFilename(); } }); ... and then call myDtoMap.get(propertyString).get(dto); to get

Re: Need to read data from Property file placed in Side META-INF folder but got error

2011-03-23 Thread Y2i
Not everything in java.util is supported by GWT: http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html#Package_java_util -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Need to read data from Property file placed in Side META-INF folder but got error

2011-03-23 Thread Y2i
Also take a look at http://code.google.com/webtoolkit/doc/latest/DevGuideI18nConstants.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this

  1   2   3   4   >