Re: how to sink a custom defined event class ?

2011-12-05 Thread Karthik Reddy
*" In "modern" GWT development you shouldn't have to ever call sinkEvents (use addDomHandler)."* * * CellTable and other Cell based widgets use the sinkEvents approach. Am I missing something? Is that just an anomaly because of the ultra-high-performance expected off of huge-data-rendering Cel

Re: GWT in Google Products

2011-12-02 Thread Karthik Reddy
wealth. (One could create a table from within Google docs) -- Karthik Reddy https://plus.google.com/103243388366746199136 -- 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://group

Re: GWT in Google Products

2011-12-02 Thread Karthik Reddy
would say the forecast for GWT is: 70 degrees (F) and Sunny. -- Karthik Reddy https://plus.google.com/103243388366746199136 -- 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.g

Re: Activities and Places - Ant compilation

2011-12-01 Thread Karthik Reddy
*"Classes referenced from annotations have to be compiled for GWT to be able to process them from within generators (as is the case for @WithTokenizers on a PlaceHistoryMapper)."* See http://groups.google.com/group/google-web-toolkit/browse_thread/thread/e0209e0e57e1152b -- Kar

Problem running "mobilewebapp" sample in 2.4

2011-11-02 Thread Karthik Reddy
I am following the instructions as documented at: http://google-web-toolkit.googlecode.com/svn/trunk/samples/mobilewebapp/README-MAVEN.txt (OptionA) I am able to build the application but as I try to run it in hosted mode (using AppEngine) I get the following error on the browser : *Http

Re: Simple JSNI code snippet: Not able to invoke a method on a static variable ......

2011-08-16 Thread Karthik Reddy
This has been bugging me for a while now. Any thoughts or pointers would be much appreciated. -- 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/-/x

Simple JSNI code snippet: Not able to invoke a method on a static variable ......

2011-08-16 Thread Karthik Reddy
public native void myJSNITest() /*-{ var stringLength =@mypkg.MyClass::myStaticStringVariable.length()(); alert(stringLength); }-*/; As I run the above code, I get the following error: * com.google.gwt.core.client.JavaScriptException: (TypeError): __static[1310776].length is not a function*

Re: Is it ever possible for an asynchronous service method's callback to get called without yielding to the browser's event loop?

2011-08-12 Thread Karthik Reddy
See the example under "*Non-Blocking / Asynchronous:* " and it gives a clear example addressing Tad's question: http://quickleft.com/blog/142 -- 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

Re: RIP (Rich Internet Pages) instead RIA

2011-08-06 Thread Karthik Reddy
Or you could wait for server-side rendering to be supported by GWT. The GWT team has dropped few hints in a couple of threads indicating that the day could not be very far off when GWT does support server-side rendering. See the following threads: https://groups.google.com/forum/#!topic/google-

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

2011-08-03 Thread Karthik Reddy
I would like to make a related observation although, only tangentially related to the initial poster's questions and grievances: Even though GWT started off as a toolkit for developing desktop-style applications for the web, I think it has slowly transformed beyond the said scope. As an examp

Running DynaTableRF sample from the 2.4 RC release....

2011-08-03 Thread Karthik Reddy
As I try to run my DynatableRF sample (2.4 ) I run into the following exception: * * *Caused by: java.lang.NoClassDefFoundError: org/json/JSONException * *at com.google.web.bindery.autobean.shared.impl.StringQuoter.createSplittable(StringQuoter.java:58) * * * Caused by: java.lang.ClassNotFoundExc

Re: Отг: Do Beanvalidation(JSR-303) and editor framework play along well ?

2011-08-03 Thread Karthik Reddy
First bump in the road. As I try to run my DynatableRF sample (2.4 ) I run into the following exception: * * *Caused by: java.lang.NoClassDefFoundError: org/json/JSONException * *at com.google.web.bindery.autobean.shared.impl.StringQuoter.createSplittable(StringQuoter.java:58) * * * Caused by: ja

Re: Отг: Do Beanvalidation(JSR-303) and editor framework play along well ?

2011-08-03 Thread Karthik Reddy
Thanks for the helpful info. I will go ahead and build the DynatableRF sample in 2.4 and try it out . Hopefully, in 2.4's DynatableRF, I could witness the fruits of the marriage between client-side validation and editor framework. -- You received this message because you are subscribed to t

Do Beanvalidation(JSR-303) and editor framework play along well ?

2011-08-02 Thread Karthik Reddy
In other words does a call like SimpleBeanEditorDriver.getErrors() give me a list of errors. I am trying this in 2.3 and I do not seem to be able to retrieve the errors via SimpleBeanEditorDriver.getErrors() . -- You received this message because you are subscribed to the Google Groups "Goo

Re: http://www.google.com/hotelfinder

