Reverse engineering

2009-04-08 Thread fatjack1...@googlemail.com
Hi, Im wondering if there is an easy way to reverse engineer your code to produce class diagrams? Regards, Jack --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: Deploying on tomcat

2009-04-01 Thread fatjack1...@googlemail.com
all the classes right in the WEB-INF/classes and libraries in WEB-INF/lib ? On Apr 1, 1:41 am, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Hi, I have done this and now get a different error. This has changed from the other error in that it now says

Re: Deploying on tomcat

2009-04-01 Thread fatjack1...@googlemail.com
. Your servlet implements the ServerStatusSQLService interface, so that class has to be deployed with the server classes. On Wed, Apr 1, 2009 at 5:23 AM, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: I have only placed the server and database packages in the WEB-INF/ classes

Re: Deploying on tomcat

2009-04-01 Thread fatjack1...@googlemail.com
...@googlemail.com fatjack1...@googlemail.com wrote: Hi there, Thanks for your help. That has fixed my last problem, now I am getting a new one... 01-Apr-2009 13:38:15 org.apache.catalina.core.ApplicationContext log SEVERE: Exception while dispatching incoming RPC call

Deploying on tomcat

2009-03-31 Thread fatjack1...@googlemail.com
Hi everyone, I am trying to deploy my application on tomcat. I can connect to my project, however, it is having problems finding my server classes. I believe my xml file is setup incorrectly. Would someone be kind enough to look at my xml file and point out where I am going wrong. I'm sure it is

Re: Deploying on tomcat

2009-03-31 Thread fatjack1...@googlemail.com
the endpoint. Nothing in the configuration files strikes me immediately as being wrong. - Isaac On Tue, Mar 31, 2009 at 11:07 AM, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Hi everyone, I am trying to deploy my application on tomcat. I can connect to my project, however

Re: Deploying on tomcat

2009-03-31 Thread fatjack1...@googlemail.com
in the configuration files strikes me immediately as being wrong. - Isaac On Tue, Mar 31, 2009 at 11:07 AM, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Hi everyone, I am trying to deploy my application on tomcat. I can connect to my project, however, it is having problems finding my

Re: Deploying on tomcat

2009-03-31 Thread fatjack1...@googlemail.com
31, 2009 at 11:07 AM, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Hi everyone, I am trying to deploy my application on tomcat. I can connect to my project, however, it is having problems finding my server classes. I believe my xml file is setup incorrectly. Would

Re: Deploying on tomcat

2009-03-31 Thread fatjack1...@googlemail.com
Hi, I have placed my server classes directly in the WEB-INF folder. So the directory reads: WEB-INF\com\project\server Have I placed the server files in the wrong folder? Also, what is the correct way to compile the server files? I tried using javac but it produced 67 errors. I therefore just

Re: Deploying on tomcat

2009-03-31 Thread fatjack1...@googlemail.com
Source) at java.lang.ClassLoader.defineClass1(Native Method) On Mar 31, 11:29 pm, Thomas Broyer t.bro...@gmail.com wrote: On 31 mar, 23:42, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Hi, I have placed my server classes directly in the WEB-INF folder. So

Re: Currency Formatting

2009-03-25 Thread fatjack1...@googlemail.com
currencyBox = new TextBox(); currencyBox.setText(fmt.format(double)); Eric On Mar 25, 12:20 am, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Hi, Can someone please tell me a way to correctly format currency in pounds? Jack

Currency Formatting

2009-03-24 Thread fatjack1...@googlemail.com
Hi, Can someone please tell me a way to correctly format currency in pounds? Jack --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: NumberFormat getCurrenyFormat()

2009-03-19 Thread fatjack1...@googlemail.com
Anyone have any suggestions? On Mar 18, 5:21 pm, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Or at least change it to £2.57 instead of $? On Mar 17, 8:58 pm, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Ok, The reason I wasparsing it back

Re: NumberFormat getCurrenyFormat()

2009-03-18 Thread fatjack1...@googlemail.com
Or at least change it to £2.57 instead of $? On Mar 17, 8:58 pm, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Ok, The reason I wasparsing it back in was to convert it from a String to an integer. I think I have fixed part of the problem. My code now looks like

