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 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 save file with

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" wrote: > Hello , > >                 I have a list box included in one of the cell in the flex > table . The list

Re: Is there a way so I can use "Project>Run As>Run on Server" functionality while using the new GWT eclipse plugin?

2009-09-11 Thread jmpeace
m/p/google-web-toolkit/issues/detail?id=3584&q=w > > Hope that helps! > jason > > > > On Wed, Sep 9, 2009 at 2:27 PM, jmpeace wrote: > > > Thanks for your answer Jason. > > > I was previously using cypal studio because it makes it easy for you >

Re: Is there a way so I can use "Project>Run As>Run on Server" functionality while using the new GWT eclipse plugin?

2009-09-09 Thread jmpeace
ion was, how could 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 wrote: > Hi jmpeace, > Could you explain your use case a bit more (so in the future, we can better > support it.) > > My unders

Is there a way so I can use "Project>Run As>Run 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 tr

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()

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: 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 r

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 Google-Web-Toolki

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 mess

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 wrote: > Hi, > Thanks again for the help. > > GWT.getModuleBaseURL() returnshtt

Re: auto expand till selected TreeItem in Tree

2008-11-19 Thread jmpeace
How about using something like this: TreeItem selected = tree.getSelectedItem(); TreeItem parent = selected.getParentItem(); while(parent!=null) { parent.setState(true,false);//don't fire events parent = parent.getParentItem(); } On Nov 18, 7:16 am, gregor <[EMAIL PROTECTED]> w

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, VALIDATE

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: HashMap availableFields = new HashMap(); availableFields.put("simpletext