Class.forName(String) Instance

2008-11-10 Thread jmpeace
I was wondering if someone could help me out with this problem. I need to get and object from an especific class (that extends a class named DDOField). I'm doing this to get a new instance according to the type requested: HashMapString, DDOField availableFields = new HashMapString, DDOField();

Re: Class.forName(String) Instance

2008-11-10 Thread jmpeace
Thank you very much gregor, that solved my problem instantly. On 10 nov, 15:53, gregor [EMAIL PROTECTED] wrote: Hi jmpeace, Would something along these lines help? public class FieldFactory {  public enum Type {      SIMPLETEXT, PASSWORD, VALIDATED ...etc  }   public static Widget

Re: Servlets and web.xml

2009-02-07 Thread jmpeace
Why don't you try opening a separated browser window and point to http://localhost:/FileServlet It should give you a HTTP Status 500 error meaning it is listening there in hosted mode On Feb 7, 8:05 am, Jonathan jonathan.delf...@gmail.com wrote: Hi, Thanks again for the help.

How could I compress contents of a GWT-RPC response

2009-02-19 Thread jmpeace
Hi! I am developing an application which sends big amounts of text to the client via a GWT-RPC. I wonder if there is a way to compress the text in the server and decompress it on the client. What do you think about this? --~--~-~--~~~---~--~~ You received this

Re: How could I compress contents of a GWT-RPC response

2009-02-19 Thread jmpeace
Thank very much you for the quick answers. It's good to know it is already done :o). --~--~-~--~~~---~--~~ 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: Synchornous GWT, how can i do that

2009-03-11 Thread jmpeace
Please take a took to this code I have written this code to be able to make RPC calls one after another: (you can use 'result' value to know if you can continue to next call) /*ONE*/CustomWaitingOperation.execute(new CustomWaitingOperation.ResultCallback(){ public void onResult(boolean

Re: Sending email from Server Side

2009-05-13 Thread jmpeace
you could use another thread so that the operation doesn't block your application, or maybe to implement retries. public static void sendMessage(final String smtpHost,final String fromAddress, final String fromName,final String to,final String subject,final String text){

Re: Sending email from Server Side

2009-05-13 Thread jmpeace
I missed one line: public static void sendMessage(final String smtpHost,final String fromAddress, final String fromName,final String to,final String subject,final String text){ Thread mailingThread = new Thread(){ public void run()

Is there a way so I can use ProjectRun AsRun on Server functionality while using the new GWT eclipse plugin?

2009-08-14 Thread jmpeace
I've been using Cypal Studio so far, as it provides this functionality. Is there a way to do that with the new plug in? How could I launch the project in web mode without compiling every time? I have this situation since the client side of my app is almost finished and I don't really need to

Re: Is there a way so I can use ProjectRun AsRun on Server functionality while using the new GWT eclipse plugin?

2009-09-09 Thread jmpeace
I deploy the war directory to a server inside eclipse? Thank you very much for your attention. joe On 17 ago, 11:09, Jason Parekh jasonpar...@gmail.com wrote: Hi jmpeace, Could you explain your use case a bit more (so in the future, we can better support it.) My understanding is you'd

Re: How to call a compiler in server side

2010-03-16 Thread jmpeace
check out beanshell, maybe it provides the functionality you are looking for. On Mar 15, 11:25 am, duclm duclm...@gmail.com wrote: I'm implement a application to compile code online, i must call a execute file(compiler) with the first parameter is name of source file, but i hear that we can't

Re: GWT list box onChange event not triggerd

2009-12-17 Thread jmpeace
Hi, I am having the same issue but only when I use the keyboard to change the ListBox selected Item. If mouse is used the event is triggered as expected. On 17 dic, 09:17, buminda bumi...@gmail.com wrote: Hello ,                 I have a list box included in one of the cell in the flex table