NumberFormat getCurrenyFormat()

2009-03-17 Thread fatjack1...@googlemail.com
Hi, I am having some problems correctly displaying currency. Here is the code I am using: //Format the discount to two decimal places NumberFormat fmt = NumberFormat.getCurrencyFormat(); String formatted = fmt.format(discountAmount); discountAmount =

Re: NumberFormat getCurrenyFormat()

2009-03-17 Thread fatjack1...@googlemail.com
? On 17 Mrz., 15:18, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Hi, I am having some problems correctly displaying currency. Here is the code I am using: //Format the discount to two decimal places NumberFormat fmt = NumberFormat.getCurrencyFormat(); String formatted

Debugging

2009-03-14 Thread fatjack1...@googlemail.com
Hi everyone, I am having trouble debugging my application. It always says 'Source Not Found' when it tries to launch. Here is my launch file: ?xml version=1.0 encoding=UTF-8 standalone=no? launchConfiguration type=org.eclipse.jdt.launching.localJavaApplication listAttribute

Re: Loading Images into GWT via MySQL

2009-03-13 Thread fatjack1...@googlemail.com
On Mar 12, 8:54 pm, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Hi, I'm not too sure how to implement a HTTPServlet. Does anyone know how to use images using RPC? Im really stuck on this. On Mar 12, 8:43 pm, Itamar Ravid itamar.ira...@gmail.com wrote

Loading Images into GWT via MySQL

2009-03-12 Thread fatjack1...@googlemail.com
Hi, I am new to loading images into GWT from MySQL and am abit lost on the best way to do it. I already have my image in the database. How do I retrieve it? I read somewhere that it can just be stored as a String. Is this correct? So my code on the server side would look like: //Open database

Re: Loading Images into GWT via MySQL

2009-03-12 Thread fatjack1...@googlemail.com
in the database. On Thu, Mar 12, 2009 at 12:59 PM, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Hi, I am new to loading images into GWT from MySQL and am abit lost on the best way to do it. I already have my image in the database. How do I retrieve it? I read

TimeStamps

2009-03-10 Thread fatjack1...@googlemail.com
Hi, I seem to be having an issue with timestamps when my project is compiled (It works fine in Hosted mode). I know why, im just wondering if anyone could tell me a quick way around my problem. So heres my code on the client: //Format the timestamp

Java Null Pointer Exception

2009-03-08 Thread fatjack1...@googlemail.com
Hi, I have raised an issue (Issue 3447) but have been asked to post on here first to see if anyone can help with my problem. Basically, I receive this error message at random intervals when the client makes a call to the server: [WARN] StandardContext[]Exception while dispatching incoming RPC

Re: Java Null Pointer Exception

2009-03-08 Thread fatjack1...@googlemail.com
dc is creates a Database Connector object. I'm not sure why there would be two parallel calls as the connection to the database is closed after every call... On Mar 8, 3:44 pm, Lothar Kimmeringer j...@kimmeringer.de wrote: fatjack1...@googlemail.com schrieb: Caused

Re: Java Null Pointer Exception

2009-03-08 Thread fatjack1...@googlemail.com
that every now and then it decides to call the method twice, which is obviously the reason it throws this error. However, I have no idea why it would call the method twice!! Any ideas? On Mar 8, 6:11 pm, Lothar Kimmeringer j...@kimmeringer.de wrote: fatjack1...@googlemail.com schrieb: dc

Re: Java Null Pointer Exception

2009-03-08 Thread fatjack1...@googlemail.com
Ok, it appears I have fixed this issue. For future reference it seems that the AsyncCallback calls were causing the errors. I basically added 'type' parameters to every AsyncCallback and this solved the issue I was having! Thanks for your help. On Mar 8, 11:11 pm, fatjack1...@googlemail.com

Re: Password Encryption

