GIN and fat Injection

2012-01-03 Thread Blessed Geek
I know this is off-topic, but I have no idea where to bring this complaint. 2ndly, I do not wish to register for adwords google group. Too many groups in my sleeves already. Anyway ... I was viewing GIN Injection in GWT in google groups and the side bar google ads had the following: I sanitised

Revise policies and change some private members to protected.

2011-12-28 Thread Blessed Geek
BTW, there are too many members going around as private members in GWT. For example, to name a couple .. - the widgets/elements in Caption of DialogBox. - the list in ListHandler. Should chill up on paternalistic anxieties and open up some of those stuffs into protected mode. -- You received t

Create a jaxb source gwt module

2011-11-04 Thread Blessed Geek
Looks like a lot of people are sharing XML /jaxb annotated dto's between gwt client and server. Don't you think it is time for gwt team to include a gwt-sanitized jaxb source module? - since everyone is doing it their own way, might as well have the gwt team do it for us, once and for all. Does a

GWT Compile Icon on GPE: No more selective compile?

2011-08-11 Thread Blessed Geek
STS 2.7.1 Eclipse Indigo, latest and greatest GPE (GWT 2.3). 1. To define the GWT modules avail for compilation: Project Properties -> Google -> GWT. 2. To compile modules: Click on little red compile icon and proceed with compiling. 3. To selectively compile modules without permanently removin

Re: adding packages to gwt app

2010-07-08 Thread Blessed Geek
You might also wish to consider if vaadin fits your strategy. vaadin.com. You should certainly try out vaadin. -- 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 u

Re: adding packages to gwt app

2010-07-08 Thread Blessed Geek
There are two ways: GWT RPC GWT FormPanel JSONP Did I say two ways? So, it's actually three ways. Or more. If your content server is the same as your web app server, you should consider converting to using GWT RPC. if your current app's client-server communications is mostly with html forms, y

Re: GWT 2.1 M1 Data Presentation Widgets tutorial?

2010-07-08 Thread Blessed Geek
Yes, me too. But I wish to have examples WITHOUT spring roo involved please!!! -- 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

Re: Smart Gwt RPC

2010-07-07 Thread Blessed Geek
When I work with smartgwt, there is no difference between RPC in GWT and smartgwt. Are you new to GWT too? Perhaps, you do not realise that smartgwt is not part of gwt. So your question should be looking for examples of RPC in GWT. Once you understand RPC in GWT, you should have no problem using

Re: Error using my own widgets with UIBinder

2010-07-07 Thread Blessed Geek
There is a design deficiency in UiBinder which I am desperately hoping GWT architects are putting top priorities at rectifying it - you cannot, for most and practical cases, use your custom-extended UiBinderable classes with Uibinder, unless you are willing to kludgify your use of uibinder. These

Re: need help on JSON request and response on UI only

2010-07-05 Thread Blessed Geek
On the server-side, I use com.google.gson.* On the client-side, I use com.google.gwt.core.client.JavaScriptObject; com.google.gwt.json.client.*; There are two modes to using these APIs. - Use GWT RPC to send Java structures back and forth. In this mode, you are blind to JSON and never need to eve

Re: No source code is available

2010-07-05 Thread Blessed Geek
It may be that you already know this but, the very important attitude to acquire before starting to use GWT is - GWT is not Java runtime, GWT is Javascript runtime - All GWT Java code is compiled to Javascript runtime - GWT is compiled to run on the browser client - Any Java code hoping to be used

Re: Passing PHP variables to my GWT application

2010-06-25 Thread Blessed Geek
Thanks to Sripathi a couple of months ago for letting me that there is a Dictionary class in GWT, which is used to access javascript objects in the hosting file. com.google.gwt.i18n.client.Dictionary. Therefore, for data that is dynamic per session startup but need not be dynamic while the page i

Re: UIBinder Benefits?

