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  Cell 
based widgets? 

-- 
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/-/piKyXugrpfwJ.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT in Google Products

2011-12-02 Thread Karthik Reddy
[Google Groups really needs a "edit answer" feature like the way stack 
overflow does. Or am I missing something?]

Anyways, adding one more to the list:

Google Tables
https://www.google.com/fusiontables/DataSource?dsrcid=2049253   a table 
of countries and their citizens' 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://groups.google.com/d/msg/google-web-toolkit/-/LeQz8uK_nJ0J.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT in Google Products

2011-12-02 Thread Karthik Reddy
Adding on to Thomas' list:

Google Offers  
https://www.google.com/offers/home#!details/c652fabcb4d6c381/IHN0D24723PKOO8X

Google Takeout   https://www.google.com/takeout/#custom

Google Pagespeed  https://developers.google.com/pagespeed/

Google WebFonts  http://www.google.com/webfonts

I 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.google.com/d/msg/google-web-toolkit/-/XrN6bSwDkr4J.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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


--
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.google.com/d/msg/google-web-toolkit/-/7i7qRxE42hYJ.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 Error 500*

*No realm*

*RequestURI=/MobileWebApp.html*

I suspect this has to do with  access privileges and so forth. Did anyone 
else run into this issue ?

Any pointers/thoughts on what might be going on 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/-/rPlS41ZJ1TYJ.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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/-/xGTSMSKcln4J.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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*


I would appreciate any help in pointing out what could be going on here.

thanks a lot.for your 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 
https://groups.google.com/d/msg/google-web-toolkit/-/rIuazVwfABoJ.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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://groups.google.com/d/msg/google-web-toolkit/-/0bs5XTEIFt4J.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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-web-toolkit-contributors/-bNJVWM3k28
*
 ...It allows us to optimize for different browsers, and it even 
opens the door for server side rendering.

*
*
*
*
https://groups.google.com/forum/#!topic/google-web-toolkit-contributors/8SgzuCsZGbQ
*
*The latter can be user in a regular JVM to create an HTML string, which 
will hopefully help with server side rendering in the future.
*
*
*
Another relevant thread I have started regarding GWT, Closure, server-side 
rendering* : *
https://groups.google.com/forum/#!topic/google-web-toolkit-contributors/u4fn7zZYmD4

-- 
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/-/hl3tirUz2u0J.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 example consider, google hotel search  at 
http://www.google.com/hotelfinder/. Evidently, this has been built using GWT 
and evidently it is closer to a web-style application than a desktop-style 
application.


-- 
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/-/s6C_kGBy96UJ.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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.ClassNotFoundException: null
at 
com.google.gwt.dev.shell.CompilingClassLoader$MultiParentClassLoader.findClass(CompilingClassLoader.java:365)

I did make sure I have json-20090211.jar(this is the jar that contains the 
class org.json.JSONException) in my server's 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/-/OJdT9DrmtXwJ.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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: java.lang.ClassNotFoundException: null
at 
com.google.gwt.dev.shell.CompilingClassLoader$MultiParentClassLoader.findClass(CompilingClassLoader.java:365)

I did make sure I have json-20090211.jar(this is the jar that contains the 
class org.json.JSONException) in my server's 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/-/ii0WkGooOpoJ.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/p9JDcU2Dwq8J.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/-6kbyKDXOp4J.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 visit 
https://groups.google.com/d/msg/google-web-toolkit/-/bF9oB8W1bNoJ.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 rhetorical question.  You do not have to answer. 



-- 
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/-/Wy3A-E1Iru0J.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 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/-/-FQBR0HgrTEJ.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/CvWPMkoU95gJ.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/cLZu1fPInU0J.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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://anyasq.com/79-im-a-technical-lead-on-the-google+-team)

*"we often render our Closure templates server-side so the page renders 
before any JavaScript is loaded, then the JavaScript finds the right DOM 
nodes and hooks up event handlers, etc. to make it responsive (as a result, 
if you're on a slow connection and you click on stuff really fast, you may 
notice a lag before it does anything, but luckily most people don't run into 
this in practice)."*

*"The cool thing about Closure templates is they can be compiled into both 
Java and JavaScript. So we use Java server-side to turn the templates into 
HTML, but we can also do the same in JavaScript client-side for dynamic 
rendering. For instance, if you type in a profile page URL directly, we'll 
render it server-side, but if you go to the stream say and navigate to 
someone's profile page, we do it with AJAX and render it client-side using 
the same exact template. "*


Going from the tone of the above two quotes, it seems to me that the lack of 
server-side templating  system in GWT (GWT has client-side templating in the 
form of UiBinder but not server-side templating) , could have been *one of 
the reasons* for  not choosing GWT for  the Google+ project.

What do you guys think??

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


PS: If you guys haven't tried Google+ yet, I would recommend you try it. 
Setting aside how good of a social network/social collaboration tool it is, 
I suggest you guys try it just to get a feel of its UI architecture. Every 
once in a while, an application comes along and raises the bar(eg., Gmail in 
2004) in the area of UI design/UI development and I think Google plus has 
done it this time around.im

