Re: Missing required argument 'module[s]' error

2011-08-31 Thread Pham Tran Quoc Viet
Resending. Please help. On Wed, Aug 31, 2011 at 9:14 AM, Pham Tran Quoc Viet < phamtranquocv...@gmail.com> wrote: > Hi all, > > I follow instruction in this page ( > https://sites.google.com/site/jeenigxt/gwt-ext-maven-and-eclipse) to setup > my first maven project for ext g

Missing required argument 'module[s]' error

2011-08-31 Thread Pham Tran Quoc Viet
Hi all, I follow instruction in this page ( https://sites.google.com/site/jeenigxt/gwt-ext-maven-and-eclipse) to setup my first maven project for ext gwt. I got to the part called "Test So Far" and ran into this error when doing " Run As -> Web Application". I have been searching and trying differ

Re: download stocwatcher

2011-01-30 Thread Pham Tran Quoc Viet
Thanks Jim. On Sun, Jan 30, 2011 at 7:17 AM, Jim Douglas wrote: > You create the sample by working through these steps: > > http://code.google.com/webtoolkit/doc/latest/tutorial/gettingstarted.html > > On Jan 30, 6:59 am, Pham Tran Quoc Viet > wrote: >> Hi, >>

download stocwatcher

2011-01-30 Thread Pham Tran Quoc Viet
Hi, Does anyone know where to download the StockWatcher example? I have searched everywhere but just could not find it so that I can walk through the code while reading this get-started instruction: http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/GettingStartedCreateProject Thanks a bunc

How to persist data

2009-07-19 Thread Pham Tran Quoc Viet
Hi,I have a config.xml file that contains stuffs like domain name, username, password, connection string. This file is loaded into a signleton when the web application first contacts the server. How do I persist the signleton so that the app does not have to reread the xml file in the next request?

Re: about GWT compiler performance

2009-07-12 Thread Pham Tran Quoc Viet
; > For a single browser config the CLIENT VM is working better for me. A > single permutation doesn't seem enough to let the server VM perform > its optimisations. However, for my production builds for all browsers/ > locales then server mode is king. > > On Feb 4, 4:41 am, P

Re: What is the equivalence of web.config in GWT?

2009-06-01 Thread Pham Tran Quoc Viet
om/xml/ns/j2ee/web-app_2_4.xsd. You can download GWT > > mail sample fromhttp://code.google.com/p/dreamsource-orm/downloads/list, > > which is a database-related web application. You can find how to use > > web.xml there. > > > > Jim > > > > On Jun 1, 12:58

What is the equivalence of web.config in GWT?

2009-06-01 Thread Pham Tran Quoc Viet
Hi,In C#, web.config is an xml file where you store global infomration such as connection string, domain name, etc so that you can modify in one place. What is the equivalent way of doing this in GWT? Any tutorial pointer is greatly appreciated. Thanks. Viet Pham Viet Pham --~--~-~--~

Re: PreparedStatement works half way

2009-03-21 Thread Pham Tran Quoc Viet
? > > > On Sat, Mar 21, 2009 at 11:01 AM, Pham Tran Quoc Viet < > phamtranquocv...@gmail.com> wrote: > >> Hi All,I my GWT-based application, the INSERT statement inserts a record >> into the database. It, however, throws the error in red below when hitting >>

PreparedStatement works half way

2009-03-21 Thread Pham Tran Quoc Viet
Hi All,I my GWT-based application, the INSERT statement inserts a record into the database. It, however, throws the error in red below when hitting the UPDATE statement (in bold and at the bottom). Please help. com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQ

Re: about GWT compiler performance

2009-02-04 Thread Pham Tran Quoc Viet
sinkEvents(DOMImplStandard.java:160) at com.google.gwt.user.client.DOM.sinkEvents(DOM.java:1214) at com.google.gwt.user.client.ui.UIObject.sinkEvents(UIObject.java:713) Thanks. Viet Pham On Wed, Feb 4, 2009 at 1:36 AM, lowecg2004 wrote: > > Try safari > > On Feb 4, 4:41 am, Pham T

Re: about GWT compiler performance

2009-02-04 Thread Pham Tran Quoc Viet
t; Djava.awt.headless=true > > For a single browser config the CLIENT VM is working better for me. A > single permutation doesn't seem enough to let the server VM perform > its optimisations. However, for my production builds for all browsers/ > locales then server mode is king. &

Re: about GWT compiler performance

2009-02-04 Thread Pham Tran Quoc Viet
Thanks. Viet Pham On Wed, Feb 4, 2009 at 1:34 AM, Paul Robinson wrote: > > Pham Tran Quoc Viet wrote: > > Hi, > > What is the value for Chrome browser? I tried this, but it crashed. > > Thanks. > > > > > > > > > Use "sa

Re: about GWT compiler performance

2009-02-03 Thread Pham Tran Quoc Viet
ll.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java:114) Viet Pham On Sun, Feb 1, 2009 at 9:48 AM, Niklas Derouche wrote: > Well, for me it only generates the IE version and the time is down to about > 40 percent. > clean out the www folder before the compile perhaps? > > n. > > &g

Re: about GWT compiler performance

2009-02-01 Thread Pham Tran Quoc Viet
:22 AM, Niklas Derouche wrote: > Hi, > try: > > > > > > if you see what I mean. > > n. > > On Sat, Jan 31, 2009 at 2:58 AM, Pham Tran Quoc Viet < > phamtranquocv...@gmail.com> wrote: > >> Hi, >> I followed the advise in

Re: about GWT compiler performance

2009-01-30 Thread Pham Tran Quoc Viet
Hi, I followed the advise in this thread and added the following to my module.gwt.xml: ... ... ... I got this error: [ERROR] Property 'user.agent' not found [ERROR] Failure while parsing XML Any ideas? Thanks. Viet Pham On Sun, Nov 9, 2008 at 12:1

Re: getting java.sql.Connection error

2009-01-09 Thread Pham Tran Quoc Viet
Thanks for taking the time to explain it so carefully. You are a good person.Thanks again, Lothar. Viet Pham On Fri, Jan 9, 2009 at 12:28 AM, Lothar Kimmeringer wrote: > > Pham Tran Quoc Viet schrieb: > > > By the way, I could not find RemoteServiceException in GWT doc. So, I

Re: getting java.sql.Connection error

2009-01-08 Thread Pham Tran Quoc Viet
Lothar,By the way, I could not find RemoteServiceException in GWT doc. So, I assume it's your custom exception, right? Thanks. Viet Pham On Thu, Jan 8, 2009 at 9:10 PM, Pham Tran Quoc Viet < phamtranquocv...@gmail.com> wrote: > Lothar, > Because I had isDuplicateSsn

Re: getting java.sql.Connection error

2009-01-08 Thread Pham Tran Quoc Viet
now, but I will probably log, then wrap it the way you suggested, and throw it again in a format that is serializable to be sent to client. Thanks a bunch. Viet Pham On Thu, Jan 8, 2009 at 10:10 AM, Pham Tran Quoc Viet < phamtranquocv...@gmail.com> wrote: > Thanks Lothar. I'll

Re: getting java.sql.Connection error

2009-01-08 Thread Pham Tran Quoc Viet
Thanks Lothar. I'll give it a try tonight and see what happens. Thanks again. Viet Pham On Wed, Jan 7, 2009 at 11:55 PM, Lothar Kimmeringer wrote: > > phamtranquocviet schrieb: > > > public boolean isDuplicateSsn(String ssn) throws SQLException > > You can't throw a SQLException from a met