2010-06-24 Thread Blessed Geek
On Jun 24, 11:15 am, Stefan Bachert wrote: You are going off topic, and you are not debating in honest way. Nope, never meant to debate but simply to relate why I am "dishonestly", mysteriously, inexplicably biased towards XML. You are looking to win a debate, I see. Sorry, you win the debate.

Re: How to use one service from several GWT-Apps

2010-06-23 Thread Blessed Geek
"service"? Printing thro web service that all/any window could call with a single url? Why would you need to duplicate code when you can call it with a single url? Or did you mean you have a specialised GWT window written to handle printing and you wish to route all printing to that GWT window? A

Re: UIBinder Benefits?

2010-06-23 Thread Blessed Geek
Looking at your annotation, I find that I have to learn yet another language. I mean learning the annotation style as a language. UiBinder is in XML and if you are familiar with XML, it's a breeze to understand what's going on. For the many many years doing distributed computing in industrial env

Re: Maven is obfuscating and GWT2.1 should not depend on it

2010-06-22 Thread Blessed Geek
Chris, I am working on it now because I need that feature really badly - it's a do or die situation because I have so many forms to crud. Please write to my gmail id: blessedgeek. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to

Re: Million access to GWT Appl ??

2010-06-22 Thread Blessed Geek
You know that cows (and deer too) chew their cud. Cows have a secondary stomach, so it could store whatever grass it has chewed off the field in the 2ndary stomach. Then it could regurgitate the stored cud and chew on it afterwards. Your question is akin to saying that you read an article that say

Re: Maven is obfuscating and GWT2.1 should not depend on it

2010-06-20 Thread Blessed Geek
What I wrote to initiate this discussion may confuse things a little, but I do realise that I do not have to use Spring Roo. I was simply too lazy to micro-manage that detail. I must confess that I am confused by Spring's use of Maven. When I tried Spring Roo, perhaps, I was confused with all the

Maven is obfuscating and GWT2.1 should not depend on it

2010-06-06 Thread Blessed Geek
Maven is great when used as a "more capable Ant", but sucks when used for everything else that it has been so far been used for (like attempting to create the Universe in 7 days). Maven as a build dependency and testing setup tool is not bad but the way it has been misused for everything else so f

Any plans for UIBinder to allow custom parsers?

2010-06-04 Thread Blessed Geek
For users of SmartGWT, or any other highly customised GWT framework, you might say that we should let them develop their own xml ui definition strategy. To preempt any possibility that UIBinder architects might remotely have such an attitude - I would say that attitude, if existent, is wrong. Wro

Guice with client-side GWT

2010-05-26 Thread Blessed Geek
Nope, I am not asking about Guice with RemoteServiceServlet for RPC. Is it possible to use Guice on GWT widgets and related client-side manoeuvres? I don't expect the answer to be yes because the native code for GWT client is javascript not JVM byte-code. So, any plans for Guice on client-side G

Re: compile problems with GWT 2.1

2010-05-23 Thread Blessed Geek
I went into bikeshed jar in gwt2.1m1 plugin directory in eclipse and edited ValueStore.gwt.xml to insert the line . After which, GWT copiulation proceeded without error and my application ran without error or interference from bikeshed demo. The question remains, why is the bikeshed app includ

Re: compile problems with GWT 2.1

2010-05-23 Thread Blessed Geek
Dear GWT 2.1M1 releasors, I have encountered the same issue as Paul. Why is there a bikeshed demo project included when I enable GWT2.1M1 in Eclipse. It used to be, when I enabled GWT2.0, there would be only two jar files - gwt-dev and gwt-user. However, with 2.1M1, there is an extra bikeshed jar

Re: How to navigate to particular tab of GWT automatically

2010-05-21 Thread Blessed Geek
The answer lies in com.google.gwt.i18n.client.Dictionary If the entrypoint module is reachable thro /MakeAGoodGuess/ Employer.jsp, then the url you could use is /MakeAGoodGuess/Employer.jsp/pg3. Presuming - you know how to parse the subpath of request url from the request object of the jsp page,