-- 
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/-/-wi_amJTgBEJ.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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/google-web-toolkit/-/9ARgn2nNPbAJ.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 engineering effort ??  I am not looking for a quantified 
answer necessarily but even something of a gut check would suffice.


-- 
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/-/WRE3Jx1rph0J.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 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/-/68gK2loNgz8J.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 (prettyOutput) {
  obfuscatedClassName += "-"
  + type.getQualifiedSourceName().replaceAll("[.$]", "-") + "-"
  + name;
}

Retaining the original class names is a very useful tool while development. 
(obfuscation is ideal for only production)
Unfortunately, you can not override the above method which means we are 
stuck with these long names. I wish there was a way to have GWT just retain 
the class names as they are.  (using @external for each and every class is 
cumbersome and cant be used for styles within widgets)

-- 
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/-/KTar1HlqmBUJ.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 way this duration be customized???

FYI:I still have not taken the plunge into Cell-based widgets yet. So, 
CellTree is offlimits to me.

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 
https://groups.google.com/d/msg/google-web-toolkit/-/MJT1z55Yt84J.
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 void onSuccess(T mybean) {
 // Success!
 }
   }
 );

Can T be a AutoBean or some variant of a autobean. 

Thanks

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 
"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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 access

http://95.110.143.4/layoutmvp/layoutmvp.html#contacts:list

As expected, it shows me the contacts.

Then, lets say, I change the url to 

http://95.110.143.4/layoutmvp/layoutmvp.html#contacts:XYZ  and hit "Enter"

(XYZ is a deliberately typed in bad token)

As expected, it does a redirect(client-side redirect)  to 
http://95.110.143.4/layoutmvp/layoutmvp.html#contacts:list  and shows me the 
contacts again.

So, far so good.

Now, as I hit the back button once, twice, thrice and so on I am just stuck 
at the Contacts. I can never go back to the Inbox. 

Is this expected behavior. Any thoughts or  even brief pointers as to might 
be going on would appreciated.

thanks a lot.

On Dec 23 2010, 9:29 am, Mauro Bertapelle  
wrote:
> As an exercise I've build a little POC based on the concepts expressed
> by Thomas in his article.
> If someone is interested, the sources are 
here:http://95.110.143.4/layoutmvp/layoutmvp.tar.gz
> and here you can find a live 
demo:http://95.110.143.4/layoutmvp/layoutmvp.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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 
getRowFormatter.addStyleName) but 
I do not want to take that route for now.(I wanna try to  reserve the code 
that goes into the UiBinder java class for event handling purposes only. )

Any thoughts/pointers would be much appreciated.


Note:Cross posted at 
http://stackoverflow.com/questions/5864348/grid-uibinder-setting-row-level-styles

thanks

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 the selected 
value in the UiBInder class.


value1
value2
value3

Is there any other way to achieve this without having to declare a ui:filed 
for each and every radio button of a group.

Note: I would like a solution that does NOT involve "form" or FormPanel.

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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/issues/detail?id=3533#c9   
Joel's comment seems to indicate the same.

Do you guys agree ??


-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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.google.gwt.core.client.JsonUtils::escapeJsonForEval(Ljava/lang/String;)(json)".
 

Thanks for correcting my premise.

Now, the natural question that popped in my mind is:

Lets say there is a scenario where* the JSON to be parsed is totally trusted
* .  In such a case ,   I am trying to find out how parseLenient compares 
with parseStrict( *in terms of raw speed*) for new browsers that have native 
JSON support(IE8+, FF4 etc)

Going by the following posts by Mozilla and Microsoft, it seems like native 
JSON would be the way to go because they claim that the native JSON is much 
faster and it sounds like it is only gonna improve over time:

http://blog.mozilla.com/webdev/2009/02/12/native-json-in-firefox-31/

http://blogs.msdn.com/b/ie/archive/2008/09/10/native-json-in-ie8.aspx


Any thoughts are much appreciated.

thanks
 

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 browsers 
including IE6 and IE7 that lack a JSON.parse function, the input is 
validated as described in RFC 4627 for safety and passed to eval()."

whereas parseLenient's description does not explicitly state the fact that 
eval() is used only as fallback option:

"Evaluates a trusted JSON string and returns its JSONValue representation. 
CAUTION! This method calls the JavaScript eval() function, which can execute 
arbitrary script. DO NOT pass an untrusted string into this method."

I will see if I can create a issue(towards the documentation at 
http://code.google.com/webtoolkit/doc/latest/tutorial/JSON.htmland the 
javadoc of parseLenient ) on the issue tracker   and assign it to the 
 category of "nitpicking". 

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 types for manipulating 

JSON data in the com.google.gwt.json.client package. If you prefer to parse 
the JSON data, see the Developer's Guide, Working with JSON. Ultimately both 
techniques rely on the JavaScript 

eval() function; so you are still responsible for ensuring that you are 
using a trusted source of JSON data."



The above quote from the documentation gives an impression that 
JSONParser.parse(String) always makes use of eval() function . My 
understanding has been that "JSONParser" uses the browser's 