2011-08-01 Thread Karthik Reddy
The feedback widget seems identical to the one used in google plus. -- 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/-/_9l2ocSOyxgJ. To post to th

Re: Google Products using GWT

2011-07-27 Thread Karthik Reddy
Just did a cursory inspection of the new "Google Offers" application and it looks like an application built using GWT. https://www.google.com/offers/home -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web

Re: MVP best practices, how to expose a view to a presenter?

2011-07-22 Thread Karthik Reddy
Great answer. Made my day. I wish there was a way to rate answers in google groups. (just like stackoverflow). @Thomas You are being a real asset to the community and to also to the product. Just curious. Were you approached by the GWT team with an offer to join their team. Just a rhetoric

Re: MVP best practices, how to expose a view to a presenter?

2011-07-22 Thread Karthik Reddy
@Thomas When you say "cached for a while" could you give an example how this can be achieved. (For example: Do you maintain the time it needs to be cached for, in a separate variable. ) In concept, I am able to understand but the execution details are kinda teasing my mind. -- You rec

Re: Disposable activities

2011-07-21 Thread Karthik Reddy
@Thomas *"...then it's better to dispose it to free some memory." * I guess, this means, explicitly invoking "removeFromParent()" on the view class. Do you agree with my statement??? -- You received this message because you are subscribed to the Google Groups "Google

Re: Disposable activities

2011-07-21 Thread Karthik Reddy
"...then it's better to dispose it to free some memory." I guess, this means, explicitly invoking "removeFromParent()" on the view class. Am I right in this assertion??? -- You received this message because you are subscribed to the Google Groups "Google Web Toolki

Was the lack of server side templating in GWT one of the reasons why Google+ team did NOT choose GWT ?

