Hi,
I am reading documentation and struck at reading as I could not decide
which approach is best to develop GWT app. Sure as time goes these
things will be streamlined and will be less brain teasing to
developers, but for now it is not that clear.
Can somebody share their experience when to use
Hi,
Not sure how the AsyncCallback works in GWT. Could somebody share
please?
1) Will it create a thread and polls the server ?
or
2) Will servers register's client IP and when result is available
makes a fresh TCP/IP connection to client
and calls client.
Within this call
True. Not found this kind of details. May be some gwt contributor
should be having good Idea about these.
On Feb 25, 6:53 am, Jeff Schwartz jefftschwa...@gmail.com wrote:
RPC uses Ajax so understanding how Ajax works will answer all your
questions.
On Fri, Feb 25, 2011 at 9:49 AM, dreamer
://www.javalobby.org/articles/ajax/
Google RPC doc:http://code.google.com/webtoolkit/doc/latest/tutorial/RPC.html
On Sat, Feb 26, 2011 at 12:01 PM, dreamer
venugopal.vasire...@gmail.comwrote:
True. Not found this kind of details. May be some gwt contributor
should be having good Idea about
.
- The browser invokes the callback only when the response is available,
which is why we say AJAX is asynchronous
--Sri
On 26 February 2011 22:59, dreamer venugopal.vasire...@gmail.com wrote:
Thanks Jeff.these are programming details. But how AJAX is
implemented, like is it polling or true
Hi,
I am checking user login using RPC, if not user not logged in I am
launch login URL from GWT.
Once login in over GWT app is getting control. but how to capture the
return event from login dialog?
= user login url in rpc service ==
String url = userService.createLoginURL(/);
Is it not possible to create object for implementation class and
fire methods as you do for any other java object?
On Apr 15, 1:30 pm, Bob robert_li...@verizon.net wrote:
I have a bit of an unusual need. I have a server-side method which is
normally called from the client via GWT-RPC but I
Hi,
Is there a way to find the GWT development mode URL programatically ?
I want to pass this this to app engine user service for destination
url.
On similar lines of GWT.getModuleBaseURL() - but I want
URL like http://127.0.0.1:/SchoolDistrict.html?
gwt.codesvr=127.0.0.1:9997, to put me
Hi,
In development with or without debug - Both GWT.isProdMode() and
GWT.isScriptMode() - are returning false.
I want to find if the program is running is running debug mode or in
non-debug mode within dev mode - gwt in eclipse plug in.
Is there a convenient method just above two methods, like
Hi,
Couple of tricks in personal experience.
1) Use concrete classes instead of interfaces, especially in case of
collections, with interfaces compiler has to add all possible classes,
as it does not which class at run time.
2) avoid iterators, use for loop
3) when we are using widgets - nothing
Not sure, if there is a automatic way of detecting all child windows
to a parent window on demand,
but certainly you can main maintain, global array list and every popup
window that you open, and
call close on each of those. You can lot of examples in javascript -
closing child windows to idea.
public PopupPanel(boolean autoHide, boolean modal) {
this(autoHide);
this.modal = modal;
}
= I did not remember using this constructor, but this constructor
should do.
-venu
http://schoolk12.appspot.com/
On Jul 11, 3:50 pm, Jeffrey Burnham jeffrey.burn...@gemail.com
wrote:
Look at
I had fairly large application developed in early web days , now I
want to convert into GWT.
Obvious we have added value of AJAX, what else do I loose?
1) large java script , initial down load time
= why is this , both and HTML and Javascript are different ways of
telling how the window is to
has changed.
May be some reason is there, or I did not understand completely. It is
worth discussing so that we can transition our years of app
development smoothly.
-Venu
http://schoolk12.appspot.com/
On Jul 11, 10:01 pm, dreamer venugopal.vasire...@gmail.com wrote:
I had fairly large
Hi,
We don't have to build the page entirely using GWT widgets,
if playing these in any html is possible, it should be possible even
with GWT.
with HTML5 it is snap to implement this, but GWT does not prevent to
launch player and play anything you want.
Even you can mix Flash with GWT.
You can
Can you please try going to source and adding, if supported, brings up
at ..
-Venu
http://schoolk12.appspot.com/
On Jul 13, 8:10 am, cri chuck.irvine...@gmail.com wrote:
I posted this issue before but didn't get any help so trying again...
Using GWT Designer, when looking at a UiBinder *.ui.xml
at '.' Thanks. -Chuck
On Jul 14, 6:10 am, dreamer venugopal.vasire...@gmail.com wrote:
Can you please try going to source and adding, if supported, brings up
at ..
-Venuhttp://schoolk12.appspot.com/
On Jul 13, 8:10 am, cri chuck.irvine...@gmail.com wrote:
I posted this issue
=activating the hosted mode takes about 1-2 minutes (didn't measure,
feels
like it). debugging like this takes forever.
Yep. Documentation says use this mode always during development, never
to compile.
Bringing up dev mode URL is taking time (with debug option).
Not sure selecting particular
Hi,
Did you see more in stack trace beyond line 81 ? There must be some
thing Caused by.
= Abstract method error - as per javadoc
Thrown when an application tries to call an abstract method
Yes this incompatibility between jars and some time jvm or simply non
implemented abstract method
I
just off topic. what is life cycle in dev mode?
Is it java byte code all the way to browser (plug in )? (I mean no
java script any where)
On Jul 15, 8:24 am, Paul Robinson ukcue...@gmail.com wrote:
Chrome is slow in dev mode. Try firefox instead.
On 15/07/11 16:12, Dennis Haupt wrote:
One way is build your own collection (ArrayList) and make accessible,
with setter and getter ,just like in any java class.
On Jul 15, 8:07 am, Dennis Haupt d.haup...@googlemail.com wrote:
hi community,
i'm in a gwt module that is part of a bigger page, and i need to know which
checkboxes that
Check in hosted mode with debug. sure multiple events are plugged in
some where.
On Jul 15, 6:01 am, Néstor Boscán nesto...@gmail.com wrote:
Hi
I have an application that looks like is duplicating the GWT-RPC request
code. Of course it could be a number of other reasons but I wanted to ask if
Can you please review code speperation.
in client package only keep GWT code
in server package only keep server code
in shared only keep DTO objects (value objects) (transported from
client to server - should be serializable)
To me - proxy - sounds like client proxy should be in - client
1) Please make sure Java is compiling fine - meaning jar is there some
where in classpath
2) Then GWT cross compilation - needs sources - these paths are found
by GWTC from gwt.xml
Typically all of the paths were included in
inherits name='com.google.gwt.user.User' /
On Jul 18, 4:18
Hi,
I am capturing user input (multi line) in
com.google.gwt.user.client.ui.TextArea - storing datastore.
and show the same in another TextArea of another component.
Issue, when I play it back it is completely loosing line breaks, and
showing as single line and beyond TextArea boundaries.
Any
Here is the test case.
1) Keep entering - lines will automatically break and goes to next
line - enter till you see few line
2) getValue()
3) store in datastore
4) get from data store and display in another TestArea.
Somewhere loosing line breaks ?
On Jul 20, 5:17 am, Nandha
Is it reaching the server side code - I mean RPC Implementation
class ?
You can see in Debug. put a break point in RPC server impl.
If not reaching there , then it is definition issue - check web.xml,
sync and async method.
Debug mode gives very good Idea.
Looking like some mismatch while
Sure. soon.
I am suspecting one of these.
1) Storing in text in app engine
com.google.appengine.api.datastore.Text field
2) Using getText() and getValue() - setText, setValue() - using freely
assuming they produce consistent results.
One of these is not working as I expected.
On Jul 20,
Check out GWT samples.
C:\eclipse\plugins
\com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508\gwt-2.3.0\samples
\Hello\src\com\google\gwt\sample\hello\client
Without RPC or its variants, GWT is a pure client technology, as you
mentioned runs any where javascript runs.
On Jul 20, 9:02 pm,
Some of UI widgets has both getValue() , 'getText() and
corresponding setter.
Should we use value methods or text methods at least for text based
widgets.
value methods seems to be more generic and most of the UI widgets
seems to has these.
getValue has this aditional parse on top of getText()
Eclipse plugin is a real good friend to figure out RPC.
Just create new project choosing both app engine and gwt, creates a
nice working sample RPC , hello world.
Add few more methods for practice, then add few more servlets and call
from client.
On Jul 21, 3:03 am, Ryan McFall
Hi,
I want to start a new opensource project - GWT page flows - similar
to struts.
With my moderate GWT knowledge, I did not find any way to weave
application with pages, though components are there.
Not all ajax applications are single page apps.
Here are my thoughts from very high level -
bookhttp://books.google.com/books?id=OG816JSZYVcCprintsec=frontcoverdq=...
.
In this architecture you don't need use a whole page.
2011/7/29 dreamer venugopal.vasire...@gmail.com
Hi,
I want to start a new opensource project - GWT page flows - similar
to struts.
With my moderate
a different paradigm then those technologies.
I just cant see the benefit of similutationg JSP with GWT
2011/7/30 dreamer venugopal.vasire...@gmail.com
What if we need to port very complex web app with 100's of jsp/html
pages into GWT ?
Yes. swing and gwt got lot of similarities
+javascript' compilation ? ( javascript for ajax).
DOM api should be able to generate HTML directly, where there is no
dynamic refresh, we don't need JavaScript.
- venu
- http://schoolk12.appspot.com/
On Jul 30, 6:24 am, dreamer venugopal.vasire...@gmail.com wrote:
Very good point. I have gone
Hi,
on the GWT lines, is it possible to cross compile/generate to HTML
+JavaScript.
Static ports to - HTML
Dynamic portions to - JavaScript
Please share your thoughts
-Venu
http://schoolk12.appspot.com/
--
You received this message because you are subscribed to the Google Groups
Google Web
= static pages
I tried to develop a page uisng UIBinder (mix of html and widgets)
and RPC calls where it makes
sense and ultimately I wanted to post entire page to server and let
server serve next page.
Here are My roadblocks for now
* Not sure how to post entire page to servlet, develop
Hi,
Is it possible use GWT to build server side components, like html
+javascript pages using composites some kind of stuff?
I mean in server/web centric way than , client centric way ?
anybody tried using existing infrastructure to build some this on this
line ?
--
You received this message
favorite GWT+AppEngine. ?
Stay tuned, I will Let you know
---Dreamer
--
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
, dreamer venugopal.vasire...@gmail.comwrote:
Hi,
How about if it is possible to build Rich Internet Page (RIP), in a
more productive tool like GWT designer and eclipse plug etc
and server serving these pages using some web framework ?
My friend asked why don't you hand code html
for the sake of disk
space, they don't?), but hopefully all the JS will get cached on the browser
once they're loaded for the first time
On Sat, Aug 6, 2011 at 12:49 AM, dreamer venugopal.vasire...@gmail.comwrote:
Thanks for the reply Magno Machado Paulo.
Code splitting is a console
Thanks Michael.
I ended up having two async rpc calls one within other , one to get
view another to get model.
killing the advantage of code splitting.
On Aug 6, 2:29 am, Michael Vogt vmei...@googlemail.com wrote:
Thanks Michael .
You're welcome.
Who needs entire app, specially in
and
renders the page locally. For clients that have a slow client (think phone
browser), the server renders the html page and dumps the html only.
http://code.google.com/closure/
On Sat, Aug 6, 2011 at 7:57 AM, dreamer venugopal.vasire...@gmail.comwrote:
Thanks Magno Machado Paulo.
You
ya, even with another module we just get view, not model.
On Aug 6, 3:40 pm, dreamer venugopal.vasire...@gmail.com wrote:
Thanks for reply Stevko.
Meaning big javascript verses bunch of html pages.
would it be great if some we combine these ?
In module html file we load entire java script
Thanks Karthik for the reply.
Client side rendering (DOM manipulation) and Server side rendering
(HTML manipulation), certainly these
achieve rendering efficiency, but still programming approach is still
same, that client side event programming.
Server can get away from rendering totally,
Integrating GWT and Closure makes lot of sense.
GWT is lacking on the server side template-ing.
Closure needs cross compiler like GWT.
On Aug 8, 11:27 am, simplyi sergey.kargopo...@gmail.com wrote:
Hello!
I am having hard time getting Facebook Like or Send button to display
on GWT popup
GWT module is a simply a javascript bundle.
I guess you are looking to open a component in another window.
you can use Window.Open(..).
This gives better info regarding modules
http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html#DevGuideModules
On Aug 11, 7:38 pm,
I had similar issues, all pointed back to some defensive coding.
As all calls are aync , behavior will be some what unexpected in few
situations.
Here are some tricks I played to such errors.
1) try in different browsers.
2) Load the app instance, then try, meaning use once, and second,
third,
Without any addition automation I follow this cycle.
1) Setup full development environment, start at app development mode
(debug-run)
2) open the CSS file with gwt css editor.
3) make changes, save
3) in development tab - reload web server (two crossing arrows)
4) new css will be loaded, just
My short answer is develop in dev mode as is and deploy in any servlet
container you prefer.
If you go to debug configuration, in server tab, you only see
embedded server which is nothing but jetty dev mode.
In short there may not be any easy way to debug in other servers.
But you should be able
May be you can build json wrapper over your socket server and
make REST request from client,some tricks are there to overcome same
origin policy.
From back end, I guess app engine allows URL fetch across domains.
Global School District
http://schoolk12.appspot.com/
On Sep 6, 5:48 pm, Nicolas
JSON is equivalent to XML without tags not directly to java.
Though java objects can be marshelled into xml and then to json.
So I guess all collection types are converted into json arrays.
If you see at high level java/javascript object can contain another
object or collection of object or
Hi,
I am trying to figureout, what onModuleLoad() becomes after gwt
compilation.
Basically to figure out the magic behind onLoadModule.
All is well, java script gets loaded in head. But how on the earth any
function inside that script got
executed, are there any events, that Browser fires once
seems 1.6 documentation is old, it is assuming main script is in body.
now it is in head tag.
In detailed compile file, there is call for compile like
schooldistrict();.
Which is bootstrap javascript function for all script lets.
My guess is main script (function/object) is getting executed
===
function test(){
alert(Hello);
document.write(Hello);
}
test();
==
On Sep 8, 8:14 pm, dreamer venugopal.vasire...@gmail.com wrote:
seems 1.6 documentation is old, it is assuming main script is in body.
now it is in head tag.
In detailed compile file, there is call
8, 9:16 pm, dreamer venugopal.vasire...@gmail.com wrote:
Just for proof of concept, save the below two code segments as html
and js files
and launch html, it builds the body.
test.html==
html
head
titleThis is test page sas/title
script type=text/javascript language=javascript
Technically, Here you are trying to call java method from javascript.
I did not come across this situation, try full compile if throws any
errors.
Global School District
http://schoolk12.appspot.com/
On Sep 14, 9:57 am, Jésica cuello.jes...@gmail.com wrote:
Hi, I'm facing problems for
57 matches
Mail list logo