native json parser( i.e., window.JSON.parse())  where available(IE 8+, 
FF 3.5 +, not sure about the exact version on Chrome after which the native 
parsing is supported), and resorts to 

eval() only in the remaining situations.

I hope my understanding is accurate; if not please feel free to correct me.

If, in fact my understanding is correct the aforementioned verbiage from the 
documentation is, I am afraid, misleading and might have to changed.

Feedback welcome. 

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 following rule in my *.gwt.xml:






But for some reason the replace does not seem to be happening. 
 CustomPlaceHistoryMapper is not getting kicked in and the generated class 
 still uses AbstractPlaceHistoryMapper. 

Any thoughts/pointers as to what might be resulting this behavior are much 
appreciated.

thanks

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 ?

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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(String token) {
  return new HomePlace ();
}

@Override
public String getToken(HomePlace place) {
return "home";
}
}

}


Now, lets say I want to  retrieve the Prefix corresponding to HomePlace, in 
some other part of my code(say some Activity class) . Is there a way to do 
it ??? I know I could retrieve the token but am kinda clueless about being 
able to retrieve the prefix.

Any thoughts/pointers are much appreciated.

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 LoggingPermission (not currently an issue in client logging)
FileHandler

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 
constantly clean up and start with a clean slate. 

I figured a way to do it: use the *-logdir  *option of the GWT compiler and 
pass the logging directory. But the one issue i have with this is ,  the 
logs are scattered across multiple files. (a new log file with 
a slightly different name gets created each time you re-load the application 
). So, in essence I am NOT able to get the messages to be directed to a 
SINGLE file.   Is there a way to do it ?? 

Any thoughts/pointers would are much appreciated. 

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 if you select the second entry
of the mail list (i.e., fauci...@sit.com) the corresponding details
are populated in "Mail Details" .  The urls for the above two events
are  http://95.110.143.4/layoutmvp/layoutmvp.html#mail:1   and
http://95.110.143.4/layoutmvp/layoutmvp.html#mail:2  respectively . So
far so good.

When you hit the back button now , the url is changed from
http://95.110.143.4/layoutmvp/layoutmvp.html#mail:2  to
http://95.110.143.4/layoutmvp/layoutmvp.html#mail:1 and the contents
of "Mail Details" change as well. But, the selected email on the
list(highlighted with blue background) is not changing from the second
entry to the first entry.

Any thoughts on this would be much appreciated.

On Dec 23 2010, 8:29 am, Mauro Bertapelle 
wrote:
> As an exercise I've build a little POC based on the concepts expressed
> by Thomas in his article.
> If someone is interested, the sources are 
> here:http://95.110.143.4/layoutmvp/layoutmvp.tar.gz
> and here you can find a live demo:http://95.110.143.4/layoutmvp/layoutmvp.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 from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 submitted related to this.

http://gwt-code-reviews.appspot.com/824801/show

*"Then, the empty-prefix 
(@Prefix("")) is special-cased to:

 - not insert the ":" separator when generating tokens"

*
I guess, the patch has not made it to 2.1.1.

thanks

-- 
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 from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 successfully able to do this but am not able to figure out how.

https://groups.google.com/forum/?fromgroups#!forum/google-web-toolkit


Would appreciate any thoughts/ideas

thanks

-- 
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 from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 second place is invoked. The start method of 
this activity is executed and immediately(within a fraction of a second) 
 the onStop  method of this activity is being executed and the application 
is going back to the "first place"  and the activity corresponding to the 
"first place" is being executed.

Any thoughts on what might be going wrong , would be much appreciated.

thanks

-- 
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 from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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.hellomvp.client.place.HelloPlace$Tokenizer. I double checked if the 
HelloPlace is indeed at the right location.  Would appreciate your thoughts 
as I am kinda stonewalled by this error.

thanks


Compiling module com.hellomvp.HelloMVP
   Resolving com.hellomvp.client.mvp.AppPlaceHistoryMapper
  Found type 'com.hellomvp.client.mvp.AppPlaceHistoryMapper'
 [ERROR] Annotation error: cannot resolve 
com.hellomvp.client.place.HelloPlace$Tokenizer
java.lang.ClassNotFoundException: 
com.hellomvp.client.place.HelloPlace$Tokenizer

at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at 
com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:710)
at 
com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:649)
.
.

-- 
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 from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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.hellomvp.client.place.HelloPlace$Tokenizer. I double checked if the 
HelloPlace is indeed at the right location.  Would appreciate your thoughts 
as I am kinda stonewalled by this error.

thanks


Compiling module com.hellomvp.HelloMVP
   Resolving com.hellomvp.client.mvp.AppPlaceHistoryMapper
  Found type 'com.hellomvp.client.mvp.AppPlaceHistoryMapper'
 [ERROR] Annotation error: cannot resolve 
com.hellomvp.client.place.HelloPlace$Tokenizer
java.lang.ClassNotFoundException: 
com.hellomvp.client.place.HelloPlace$Tokenizer

at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at 
com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:710)
at 
com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:649)
.
.

-- 
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 from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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

-- 
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 from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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 somewhere that google buzz, google profile were built on
GWT too. 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 google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.