2011-07-18 Thread Karthik Reddy
As few of you might already know, Google plus team did not choose GWT but rather a differnt library, called Closure. The following were two direct quotes from Joseph Smarr (tech lead of google plus -- plus.google.com): (FYI: The full Q & A with the Google+ Tech Lead can be found at: http://a

Re: Any experience with GWT and JRebel

2011-07-17 Thread karthik reddy
and the name of the alternative is ... ? -- 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/-/IzALEa8IbGEJ. To post to this group, send email to goog

Re: Any experience with GWT and JRebel

2011-07-16 Thread karthik reddy
Kind of a digression but could benefit the community. Is there a free alternative to JRebel on the server side ?? -- 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/go

Yes or No: Will Singleton-izing my "Resources" offer tangible performance gains??

2011-07-06 Thread karthik reddy
I use my Resources.java (it extends ClientBundle and holds references to images etc) in multiple classes and in each class I would create an instance of it class using GWT.create(Resources.class) Would making this class a singleton offer me tangible performance gains or is it not worth the eng

Re: When using HistoryTokens with Activities and Places can you remove the (:) colon?

2011-07-01 Thread karthik reddy
You might find the following links helpful: http://stackoverflow.com/questions/5000520/gwt-replace-abstractplacehistorymapper-with-a-custom-mapper-using-deferred-bindi http://stackoverflow.com/questions/5579916/how-to-change-gwt-place-url-from-the-default-to -- You received this message because

Re: Disable/Enable CSS obfuscating in gwt.xml ?

2011-06-25 Thread karthik reddy
Not to revive a old thread but wanted to add some relevant info to the discussion. In the case of , the code that generates the aforementioned very long class names is present in the computeObfuscatedNames method of com.google.gwt.resources.rg.CssResourceGenerator class: if (prettyOut

Re: customize animation effect of Tree/TreeItem

2011-06-22 Thread karthik reddy
Any pointers on this would be much appreciated.. -- 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/-/gWRFf4r4Oq8J. To post to this group, send email

customize animation effect of Tree/TreeItem

2011-06-21 Thread karthik reddy
I went through the code in Tree/TreeItem and seems like the animation duration( I think this governs how slow/fast the the tree collapses with the slide down effect) is hard-coded and set to "private": private static final int ANIMATION_DURATION = 200; Hoping against hope: Is there any other w

Mixing Autobean with JSONP

2011-05-28 Thread karthik reddy
Can AutoBean used to bind the response of a JSONP request ?? I tried but with no success. For example: JsonpRequestBuilder jsonp = new JsonpRequestBuilder(); jsonp.requestObject(url, new AsyncCallback() { public void onFailure(Throwable throwable) { } public

Re: Is restricting user.agent values gonna improve the speed of hosted mode ?

2011-05-21 Thread karthik reddy
It decreases my compile-time significantly ( because of the decreased permutations) but does not improve the speed of the hosted mode. The hosted mode is as sluggish as before. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post

Re: Is restricting user.agent values gonna improve the speed of hosted mode ?

2011-05-21 Thread karthik reddy
It decreases my compile-time significantly (rightly so because of the decreased permutations) but not the speed of the hosted mode. -- 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-toolki

Is restricting user.agent values gonna improve the speed of hosted mode ?

2011-05-21 Thread karthik reddy
I have modified my module xml file by introducing the following, with the expectation that it would speed up my hosted mode: No luck, though. My hosted mode is still as sluggish as before. Any opinions ? -- You received this message because you are subscribed to the Google Groups "G

Re: GWT 2.1 MVP Multiple activities clarification help

2011-05-19 Thread karthik reddy
I have ran into a interesting situation using Mauro's example[A hit tip to Mauro in helping the community to navigate the waters of Activities and Places]: Lets say, I first access http://95.110.143.4/layoutmvp/layoutmvp.html#inbox:list As expected, it shows me the Inbox. Then, lets say, I ac

Re: Grid + UiBinder : Setting row level styles

2011-05-03 Thread karthik reddy
I tried both approaches: and using declarations for the latter. Neither of them work. -- 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 unsubscri

Re: Grid + UiBinder : Setting row level styles

2011-05-03 Thread karthik reddy
I tried both approaches: and using declarations for the latter. Neither of them work. -- 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 unsubscr

Grid + UiBinder : Setting row level styles

2011-05-03 Thread karthik reddy
... . ... ... The above approach is not working. In other words, the "tr" elements in the generated html do not have any class names at all. A back up option would be to inject styles into these rows from the UiBinder's constructors (using

Radiobuttons and UiBinder

2011-04-21 Thread karthik reddy
Lets say I have three radio buttons belonging to a group. Upon some event, I would like to retrieve the value of the radio button selected in my UiBInder class. One possible approach, I guess, is to declare a ui:field for each of the radio buttons(like in the example below) and thus retrieve

Re: KeyPressevent is being called twice for suggest box - Please help!!!!!

2011-04-19 Thread karthik reddy
Is the real culprit for this behavior the following lines in the addEventsToTextBox() method of SuggestBox class: *delegateEvent(SuggestBox.this, event);* I think there are about 4 occurrences of this in the addEventsToTextBox() method: http://code.google.com/p/google-web-toolkit/issu

parseLenient and parseStrict on newer browsers [was Re: seemingly misleading verbiage in the documentation...]

2011-03-31 Thread karthik reddy
"parseLenient *only* uses eval(), not only as a fallback. ." I went into the source code and took a look at the parseLenient method. You are correct. parseLenient always uses eval(). The following is the code snippet that confirmed this fact for me: " @com.g

Re: seemingly misleading verbiage in the documentation...

2011-03-31 Thread karthik reddy
Thanks Thomas. In fact, I did look at the javadoc, and even the javadoc has kinda ambiguous verbiage . More precisely, parseStrict's description is right on : "Evaluates a JSON string and returns its JSONValue representation. Where possible, the browser's JSON.parse function is used. For older

Re: seemingly misleading verbiage in the documentation...

2011-03-31 Thread karthik reddy
Any thoughts on this would be much appreciated. I am trying to validate my understanding of JSONParser class and also highlight the misleading verbiage in the documentation. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this

seemingly misleading verbiage in the documentation...

2011-03-30 Thread karthik reddy
There seems to be some mis-leading verbiage at the link http://code.google.com/webtoolkit/doc/latest/tutorial/JSON.html : "Another technique for a converting a JSON string into something you can work with is to use the static JSONParser.parse(String) method. GWT contains a full set of JSON

Re: has this patch made it to 2.2

2011-02-15 Thread karthik reddy
thanks for the clarification 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 google-web-toolkit+unsubscr...@goo

Re: has this patch made it to 2.2

2011-02-15 Thread karthik reddy
thanks Thomas. Just wondering: this is a vary valid case and the patch seems to have been submitted by you well ahead of the 2.2 release(thanks to you once again). Are you aware of any reason why this has not made it to the 2.2 release. -- You received this message because you are subscribe

has this patch made it to 2.2

2011-02-14 Thread karthik reddy
http://gwt-code-reviews.appspot.com/1316801/patch/9001/10001 -- 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 google-we

Replace AbstractPlaceHistoryMapper with a custom mapper using deferred binding

2011-02-14 Thread karthik reddy
Looks like the class that is generated for PlaceHistoryMapper is hard-coded to used AbstractPlaceHistoryMapper as the super class. So, I am trying to work around this by trying to replace this AbstractPlaceHistoryMapper with a custom mapper of mine using deferred binding . I am using the f

Re: Is there a way to retrieve the prefix of a Place

2011-02-11 Thread karthik reddy
I just discovered the following method PrefixAndToken *getPrefixAndToken*(Place newPlace) in the class AbstractPlaceHistoryMapper but the method is declared abstract and hence not implemented. So, it does not help ; but this is the kind of functionality I am looking for. Any thoughts ? -

Is there a way to retrieve the prefix of a Place

2011-02-10 Thread karthik reddy
I was wondering if there is a way to retrieve the prefix corresponding to a place ??? For example lets say I have the following Place class: public class HomePlace extends Place { @Prefix("/home") public static class Tokenizer implements PlaceTokenizer { @Override public HomePlace getPlace(

Re: GWT DevMode : logging to a log file

2011-02-08 Thread karthik reddy
I just took a look at the documentation at http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html and it seems like FileHandler is not supported . There is a line in the documentation that seems to indicate this: The following classes are not emulated at all: ErrorManager and Logg

GWT DevMode : logging to a log file

2011-02-08 Thread karthik reddy
By default all the GWT.log(.) statements log to the console . (this is not desirable for me because there is no way for me to do a "Clear" on the logs periodically and that affects my capability to debug). So, I am trying to direct all my GWT.log(...) messages to a file which I can constant

Re: using new 2.1.1rc RequestFactory AutoBean in RESTful Architecture

2011-01-15 Thread karthik reddy
very valid questions. A good number of gwt developers at some stage will face similar questions. I would appreciate if someone could share their experiences and findings pertaining to the questions zixzigma has brought up. -- You received this message because you are subscribed to the Googl

RequestFactory integration with Activities and Places

2011-01-11 Thread karthik reddy
Is there any nice post (blog, articles etc) that sheds some light on integrating RequestFactory with Activities, Places, Eventbus. Even code snippets/samples would be fine. thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To pos

Re: GWT 2.1 MVP Multiple activities clarification help

2011-01-06 Thread karthik reddy
Hi Mauro Your example is turning out to be very helpful. I ran into one issue I thought I might communicate to you. When you click the "Mail activites" button, and then select the first entry of the mail list (i.e., viva...@seddiamlorem.ca) the details are populated in "Mail Details". Similary

Re: Is there a way to avoid the colon(:) sign in a Place's prefix ???

2011-01-02 Thread karthik reddy
I do not want to re-invent the wheel here if someone has already customized the behavior of the prefix by implementing the PlaceHistoryMapper interface, as Thomas mentioned. If someone has already done it , would appreciate if you could provide the code samples. Thomas I see that you have sub

Is there a way to avoid the colon(:) sign in a Place's prefix ???

2011-01-01 Thread karthik reddy
.#prefix:token Vs ...#prefix I am trying to achieve the latter. Is there a way to do it??? Making prefix empty using @Prefix("") does not seem to cut it. FYI: The new google groups UI which seems to have to been built using GWT, is success

Activity automatically stopping

2010-12-29 Thread karthik reddy
I am developing a sample application using Activities and Places, based on GWT team's basic Hello, goodbye example. I have a "first place"(the default place) and a "second place". On user click, the place is changed from first place to the second place and the activity corresponding to the sec

GWT 2.1.1 , HelloMVP (Google provided example illustrating Activities & Places) : Compile error. Stacktrace enclosed.

2010-12-20 Thread karthik reddy
I am trying to compile the HelloMVP application available at http://code.google.com/webtoolkit/doc/trunk/DevGuideMvpActivitiesAndPlaces.html . I did not make any changes to the code and just tried to compile it and was met with the following error. It basically says it cannot resolve com.hell

GWT 2.1.1 , HelloMVP (Google provide example illustrating Activities & Places) : Compile error. Stacktrace enclosed.

2010-12-20 Thread karthik reddy
I am trying to compile the HelloMVP application available at http://code.google.com/webtoolkit/doc/trunk/DevGuideMvpActivitiesAndPlaces.html . I did not make any changes to the code and just tried to compile it and was met with the following error. It basically says it cannot resolve com.hell

Re: need UIBinder example using multiple composite

2010-12-16 Thread karthik reddy
this might help http://davidmaddison.blogspot.com/2010/03/building-gwt-declarative-interface.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-tool...@googlegroups.com. To unsubscribe

Re: Using Google Closure Library within GWT JSNI .....

2010-12-10 Thread karthik reddy
http://closure-library.googlecode.com/svn/docs/index.html this link shows an exhaustive list of UI elements available within closure library -- 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-to

Using Google Closure Library within GWT JSNI .....

2010-12-09 Thread karthik reddy
Given than closure library has a plethora of UI elements(all the nice UI elements one could see across various google products like Google docs, maps, gmail etc), would it not be worthwhile to use them in GWT using JSNI. Has anyone tried this ?? Any performance implications ??? thanks -- Yo

Re: New Google groups in GWT

2010-12-09 Thread karthik reddy
"..You can expect to see a steady stream of announcements regarding Google products being written or rewritten in GWT." good to hear. GWT has the community, the tools and now the adoption. If you build they will come. Indeed. BTW, I read som