2009-03-05 Thread fatjack1...@googlemail.com
 pm, Daniel Jue teamp...@gmail.com wrote: What version of GWT are you using?  Have you tried  public class User implements Serializable{...} instead? On Thu, Mar 5, 2009 at 5:01 PM, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Hi Everyone, Im having some issues

Re: Password Encryption

2009-03-05 Thread fatjack1...@googlemail.com
Ok great, that worked! Thanks! On Mar 5, 11:28 pm, Daniel Kurka kurka.dan...@googlemail.com wrote: the interface is java.io.Serializable but thats not your problem. you also need a zero argument constructor (can be private though). Daniel 2009/3/6 fatjack1...@googlemail.com fatjack1

Buttons Question

2009-03-04 Thread fatjack1...@googlemail.com
Hi, I have a rather straight forward question that is driving me up the wall trying to solve. Im sure someone on here can help me. So here goes: Basically I have a list of records created in a for loop and a Button which I want to associate with each record. I need to make a listener that takes

StandardContext[]Exception while dispatching incoming RPC call

2009-02-24 Thread fatjack1...@googlemail.com
Hi, I receive the following error message when making a call from the client to server. It only happens on random intervals, maybe 20% of the time, but is starting to get annoying and wondered if anyone can spot what the problem is: [WARN] StandardContext[]Exception while dispatching incoming

Re: Compiling project

2009-02-20 Thread fatjack1...@googlemail.com
didn't deploy your database driver jar. But why chase somebody's wild guess when you could look in your log and see for sure what the problem is? On Wed, Feb 18, 2009 at 7:00 PM, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Hi everyone, Please can someone advice me

Re: Mobile Phones

2009-02-20 Thread fatjack1...@googlemail.com
a reference to every widget after you're done using it (allow the garbage collector to pick it up). -- Arthur Kalmenson On Thu, Feb 19, 2009 at 4:57 AM, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: I am planning on using the system with an Internet tablet (Nokia N810

Re: Mobile Phones

2009-02-19 Thread fatjack1...@googlemail.com
if this will work with GWT? Regards, Jack On Feb 18, 6:26 pm, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Ok cheers for the info. Is there any sort of specification I should be following? For example, as mobiles are narrower than PC monitors do the widgets I produce need

Mobile Phones

2009-02-18 Thread fatjack1...@googlemail.com
Hi everyone, I am currently working on a project that needs to use mobile phones with GWT using a web browser. Firstly, please can someone tell me if this is easily possible, and secondly what phones will work? It is only a simple application, nothing too fancy. Any help much appreciated.

Re: Mobile Phones

2009-02-18 Thread fatjack1...@googlemail.com
applications -jason On Feb 18, 2009, at 11:01 AM, fatjack1...@googlemail.com wrote: Hi everyone, I am currently working on a project that needs to use mobile phones with GWT using a web browser. Firstly, please can someone tell me if this is easily possible, and secondly what phones

Re: Debugging

2009-02-04 Thread fatjack1...@googlemail.com
3, 6:17 pm, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Ok, I have followed this before but I can't get Eclipse to work. It does not give me an option when I select 'Debug as'. It just says 'none applicable'. I am trying to run it from the entry point class. Here

Re: Debugging

2009-02-04 Thread fatjack1...@googlemail.com
if this could be a useful remarks, but I suppose they both should refer to the same source path. Federica fatjack1...@googlemail.com ha scritto: Hi, Main = com.project.client.ManagementApplication Arguments = -out www com.project.ManagementApplication/ ManagementApplication.html

Re: Debugging

2009-02-04 Thread fatjack1...@googlemail.com
/ Because the processes I want to debug start with the development shell, and the development shell do have a main function. BR, Federica fatjack1...@googlemail.com ha scritto: Ok thanks, that seems to have solved part of the problem. It now attempts to run but comes up with this error

Debugging

2009-02-03 Thread fatjack1...@googlemail.com
Hi, Can someone please tell me the best way to debug my GWT code using Eclipse? Regards, Jack --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Debugging

2009-02-03 Thread fatjack1...@googlemail.com
On Feb 3, 10:15 pm, Dan Ox danoxs...@gmail.com wrote: http://code.google.com/intl/da/docreader/#p=google-web-toolkit-doc-1-... On Feb 4, 8:00 am, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Hi, Can someone please tell me the best way to debug my GWT code using Eclipse