LayoutPanel

2010-05-20 Thread Blessed Geek
I cannot get contents of LayoutPanel to display after placing it inside a verticalpanel which in turn is placed inside a TabLayoutPanel, all thro UIBinder. Chrome would display a little bit but contents of LayoutPanel is all blank for FF. In standards mode. Any one else have trouble with Layo

Re: What's the best/easiest way of doing server-side persistence with GWT?

2010-05-19 Thread Blessed Geek
Wouldn't your initial question be like - What is the best power tool to use to build the fence around my garden if I wish to plant my garden with tulips. But later on in your post, you reveal that your question actually has nothing to do with GWT, just as growing tulips has nothing to do with cho

Re: UserService.getCurrentUser() is not working for me

2010-05-18 Thread Blessed Geek
UserService is meant to be use on server side, not client side. You could follow my tutorial on how to use GWT client to perform Google login: http://h2g2java.blessedgeek.com/2010/05/accessing-google-userservice-from-gwt.html -- You received this message because you are subscribed to the Google

Re: gwt + php + mysql = confusion?

2010-05-18 Thread Blessed Geek
I don't understand why you would face a problem. Isn't your json response like this { cell5:bigtoe, cell12:smalltoe } so that, you know which cell to update when the response comes back. And you might even consider a similar param-value pair json structure when the client sends the request to t

Re: How to access static variable on remoteService?

2010-05-18 Thread Blessed Geek
Yes, you could set and get session attributes to store any data, as long as the you wish to share the data within the same session. But what if, the data need to be shared across session? What if your application needs to be robust so that in case the session died due to power outage and the user n

Re: Why Asynchronous?

2010-05-18 Thread Blessed Geek
Why asynchronous? This is a classic examination question in data communications. Why serializable? - another classic examination question. Classic - meaning that the professors in data communication would want to ensure you understand them before they would like you to be given a piece of paper

Re: gwt + php + mysql = confusion?

2010-05-18 Thread Blessed Geek
Response from GWT RPC is asynchronous. Asynchrony (condition of being asynchronous), is a desirable form of communication between browser and server because it allows avoiding your web page from becoming unresponsive while waiting for the response from the server. Therefore, you have to take steps

Re: OOPHM too slow

2010-05-18 Thread Blessed Geek
Guess what! I transferred my GWT app to the Vista 64 on the other side of the dualbooted machine but running 32bit Chrome (no such thing as a 64bit chrome currently), which requires a 32 bit jvm to run oophm. The GWT compilation was a breeze, comparatively. Wow 20 seconds versus 5 - 10 minutes on t

Re: Vaadin or GWT designer

2010-05-17 Thread Blessed Geek
http://h2g2java.blessedgeek.com/2010/05/vaadin.html http://h2g2java.blessedgeek.com/2010/05/using-vaadin-with-google-app-engine.html Vaadin is very attractive and manageable. With Vaadin you do not have to worry about RPC. You can declare objects and classes and presume their visibility would spre

Re: How to access static variable on remoteService?

2010-05-16 Thread Blessed Geek
Your question concerns the most basic principle of GWT RPC - How to pass various data types between server and client. I am jumping to unqualified conclusion the reason you chose to define the List static is probably because you are hoping that the static object could be shared between client and

Re: OOPHM too slow

2010-05-12 Thread Blessed Geek
addendum - it should have been: I replaced my workstation with core core 2 quad ... -- 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, s

OOPHM too slow

2010-05-12 Thread Blessed Geek
I was using ubuntu 9.10 on dual core pentium D 2.8 GHz 2GB 667 MHz DDR2. I have three GWT modules on GAE development server. Whenever I launch an initial oophm, Firefox freezes for 5 mins and the system runs at 2x100%. And the cooling fans go crazy and loud. OK, no prob'm. I replaced my workstati

Re: Customising the behaviour of uibinder code generation during GWT compilation

