Load widgets with user specific information strategy

2010-07-28 Thread Ho Jimmy
Hi, This is a application design question with GWT. After the user login, the application needs to load widgets with user specific data. I maintain a base panel with a private variable, accountId. After the user login, it will assigned the account id to this private variable. Then, the widgets add

Serialization exception

2010-07-08 Thread Ho Jimmy
Hi, I keep getting the serialization exception and causing the rpc failed. Can someone tell me what's going on? com.google.gwt.user.client.rpc.SerializationException: Type 'com.jobscout.frontpage.client.Category$$EnhancerByCGLIB$$424f9bbb' was not included in the set of types which can be serial

Re: Use multiple html host pages

2010-06-25 Thread Ho Jimmy
; > Stefan Bachert > http://gwtworld.de > > > On Jun 25, 12:15 pm, Ho Jimmy wrote: > > Hi, > > > > I would like to use multiple host pages for creating a GWT application. > > Since it is not quite possible to use the same framework for the whole > > ap

Use multiple html host pages

2010-06-25 Thread Ho Jimmy
Hi, I would like to use multiple host pages for creating a GWT application. Since it is not quite possible to use the same framework for the whole application. For example, 1> The Entry module load login widgets according to Main.html. 2> After the authentication success, the cookie is sent to th

Number of column of flextable

2010-05-19 Thread Ho Jimmy
Hi, If I want to limit the number of column of the flextable to be 2, what can I do? Thanks Jimmy -- 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 fr

Re: Load different html

2010-05-17 Thread Ho Jimmy
age it is and have your GWT client-side conditions > operate on that. Then just redirect/link to your files as normal. > > On May 16, 6:30 pm, Ho Jimmy wrote: > > Hi > > > > When the GWT application is started, an html file is specified and the > GWT > > modu

Load different html

2010-05-16 Thread Ho Jimmy
Hi When the GWT application is started, an html file is specified and the GWT modules are loaded and located according to the div id of that html file. If the application needs to go to another state with another html file after the user clicking a button or link, how can I redirect the applicatio

Re: Adding cookie question

2010-05-12 Thread Ho Jimmy
ise anybody can spoof sessions. > > If you are just setting trivial information like some user preferences, > then you can use the client version - saves you the server trip. > > --Sri > > > > On 8 May 2010 00:53, Ho Jimmy wrote: > >> Hi >> >> I a

retrieve the tomcat java JVM parameter from servlet

2010-05-11 Thread Ho Jimmy
Hi When the tomcat is running, it is actually a java process. e.g [r...@localhost tomcat]# ps -ef|grep java root 21896 1 0 01:34 ?00:04:51 /usr/java/jdk1.5.0_11//bin/java -server -Xmx500m -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.

Adding cookie question

2010-05-07 Thread Ho Jimmy
Hi I am confusing on adding cookie to the client after authentication. 1> Add from server, transmit to client by response getThreadLocalResponse.addCookie(New Cookie()) 2> Add on client after receiving the RPC callback for authentication success from server Cookies.setCookie() What is t

How to add an additional widget to PopupPanel

2010-04-03 Thread Ho Jimmy
Hi, I am using PopupPanel, containing a vertical panel which has all username, password textfields and submit button, for user authentication. The widget is added to the PopupPanel by PopupPanel.setWidget(loginPanel). When the user type the wrong password, I want to add a line of message under the

Re: GWT RPC Thread safe

2010-03-25 Thread Ho Jimmy
2010/3/25 Lothar Kimmeringer > Ho Jimmy schrieb: > > > I am new to GWT. So, this is a newbie question but I have google it a > > while but I am not able to find a simple example. > > How can I create the servlet thread safe? For traditional servlet, we > > use Thr

GWT RPC Thread safe

2010-03-25 Thread Ho Jimmy
Hi, I am new to GWT. So, this is a newbie question but I have google it a while but I am not able to find a simple example. How can I create the servlet thread safe? For traditional servlet, we use Threadlocal. So how can we define the similiar for GWT RPC servlet? Pls also describe a bit about th

Server side code of FileUpload in GWT way

2009-12-13 Thread Ho Jimmy
Hi, This is my first GWT project. I am trying to use the FileUpload feature of GWT. Can someone show me the server code of FileUpload please? All tutorials I get from searching are using the doPost servlet way. I would like to write the server side code like the following public class FileUploadS