*" 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
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
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
*"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
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
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
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*
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
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-
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
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
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
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
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
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
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
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
@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
@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
"...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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
...
.
...
...
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
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
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 *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
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
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
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
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
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
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
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
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 ?
-
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(
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
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
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
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
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
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
.#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
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
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
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
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
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
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
"..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
62 matches
Mail list logo