2010-05-02 Thread Blessed Geek
I do realise that I could be looking at com.google.gwt.uibinder.elementparsers.TabLayoutPanelParser. So, how do I get gwt compiler to use SuperDuperTabLayoutPanelParser, which I supposedly would create? All because I want to put a close button on the tab, actually!!! May be, I should just patch T

Customising the behaviour of uibinder code generation during GWT compilation

2010-05-02 Thread Blessed Geek
Could someone point me to literature or give me a few pointers. For example, I wish to extend TabLayout into SuperDuperTabLayout, but GWT compiler would not recognise the child nodes of SuperDuperTabLayout. Hullo blah ... blah GWT compiler says i

Re: UiBinder performances: widgets without ui:field still instantiate?

2010-05-02 Thread Blessed Geek
With ref to your question: "So am I right to think that I should never use widget inside UiBinder xml except if I have the attribute ui:field (in other words, except if I need it in the Java code)?" I don't think this can be true for me. In fact, I am glad that GWT compiler instantiates all the w

How to tell GWT compiler to compile for only one specific browser

2010-04-21 Thread Blessed Geek
You can specify in the gwt.xml to restrict compilation to a certain/ list of browser(s). I would do it to restrict to firefox because I am using firefox to test my development. Why should I waste my precious time waiting for gwt to compile for all six "permutations" when during development I only u

Best way for launching html/jsp to communicate with GWT

2010-04-20 Thread Blessed Geek
A html or jsp file is used to launch the xxx.nocache.js, which then decides which browser "permutation" to use. xxx In my case, I am using a jsp. When the JSP is executed, it discovers some conditions. I wish to pass these conditions as variables to the GWT generated javascrip

Output of two entrypoints overlapping

2010-04-09 Thread Blessed Geek
I have an entrypoint module Main. I have another entrypoint module User User inherits non-entrypoint module UserPersistence. At some time, I inadvertently had module UserPersistence inherit Main. That is, User module effectively inherits Main. The result was, when module User is displayed, it w

output of two entrypoints overlapping

2010-04-09 Thread Blessed Geek
I have an entrypoint module Main. I have another entrypoint module User User inherits non-entrypoint module UserPersistence. At some time, I inadvertently had module Persistence inherit Main. That is, User module effectively inherits Main. The result was, when module User is displayed, it was o

Re: Need to understand GWT DOM - on which frame does my module reside.

2010-04-07 Thread Blessed Geek
I thought, I did not need to expose the innards of my app. The namedframe housed in the dialogbox is actually a google or open id login. Since both google and open id login/outs require uri and callbacks, I cannot possibly eliminate the frame so that Main and User could refer to each other in any

Re: Need to understand GWT DOM - on which frame does my module reside.

2010-04-07 Thread Blessed Geek
Then, the next question that begs to be answered is, Is maintaining a static reference a good practice for inter-frame communication? If I used only one browser session, I invoked Main entrypoint on two separate Firefox tabs, will both instances of Main be contending to write to "static public Mai

Re: Need to understand GWT DOM - on which frame does my module reside.

