An error occurred while attempting to contact the server Linux Deployment

2012-04-07 Thread Vikram Kohli
Hi All, I have deployed a simple test application(sample code generated in GWT project) in a Linux(Ubantu 10.4). When ever I enter the name and click on the Send button, I am getting error in the popup. Server replies: An error occurred while attempting to contact the server. Please check your

Re: how to call javascript file from my onmodule class

2012-04-07 Thread 黄东辉
This issue that you can use rpc to invoke your onModuleLoad function. 2012/4/7 junaid juna...@gmail.com I am trying to call my Javascript method from my java in GWT below is what i am doing public void onModuleLoad() { jsniAlert(test) }

GWT Ajax crawling : ?_escaped_fragment_=subpage | subpage is ignored

2012-04-07 Thread Paul van Hoven
I successfully made my gwt app crawlable following the official Google guide at https://developers.google.com/webmasters/ajax-crawling/ Now, I got a startpage that is invoked with the historytoken #! Startpage and I got a contact form that is invoked by #!Contact. Here is my on module load

Re: GWT Ajax crawling : ?_escaped_fragment_=subpage | subpage is ignored

2012-04-07 Thread Paul van Hoven
An edit: I also checked that in the servlet filter the url http://localhost:8080/?_escaped_fragment_=Contact gets transformed into http://localhost:8080/#!Contact and that htmlunit is invoked with this url. On Apr 7, 12:05 pm, Paul van Hoven paul.van.ho...@googlemail.com wrote: I

Client/Server communication. GWT-RPC ? GIlead ? Dozer ? RequestFactory ?

2012-04-07 Thread fabio
I'm just about to start a major web app project (rewriting the main product or a sofware vendor) . In the past I've been a project manager or a developer in some small GWT projects. I think GWT is a good choice for business app with a lot of tabular data and information. But still I have

Re: Client/Server communication. GWT-RPC ? GIlead ? Dozer ? RequestFactory ?

2012-04-07 Thread Joseph Lust
fabio, While mechanisms like *Objectify* exist to pass the same entity to the UI from Hibernate, I have found that DTO objects are still the most robust solution. Obviously you don't want to send the secret Hibernate goodness to the UI, you don't want LazyLoading exceptions, and chances are

Re: Client/Server communication. GWT-RPC ? GIlead ? Dozer ? RequestFactory ?

2012-04-07 Thread Sanjiv Jivan
Hi fabio, I've shared my thoughts on this subject here : http://www.jroller.com/sjivan/entry/solving_the_dto_dilemma Sanjiv On Sat, Apr 7, 2012 at 7:44 AM, fabio njo...@gmail.com wrote: I'm just about to start a major web app project (rewriting the main product or a sofware vendor) . In the

Re: Dev Mode results in 'spinning wheel' delays on Mac

2012-04-07 Thread Rob
On Saturday, April 7, 2012 12:52:14 AM UTC-4, Shawn wrote: Do other people experience this problem when using Dev mode? No. I think you people are both seeing it swap from lack of memory. What do you have in your dev mode VM args? I have -Xss16M -Xmx1G Mine was -Xmx420M, so I will

Re: Client/Server communication. GWT-RPC ? GIlead ? Dozer ? RequestFactory ?

2012-04-07 Thread Jeff Schnitzer
Just to clarify: Objectify isn't a serialization framework. It's a persistence API - Hibernate for the GAE datastore makes me cringe but it gives you the right idea. Using Objectify you still have to decide whether to use your entity domain objects or DTOs for the GWT-RPC boundaries. I tend to

Re: chrome - prompting me to install gwt plugin but already installed

2012-04-07 Thread Jeff Schnitzer
I am also completely unable to run developer mode in Chrome on OSX. I have the plugin installed, the toolbox in the omnibar is red, it says The host at 127.0.0.1 is allowed to use the plugin... seems like everything should work, but it just prompts me over and over to install the plugin. Chrome

Re: GWT Dev plug-in for Firefox 11

2012-04-07 Thread Jeff Schnitzer
On Sun, Mar 18, 2012 at 4:11 AM, Alan Leung acle...@google.com wrote: http://acleung.com/gwt-dev-plugin-mac.xpi For the mac 32/64 FF11 users. I have installed this on FF 11.0 but every time try to use it I get Sorry, the GWT Developer Plugin only supports Firefox 3.0 - 10.0 at present. Am I

Re: GWT Dev plug-in for Firefox 11

2012-04-07 Thread Jeff Schnitzer
On Sat, Apr 7, 2012 at 7:06 PM, Jeff Schnitzer j...@infohazard.org wrote: On Sun, Mar 18, 2012 at 4:11 AM, Alan Leung acle...@google.com wrote: http://acleung.com/gwt-dev-plugin-mac.xpi For the mac 32/64 FF11 users. I have installed this on FF 11.0 but every time try to use it I get Sorry,

Re: DatePicker next/prev month events

2012-04-07 Thread Nikola Markovic
I'm not sure I understand you. Create a class inside a com.google.gwt.user.datepicker.client package, which is provided in the GWT library as gwt-user.jar? I don't think I know how to. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: DatePicker next/prev month events

2012-04-07 Thread Andy Stevko
Yes, create a class in your own project src tree with the Google package name to access default scoped methods. On Apr 7, 2012 4:23 PM, Nikola Markovic dev.mercur...@gmail.com wrote: I'm not sure I understand you. Create a class inside a com.google.gwt.user.datepicker.client package, which is

Re: chrome - prompting me to install gwt plugin but already installed

2012-04-07 Thread Jens
Safari no longer works and Chrome no longer works... You can still use Safari 5.0.5 and possibly 5.0.6 (see: https://groups.google.com/d/msg/google-web-toolkit/uIJ5VqmxO_s/WwHQK0YtaFMJ and http://support.apple.com/kb/DL1422). I have both Safari versions installed side by side in Lion and

issues in running gwt app on ie 8

2012-04-07 Thread Vik
Hie On running our site http://www.sakshum.org in ie 8 i see following error and thus gwt components does not render Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; chromeframe/18.0.1025.151; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729;

Re: Client/Server communication. GWT-RPC ? GIlead ? Dozer ? RequestFactory ?

2012-04-07 Thread Daniel Mauricio Patino León
RF awkward ? I dont think so, finally the rpc aproach with dto's and other stuff are sent to the client side in some like JSON (GWT Serialization), RequestFactory uses JSON to pass from server to the client and it just works well. In my opinion (i did two projects with the DTO thing) the

[gwt-contrib] Checkstyle for tests

2012-04-07 Thread Grzegorz Kossakowski
Hi, Is it intentional that tests are not checked by checkstyle? Does it mean that code in tests doesn't need to follow GWT style guide? -- Grzegorz Kossakowski -- http://groups.google.com/group/Google-Web-Toolkit-Contributors