UiBinder, designer, spring roo which one

2011-01-11 Thread dreamer
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

How AsyncCallback works? - RPC services

2011-02-25 Thread dreamer
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

Re: How AsyncCallback works? - RPC services

2011-02-26 Thread dreamer
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

Re: How AsyncCallback works? - RPC services

2011-02-26 Thread 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

Re: How AsyncCallback works? - RPC services

2011-02-27 Thread dreamer
.    - 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

App Engine UserService login dialog - how gwt app gets completion event

2011-04-14 Thread dreamer
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(/);

Re: Calling server-side rpc method from server-side code

2011-04-16 Thread dreamer
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

Finding GWT development mode url programatically

2011-06-18 Thread dreamer
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

Finding GWT debug mode URL (dev mode) programatically

2011-06-20 Thread dreamer
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

Re: Ways to reduce GWT compiled code size

2011-07-11 Thread dreamer
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

Re: How to detect if a Popup is showing

2011-07-11 Thread dreamer
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.

Re: Modal Window

2011-07-11 Thread dreamer
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

comparing GWT and jsp apps - why javscript apps different from html apps

2011-07-11 Thread dreamer
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

Re: comparing GWT and jsp apps - why javscript apps different from html apps

2011-07-12 Thread dreamer
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

Re: Playing MP3 and AVI in GWT application

2011-07-14 Thread dreamer
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

Re: Please help - GWT Designer / UiBinder bug or clueless new user?

2011-07-14 Thread dreamer
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

Re: Please help - GWT Designer / UiBinder bug or clueless new user?

2011-07-14 Thread dreamer
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

Re: my biggest problem with gwt

2011-07-15 Thread dreamer
=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

Re: Internal Compiler Error / Xerces

2011-07-15 Thread dreamer
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

Re: my biggest problem with gwt

2011-07-15 Thread dreamer
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:

Re: how to access all checkboxes that have a name that begins with abc?

2011-07-15 Thread dreamer
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

Re: Duplicate GWT-RPC requests?

2011-07-15 Thread dreamer
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

Re: GWT compiler error with ListType

2011-07-16 Thread dreamer
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

Re: 2.4 beta and mobilewebapp sample

2011-07-19 Thread dreamer
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 

TextArea - issues

2011-07-20 Thread dreamer
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

Re: TextArea - issues

2011-07-20 Thread dreamer
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

Re: javax.servlet.ServletContext log: Exception while dispatching incoming RPC call

2011-07-20 Thread dreamer
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

Re: TextArea - issues

2011-07-21 Thread dreamer
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,

Re: Basic packaged app questions. Need to get that first one under my belt.

2011-07-21 Thread dreamer
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,

ui widgets - getValue() and getText() difference

2011-07-21 Thread dreamer
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()

Re: Connecting to a oracle database with GWT

2011-07-21 Thread dreamer
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

GWT Page flows - want to start a open source project - thoughts

2011-07-29 Thread dreamer
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 -

Re: GWT Page flows - want to start a open source project - thoughts

2011-07-29 Thread dreamer
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

Re: GWT Page flows - want to start a open source project - thoughts

2011-07-30 Thread dreamer
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

Re: GWT Page flows - want to start a open source project - thoughts

2011-07-30 Thread dreamer
+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

java to HTML+JavaScript cross compiler/generator - is this possible?

2011-07-30 Thread dreamer
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

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

2011-08-04 Thread dreamer
= 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

GWT on server side ?

2011-08-05 Thread dreamer
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

RIP (Rich Internet Pages) instead RIA

2011-08-05 Thread dreamer
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

Re: RIP (Rich Internet Pages) instead RIA

2011-08-05 Thread dreamer
, 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

Re: RIP (Rich Internet Pages) instead RIA

2011-08-06 Thread dreamer
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

Re: GWT on server side ?

2011-08-06 Thread dreamer
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

Re: RIP (Rich Internet Pages) instead RIA

2011-08-06 Thread dreamer
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

Re: RIP (Rich Internet Pages) instead RIA

2011-08-06 Thread dreamer
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

Re: RIP (Rich Internet Pages) instead RIA

2011-08-07 Thread dreamer
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,

Re: Cannot display Facebook Like or Send button in GWT

2011-08-09 Thread dreamer
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

Re: multiple gwt modules

2011-08-11 Thread dreamer
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,

Re: Insane RPC Serialization Error.

2011-08-22 Thread dreamer
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,

Re: GWT customization (CSS) by web designer

2011-08-26 Thread dreamer
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

Re: Re : Developing GWT App using Tomcat

2011-09-06 Thread dreamer
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

Re: Backend Socket Connection

2011-09-06 Thread dreamer
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

Re: For JavascriptObject,what is counterpart for HashMap?

2011-09-07 Thread dreamer
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

onModuleLoad() - what is it in javascript

2011-09-08 Thread dreamer
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

Re: onModuleLoad() - what is it in javascript

2011-09-08 Thread dreamer
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

Re: onModuleLoad() - what is it in javascript

2011-09-08 Thread dreamer
=== 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

Re: onModuleLoad() - what is it in javascript

2011-09-09 Thread dreamer
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

Re: JSNI - Call Javascript native method from another

2011-09-15 Thread dreamer
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