2010-04-07 Thread Blessed Geek
Certainly this is a trivial matter but for all the efforts put in to write a fairly comprehensible JSNI explanation in the GWT docs, I am unable to find any clarification on how the DOM is mapped by GWT. Because, when I do the following (instance of user using a static reference to Main to call re

Need to understand GWT DOM - on which frame does my module reside.

2010-04-07 Thread Blessed Geek
My GWT application has an entry point module Main. Main has a class method refresh() to refresh its menubar. Main also is able to be triggered to popup a DialogBox, where the DialogBox contains and NamedFrame. The NamedFrame is given the URL to another entrypoint module User within the same appli

Re: Managing file in GWT

2010-04-07 Thread Blessed Geek
Oy, now that is a different issue. You are using GAE? If you are developing GWT with no intentions of deploying to Google's App Engine servers, you should disable GAE option in Eclipse. Otherwise, if you are developing for deploying on GAE, you have to realign your programming habits and attitude

Re: DecoratedPopupPanel / Visual Themes

2010-04-06 Thread Blessed Geek
Coincidentally, I am here at this group to ask a similar question. DialogBox is a rather simplified widget and the GWT team has taken extraneous efforts that disallow the caption from being modified. DialogBox caption bar does not have close button and it is not re- sizable through visual means. S

Re: Crosstalk of uifields when extending widgets built with UIBinder

2010-04-06 Thread Blessed Geek
There was an error in transcribing the code to the forum window. Lazypanel should not be there. So here's the problem again with the ui xml corrected. [code file="WhateverPanel-Confirm.ui.xml"] Proceed [/code] I circumvented the problem by extracting conf

GWT code server causing internal routing problems and JVM memory overflow?

2010-04-05 Thread Blessed Geek
Does anyone else face this problem. My Firefox or Chrome sessions to web sites frequently hangs when I run GWT hosted code server. And then the vista laptop and mac running on the same wireless router has no problems access the web. I have to terninate the Firefox browser running the code server

Crosstalk of uifields when extending widgets built with UIBinder

2010-04-05 Thread Blessed Geek
Two classes are built with UIBinder, DialogPanel and WhateverPanel. WhateverPanel extends DialogPanel. The problem is that GWT compiler complains that it cannot find DialogPanel's uibinder fields in WhateverPanel's ui.xml, but the fields are not used or exposed to WhateverPanel. That is, uibinder

Re: How to add an additional widget to PopupPanel

2010-04-05 Thread Blessed Geek
It is with the understanding that to use PopupPanel or other derivatives of SimplePanel (e.g. DialogBox), you can only use one child widget. SimplePanel, as its name suggests, allows only one child widge. And you need to use setWidget to set the child widget. That is why it is called "Simple". In

Re: Managing file in GWT

2010-04-05 Thread Blessed Geek
FileOutputStream is a Java platform feature. GWT runtime is not Java platform but javascript platform. GWT merely uses the Java platform and language to create code native to the javascript platform. That is whatever GWT source code you are coding are translated/compiled into javascript and will

Re: Stop a nuclear disaster

2010-03-31 Thread Blessed Geek
Hi and lo and behold, lend me your tears, programmers, young and old, or, send me your kegs of beer, Thousands apologies for as so bold as off-topic I am to veer, Google is churning out one hazardous technology after another, like GWT. Their technology is so hazardous to competitors that compet

Re: New GWT widget resource, of sorts: vaadin.com/directory

2010-03-31 Thread Blessed Geek
BTW, every time I make a posting on Google groups, a web hosting company harvests my email id by projecting it from my google groups avatar. I urge anyone who is experiencing this to report that web hosting company to http://ftc.gov/complaints. FTC does no't prosecute per complaint but if enough vo

Re: New GWT widget resource, of sorts: vaadin.com/directory

2010-03-31 Thread Blessed Geek
Vaadin is very suitable for many scenarios, if not most scenarios. The problem is ... For every web project I have ever built, there are about a few of the pages of any project where I needed to do something different from the normal presentation framework. Whatever the framework is. When I nee

Re: Extending widget built by UIBinder

2010-03-31 Thread Blessed Geek
It appears more likely that case#1 is the possibility. I had a parameter reference in UIPopup,ui.xml which I intended to define in UIPopup.java. Unfortunately, the same variable has been defined in the subclass and UIBinder intelligently assumed I wanted to use the variable in the subclass. I rena

Re: New GWT widget resource, of sorts: vaadin.com/directory

2010-03-31 Thread Blessed Geek
Vaadin is not GWT. Vaadin makes use of GWT as the browser presentation component. There is a lot more within vaadin that is not GWT. Vaadin is a web application framework which presents and integrated perception to the programmer unifying the server and client components. Vaadin is architected wit

Extending widget built by UIBinder

2010-03-30 Thread Blessed Geek
I have a class UIPopup which is coded with UIBinder. public class UIPopup extends DecoratedPopupPanel { private static PopupUiBinder uiBinder = GWT.create(PopupUiBinder.class); interface PopupUiBinder extends UiBinder{} @UiFactory public UIPopup getThis(){ return this; }

Re: Where is there any comprehensive UIBinder documentation?

2010-02-25 Thread Blessed Geek
Another typo correction: Where is there a comprehensive documentation for uibinder, or do I have to read the code to read the specification? -- 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

Re: Where is there any comprehensive UIBinder documentation?

2010-02-25 Thread Blessed Geek
Correction to my typo (due to angst of furiously googling for a comprehensive uibinder 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-tool...@googlegroups.com. To un

Where is there any comprehensive UIBinder documentation?

2010-02-25 Thread Blessed Geek
How to use ui:data, ui:ph (what's that??), ui:attribute, etc?? In http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html, it says "You can make resources available to your template via the element, but at the cost of having them instantiated for you." Is it implying that with @uifac

Re: Gwt based Dynamic UI Application framework?

2010-02-25 Thread Blessed Geek
Sorry, I reread your post quite a few times and I am still feeling fuzzy if I had the comprehension to understand it. I've tried this before, mixing the gwt compilation output of all the modules into the same folder in the war. I don't think that is necessary. If I wanted all the modules in the s

Re: passing multiple variables from the server to client

2010-02-24 Thread Blessed Geek
Hey people, I know I have pasted the link to this my blog post as answer to quite a few questions but somehow this post seems to be to answer to quite a few questions here. So here it goes again ... http://h2g2java.blessedgeek.com/2010/02/tutorial-gwt-rpc-stub-modified-with.html. The trick is not

Re: ClassNotLoaded exception on serialized class

2010-02-23 Thread Blessed Geek
Need more details. Which version of gwt are you using? For gwt 1.7 I had to do this. It is possible your problem is due to your failure to declare typeargs. Whenever you use your own serializable classes you have to @annotate its structure in the comment section of the code to inform gwt compile

Re: How to reference current window frame - as a formpanel target

2010-02-23 Thread Blessed Geek
Excellent! Where is this found in the documentation? On Feb 23, 6:00 am, Thomas Broyer wrote: > On Feb 23, 1:20 pm, Blessed Geek wrote: > Just use "_self". -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. T

Making SmartGWT UIBinder-friendly.

2010-02-23 Thread Blessed Geek
I have been extending SmartGWT to be UIBinder-friendly, widget by widget, on a as-needed basis. They can be found at http://code.google.com/p/synthfuljava/source/browse/#svn/trunk/gwt/smartgwt/org/synthful/smartgwt. I would like to find partners in this effort and perhaps create a new google code

Re: Can anyone explain RPC

2010-02-23 Thread Blessed Geek
I have simple explanation and example here: http://h2g2java.blessedgeek.com/2010/02/tutorial-gwt-rpc-stub-modified-with.html. For a more detailed example, such as using JSPs (instead of plain servlets) as GWT RPC servicers: http://h2g2java.blessedgeek.com/2009/08/gwt-rpc.html. -- You received th

How to reference current window frame - as a formpanel target

2010-02-23 Thread Blessed Geek
GWT creates quite a few frames. I have a formpanel. I wish to set its target to the current frame on which the rootpanel resides. As a start, I wish to define the term "current frame" to mean the frame on which all the gwt widgets are displayed. I have been using two techniques to set the target

Re: UIBinder unusable without a good layout policy.

2010-02-17 Thread Blessed Geek
Thx Marcus, I just discovered that after careful rereadng of the GWT UIBinder guide. On Feb 14, 7:23 am, Marcus Christensson wrote: > The trick is to add an annotated constructor. In your case the -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Re: UIBinder unusable without a good layout policy.

2010-02-14 Thread Blessed Geek
Here is the what I was trying to do when I encountered this bug/ misfeature http://h2g2java.blessedgeek.com/2010/02/gwt-and-uibinder-password.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

Re: UiBinder and DialogBox (mail example)

2010-02-14 Thread Blessed Geek
Ooops sorry, I did not realise I have already communicated this to you in your other post. On Feb 14, 7:27 pm, Blessed Geek wrote: > Do you think the way I am using dialog box might help you? > You have to dig the dialogbox needle among the stack of GWT RPC hay in > my >

Re: UiBinder and DialogBox (mail example)

2010-02-14 Thread Blessed Geek
Do you think the way I am using dialog box might help you? You have to dig the dialogbox needle among the stack of GWT RPC hay in my tutorial http://h2g2java.blessedgeek.com/2010/02/tutorial-gwt-rpc-stub-modified-with.html. -- You received this message because you are subscribed to the Google Gro

UIBinder unusable without a good layout policy.

2010-02-14 Thread Blessed Geek
The only usable layout for UIBinder is DockLayoutPanel, which is not applicable for most layout requirements. Without useable layouts, uibinder is a good demo technology but unuseable. The Grid widget for example. No setColumnCount nor setRowCount nor add(widget) methods. OK, that's simple. I'll

Re: GWT UIBinder - unrecognized text in g:VerticalPanel

2010-02-12 Thread Blessed Geek
I have a rather complete explanation here. http://h2g2java.blessedgeek.com/2010/02/tutorial-gwt-rpc-stub-modified-with.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...@googlegrou

Re: GWT UIBinder - unrecognized text in g:VerticalPanel

2010-01-31 Thread Blessed Geek
Never mind! I moved stylename and animation to dialogbox from verticalpanel. It works. Sorry for the confusion. OK! UI Binder is Gwwweat! Perhaps, much better than JavaFx or Silverlight (i.e., any plans for a desktop non-servlet version of UIBinder?) What are the plans for GWT and UIBinder for e

GWT UIBinder - unrecognized text in g:VerticalPanel

2010-01-31 Thread Blessed Geek
When you use Eclipse Google plugin to create a new EntryPoint class, it gives you one with a simple RPC example with a DialogBox. I translated the DialogBox to a UIBinder. [code] Sending name to the server:

Adsense with GWT: Management by silence

2010-01-17 Thread Blessed Geek
Twenty years ago, someone once told me that doing business in China is like having the rules changed in the middle of a ball game. Unlike China, Japanese management rewards you for highlighting ambiguities in instructions and policies. Japanese management takes pains to ensure you are well aware o

Re: GWT 2.0 & port 9997 - testing two apps simultaneously

2009-12-27 Thread Blessed Geek
Never mind! I found the answer. Placing -codeServerPort 9998 in program arguments text box in arguments tab of eclipse run configuration would set the codeServer Port to 9998, or whichever port I choose. -- You received this message because you are subscribed to the Google Groups "Google Web

Re: GWT 2.0 & port 9997 - testing two apps simultaneously

2009-12-27 Thread Blessed Geek
On Dec 27, 1:47 am, "Paul Grenyer" wrote: Go into your project settings and tick the box labelled something like find available port or enter a different port for one of your apps. I don't the answer above applies because ... This is not about the application context port which I set different

Re: GWT 2.0 & port 9997 - testing two apps simultaneously

2009-12-27 Thread Blessed Geek
[ERROR] Unable to bind socket on port 9997 -- is another session active? java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this

GWT 2.0 & port 9997 - testing two apps simultaneously

2009-12-27 Thread Blessed Geek
I am using GWT 2.0 on eclipse plugin. I need to test two or more applications simultaneously in eclipse. However, when I start the second app, the GWT Development notification window says " ... failed to open port 9997 ...". Should I ignore this error msg? How should I test two or more apps simu

Async socket

2009-07-30 Thread Blessed Geek
In Flash, I could create an async socket. Which is very useful because it allows server pushing data asynchronously (i.e. on the events of new data is available or changes in data) to the client without the client's constant initiative. Does GWT have a means to create async sockets? Actually, ho

Re: No setTarget in FormPanel?

2009-06-21 Thread Blessed Geek
Is that what the as() method is for? 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 t

Re: did you forget to inherit a required module

2009-06-21 Thread Blessed Geek
Hey bhanu, yours is the classic repeated question. You created a new entry point by copying an existing entry point to another folder? But you did not copy the entry point's module inheritance definition, right? GWT works this way. Say you have an Entry point module, examples.fish.Salmon you wou

No setTarget in FormPanel?

2009-06-21 Thread Blessed Geek
I am feeling intrigued why FormPanel - has a getTarget method - but not setTarget method ???!!! Is this deficit due to another programming-style-paternalism or simply an overlooked absent feature due to be rectified in a later released later? Why can't I be allowed to change the target in the mi

Re: @gwt.TypeArgs gwt 1.6 specification documentation

2009-05-16 Thread Blessed Geek
I suppose the actual word is "hearsay" rather than "heresay". Furthering my engagement in trivial semantics, so my other question is, begging your pardon for indulging in technical jargon purism, Is GWT "RPC" can really be called "RPC". If it can be called RPC, then every time I time into my brow

@gwt.TypeArgs gwt 1.6 specification documentation

2009-05-16 Thread Blessed Geek
Dear GWT team, This may seem trivial but I think even if it is worth just a paragraph or two, you should document the new requirements rather than just referring to "unlike pre-gwt1.5, you have to used parameterised types" in blogs and discussions. Having proper documentation makes it "professio

Re: Chrome & Safari Compatibility

2009-05-12 Thread Blessed Geek
Rather, it is more accurate to say that I set the absolute distance of the panels 90px from the top of the root panel - to make room for page logo and header text. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Goog

Chrome & Safari Compatibility

2009-05-12 Thread Blessed Geek
Is it true that GWT is not qualified to work on Chrome and Safari? (Having previously been on quality engineering, the term "qualified" I use carries a certain industrial sense.) I created a site with tabs, where each tab is associated with a panel. And the panels respectively display documents f

Re:

2009-05-11 Thread Blessed Geek
All right and thanks, based on your advice and further reading ... I uploaded my app engine + gwt app at http://links.blessed-are-the-geek.com/home . I created a GWT based generic site builder where anyone could build a site by specifying the sitemap. I used two json techniques: 1. The sitemap

Re:

2009-05-11 Thread Blessed Geek
> > As for why "JavaScript" is referred to as native, well, you can't > write JavaScript in Java code without the compiler getting upset yet > it's sometimes useful to do.  The clever way in which GWT gets around > this is to use Java's native interface syntax, hence by extension the > Javascript

Re:

2009-05-07 Thread Blessed Geek
Really, I don't understand why callback is needed. The article and another article http://code.google.com/support/bin/answer.py?answer=55954&topic=10213 presume the reader knows why a callback is required. Right now, I am guessing ... is it because what old time programmers call the "racing con

google-web-toolkit@googlegroups.com

2009-05-06 Thread Blessed Geek
There is a nice article on JSON over GWT. (Or is it GWT over JSON) http://code.google.com/support/bin/answer.py?answer=65632&topic=11368 I don't understand the reason for callbacks to get JSON data as I could just code a RESTful URL for src. Therefore, I simply use the script tag: But that is n

JsArray methods deficiency

2009-04-25 Thread Blessed Geek
I am wondering why GWT team has overlooked the need for - get (String key) method - toArray() method Therefore, I had to extend JsArray public class JsObjectArray extends JsArray { protected JsObjectArray(){} final public native String get(String key) /*-{return this[key]; }-*/;

Proposal for an Integrated Component-based Web Env

2008-10-05 Thread Blessed Geek
Proposal for a Google Web Machine (GWM) that would integrate the whole Google web environment and unify the programming and construction of web presentation of Google products like Blogger, Page Creator, Sites, App Engine, adsense, Apps, etc 1. Shareable libraries/widgets based on Blogger Templat