How to change "gwt.imageResource.maxBundleSize" ?

2013-10-31 Thread Jens
Its a system property. You have to use java -D -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To p

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread zhenliang . low
I'm sorry I'm pretty lousy in this so I could really understand what you meant. How I check if the call back is failing is by running a web application and by clicking the button I would hence try to call the server side, in which it should reply or return the value of my latest database entry.

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread Ahmet Dakoglu
Inspect the caught and look into the errorMessage in it. *public void onFailure(Throwable caught) { Hi.setText("You fail!"); } ​*​ * * * Ahmet DAKOĞLU* On Thu, Oct 31, 2013 at 10:27 AM, wrote: > I'm sorry I'm pretty lousy in this so I could really understand what you > meant. > > How I che

Re: Detecting Proxy Update via EntityProxyChange event

2013-10-31 Thread Jens K . Schødt
I agree. I get an UPDATE just by getting new proxies. We do not now if the version has changed so why is it an UPDATE...? That should be a FETCH operation IMO the event is not really useful without this distinction. Regards, J On Sunday, January 29, 2012 1:29:14 PM UTC+1, Arash wrote: > > I am

Re: How to change "gwt.imageResource.maxBundleSize" ?

2013-10-31 Thread Thomas Wrobel
Sorry, can you spell it out for me? I assumed it was set the same way "enable Inlining" was. I have and that works just fine. So where/how do I set this "" property? ~~~ Thomas & Bertines online review show: http://randomreviewshow.com/index.html Try it! You might even feel ambivalent about it

Re: How to change "gwt.imageResource.maxBundleSize" ?

2013-10-31 Thread Thomas Wrobel
Someone else suggested to me its probably used as a flag somewhere I tried "gwt.imageResource.maxBundleSize=1000" in the GWT Additional Compile Arguments. (using eclipse>>gwt compile) But I am clearly formatting it wrongly. (or its still the wrong place) Is there an example of this anywhere? Or a

Re: How to change "gwt.imageResource.maxBundleSize" ?

2013-10-31 Thread Jens
You have to configure a system property using a JVM parameter not a GWT compiler parameter. The JVM parameter should be "-Dgwt.imageResource.maxBundleSize=1000". -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from

Re: How to change "gwt.imageResource.maxBundleSize" ?

2013-10-31 Thread Thomas Wrobel
Thanks, that seems to have done the trick. It took me awhile to spot it had to go in "VM Arguments" dialogue box, rather then "Compiler Arguments" dialogue box. May I ask why this compile option goes here, rather then in the xml where the rest of the options seem to go? ~~~ Thomas & Bertines onli

Re: Under GWT Architecture, Should we validate InputData at Client Side or Server Side?

2013-10-31 Thread Ed
I use my validators both in the frontend and backend, works like a charm. Like others already mentioned: the server must never trust any data from the client. As such: validate at least in the server, and as extra service, for better UX, also in the client. -- You received this message because

Re: How to change "gwt.imageResource.maxBundleSize" ?

2013-10-31 Thread Jens
> May I ask why this compile option goes here, rather then in the xml where > the rest of the options seem to go? > Probably because this class also has a main() method and thus can be executed directly without any GWT context. -- J. -- You received this message because you are subscribed

Re: GWT - Send a message from the server to the client?

2013-10-31 Thread Joshua Godi
Do you have any examples that you have done? Been having a hard time trying to just use the event bus portion. On Tuesday, October 29, 2013 2:16:01 PM UTC-5, Andrea Boscolo wrote: > > I'd use http://errai.github.io/ and its bus. > > On Monday, October 28, 2013 10:01:27 PM UTC+1, Joshua Godi wrote

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread zhenliang . low
I'm not sure about this but i get wad you meant. Technically there is not error in this,it is just that everytime i run my gwt application, When my button is being clicked, no results is returned from the server side On Thursday, October 31, 2013 4:55:28 PM UTC+8, Ahmet Dakoglu wrote: > > Inspec

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread Jens
You would probably already know whats the reason if you would just print out the exception like you do on the server. Change public void onFailure(Throwable caught) { Hi.setText("You fail!"); } to public void onFailure(Throwable caught) { *caught.printStackTrace();* Hi.setText("You fail!

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread zhenliang . low
I got this error message on the consolue but i totally do not understand what is it talking about > > > Error 404 NOT_FOUND > > > > HTTP ERROR: 404NOT_FOUND > > RequestURI=/com.mycompany.project.Alternate/MySQLConnection >> href="http://jetty.mortbay.org/";>Powered by >> Jetty://

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread Jens
GWT tries to send its request to /com.mycompany.project.Alternate/MySQLConnection but your servlet isn't deployed at that location. Check your servlet configuration in your web.xml file. Maybe you should also read: http://www.gwtproject.org/doc/latest/DevGuideServerCommunication.html#DevGui

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread zhenliang . low
This was my previous xml file in the system. I read the website you have given me, I tried to copy and paste the website you have given me and edit accordingly but the results is the module would not load, hence i re-edited with a new line but the module would not load either, it give

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread zhenliang . low
As for i read the website for URL-pattern it is based of If i have a "module" what does "module"meant by? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread Jens
> > > > > > path="/MySQLConnection"/> > You don't need that tag anymore if you use GWT 1.6 or above. If you use an earlier version of GWT then you can probably stop reading now as I have no clue how things work for these versions (I started with GWT 2.0). I read the website you have gi

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread zhenliang . low
Oh! I'm sorry for the misunderstanding of which xml file to edit. I'm using GWT 2.5.1 thus I've to edit the web xml file instead. However i have placed the stuff which is copied from the website and I assumed it is placed in between the portion but it still does generate some errors. com.goog