Asynchonous problem

2009-02-02 Thread fatjack1...@googlemail.com
Hi there, I wonder if anyone can help me. Basically, I have a for loop which relies on the result of a previous for loop. However, the fact that GWT uses asynchronous calls is messing the contents of the arraylists up. Here is my code: try{ for(int i = 0;

Re: Asynchonous problem

2009-02-02 Thread fatjack1...@googlemail.com
Petersen wrote: On Mon, Feb 2, 2009 at 1:17 PM, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: If anyone can provide a solution to my problem, it would be much appreciated. Put the second for loop in the body of the onSuccess method in the callback. If that doesn't make sense

Re: Removing Radio Buttons

2009-01-29 Thread fatjack1...@googlemail.com
that helps, //J fatjack1...@googlemail.com wrote: Hi, I have a button which allows the user to remove an item from the system by selecting a Radio Button and pressing 'Remove'. The system then deletes the item from the database and updates the list of radio buttons i.e. it removes

Re: Error Message

2009-01-28 Thread fatjack1...@googlemail.com
The items should be added to a FlexTable and the FlexTable is being added to a ScrollPanel. On Jan 28, 1:24 pm, Litty Preeth preeth.h...@gmail.com wrote: What is the type of Panel you are using? On Wed, Jan 28, 2009 at 3:39 AM, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote

Removing Radio Buttons

2009-01-28 Thread fatjack1...@googlemail.com
Hi, I have a button which allows the user to remove an item from the system by selecting a Radio Button and pressing 'Remove'. The system then deletes the item from the database and updates the list of radio buttons i.e. it removes the radio button that was selected for deletion. However, I have

Automatically updating data

2009-01-27 Thread fatjack1...@googlemail.com
Hi, I wonder if anyone can help me. I am trying to get a box with an Arraylist of items to automatically update its contents whenever the user adds a new item. So it writes to the database (this works fine) but then it does not automatically update the textbox. The only way i can get it to work

Error Message

2009-01-27 Thread fatjack1...@googlemail.com
Hi, I am receiving the following error message when I try to add a new item to a database: [ERROR] Uncaught exception escaped java.lang.UnsupportedOperationException: This panel does not support no-arg add() at com.google.gwt.user.client.ui.Panel.add(Panel.java:66) at

Radio Buttons Question

2008-12-28 Thread fatjack1...@googlemail.com
Hi there, I have the following question regarding Radio Buttons. I have added a RadioButton to an inner class as follows: class ServerStatsUpdater extends AbstractAsyncHandler { public void handleFailure(Throwable caught){ } public void handleSuccess(Object result){

Re: Radio Buttons Question

2008-12-28 Thread fatjack1...@googlemail.com
Hi, Cheers for your reply. The example does not say how to use it for Radio Buttons. I can not get my head round how to implement a click listener for a Radio button. You can only have 2 parameters for a radio button, and I am already using 2. The examples seem to add a click listener as a

Re: Radio Buttons Question

2008-12-28 Thread fatjack1...@googlemail.com
...@googlemail.com fatjack1...@googlemail.com Hi, Cheers for your reply. The example does not say how to use it for Radio Buttons. I can not get my head round how to implement a click listener for a Radio button. You can only have 2 parameters for a radio button, and I am already using

Re: Radio Buttons Question

2008-12-28 Thread fatjack1...@googlemail.com
to itself, and fill a static field with the last selected text, or have a static field which contains the currently selected instance. Ian http://examples.roughian.com 2008/12/28 fatjack1...@googlemail.com fatjack1...@googlemail.com Thanks for your reply. I now have the click listener

Sending objects from client to server

2008-12-17 Thread fatjack1...@googlemail.com
Hi, I wonder if anyone can help me. I am new to GWT so am still trying to get my head round how everything works... So basically I have my server set up. It can send data to the client using an AsyncCallback etc. Now I need the client to send something back to the server. For example, if the