Re: DTO feed to Suggest Oracles

2008-08-25 Thread eggsy84
Hi all For those interested I have worked out how to do this. I have provided a quick tutorial on my blog at: http://eggsylife.blogspot.com/2008/08/gwt-suggestbox-backed-by-dto-model.html Regards, On Aug 21, 12:00 pm, eggsy84 [EMAIL PROTECTED] wrote: Hi all, In the following post: http

Re: Server / Client Communication Flipped

2008-09-05 Thread eggsy84
The AMQ idea looks like an interesting one I wonder if anyone has implemented this through GWT. On Sep 5, 6:07 am, elliot [EMAIL PROTECTED] wrote: their impl is rather like the one thomas described, using a comet-like open cnxn coupled with a timeout. ' To avoid the load vs latency

Re: Annoucement. PureMVC4GWT RC is available

2008-09-17 Thread eggsy84
Hi there I have never encountered PureMVC but have been developing using GWT for around 10 months now. We have come up with various methods of attempting to implement the MVC approach through GWT none of which we have been that happy with to be honest. I'll read up on PureMVC and how it works

GWT and JSONP

2008-09-24 Thread eggsy84
Hi all I am currently writing a small GWT app with the aim that it can be used on various domains. I have followed the following two very good guides: http://code.google.com/support/bin/answer.py?answer=65632topic=11368 and http://www.gwtsite.com/how-to-access-web-services-with-gwt/ Taking

JSONP Server Side - Dan Morrill Article

2008-10-06 Thread eggsy84
Hi all, Taking the informative article by Dan Morrill at GWT Link: http://code.google.com/support/bin/answer.py?answer=65632topic=11368 It explains how to code for Server side mashups so that you can perform cross site JSONP calls. In the article he uses the handle method (Shown below) to

Re: JSONP Server Side - Dan Morrill Article

2008-10-07 Thread eggsy84
) {       [EMAIL PROTECTED]::handleJSONResponse(Lcom/ google/gwt/core/client/JavaScriptObject;)(someData);     }   }-*/; without the (Lcom/google/gwt/core/client/JavaScriptObject;)(someData) part it won't pick up the returned data //Adam On 7 Okt, 10:14, eggsy84 [EMAIL PROTECTED] wrote

GWT, JSONP, J2EE and I need to pee

2008-10-10 Thread eggsy84
Hi all (Just put in I need to pee cos it rhymed?!?) Just a quick note to say I have written a brief tutorial on GWT with JSONP inside a J2EE container. That aims to help people understand how this all works. Its basically built upon Dan Morrills article. The tutorial can be viewed at:

Re: RPC or JSON

2008-10-17 Thread eggsy84
Hi there I'm with Isaac on this one! I have written both GWT RPC callbacks and JSON types of communication. We use purely java so I have had experience with both in a Java container. If your application will only reside on your server so no Cross Site Scripting issues I'd really go with GWT

JSONP, GWT and Stateful Sessions

2008-10-21 Thread eggsy84
Has anyone noticed that when performing JSONP calls (with GWT and possibly without) that between calls it loses session state? I have wrote a small app that aims to maintain state but each call is under different session (Proven by checking the session id) Has anyone come across this? Any ideas

Re: JSONP, GWT and Stateful Sessions

2008-10-21 Thread eggsy84
to use $wnd[callback] and compile your GWT code with the -xs linker for Cross Site Compilation the code continues to work and you can use stateful sessions. Eggsy On Oct 21, 12:28 pm, eggsy84 [EMAIL PROTECTED] wrote: Has anyone noticed that when performing JSONP calls (with GWT and possibly

Re: JSONP, GWT and Stateful Sessions

2008-10-21 Thread eggsy84
Possibly call out to the GWT team to update this article as I know a lot of people refer to it for JSONP and GWT advice/tutorial. ? On Oct 21, 11:13 pm, eggsy84 [EMAIL PROTECTED] wrote: Hi all Just as a bit of feedback on this. I was experiencing this problem after having read Dan Morills

Re: Calling a web service which uses JSON?

2008-10-22 Thread eggsy84
If the server is on a different location you can however use JSONP to perform the request. I have wrote a quick tutorial on this in a J2EE container but the client side code will still be the same: http://eggsylife.blogspot.com/2008/10/gwt-and-cross-site-jsonp-in-j2ee.html This is taken from a

Re: Calling a web service which uses JSON?

2008-10-23 Thread eggsy84
wonder if our comments helped?!! On Oct 22, 2:42 pm, eggsy84 [EMAIL PROTECTED] wrote: If the server is on a different location you can however use JSONP to perform the request. I have wrote a quick tutorial on this in a J2EE container but the client side code will still be the same: http

Re: RPC fails under Tomcat

2008-10-24 Thread eggsy84
This sounds like one of two problems. Your tomcat mapping may be incorrect as it cannot find the url mapping for the RemoteServiceServlet you are calling. Can you show us your gwt.xml file and the area of the Tomcat context that maps the URL? Also you say its working in hosted mode? When

Re: rpc with external servlet

2008-10-28 Thread eggsy84
If you are connecting to a server under a different context then JSONP is possibly the way to go. See: http://code.google.com/support/bin/answer.py?answer=65632topic=11368 and http://eggsylife.blogspot.com/2008/10/gwt-and-cross-site-jsonp-in-j2ee.html for a few tutorials. eggsy On Oct 27,

Re: Clearing Browser cache for upadated deployments

2008-10-31 Thread eggsy84
Hi imran, We have experienced the same problems as you describe in which the user has to shift reload their browser! As our app is a J2EE app with JSP's we aim to try and solve this with the JSP no Cache directives? eggsy On Oct 31, 12:15 pm, walden [EMAIL PROTECTED] wrote: This is how it

Re: Clearing Browser cache for upadated deployments

2008-11-02 Thread eggsy84
Hi matthew, Thats a very good approach I like that. Also it doesn't mean the user has to change the URL they visit and everything for them will just work! The developers know the difference. Good approach! On Nov 1, 5:47 am, mat [EMAIL PROTECTED] wrote: Hi, What I usually do is append a

Re: state of hibernate + GWT 1.5

2008-11-06 Thread eggsy84
Hi David, We have been working GWT and Hibernate in most web apps we do. In the past we have simply wrote our own DTO to Persistent copying code (Your option 3) but a lot of people have recommended hibernate4GWT to take the pain out of doing this. This was complicated at the time and we had to

Re: state of hibernate + GWT 1.5

2008-11-06 Thread eggsy84
Of course the old persistent set problem! I remember that now and why we had to do DTO's. Good point Arthur! So did you have common domain objects for each persistent class? And had to convert the objects copying the properties over using something like BeanUtils or another way? On Nov 6,

Re: GWT-Ext Instant Messenger Attempt

2008-11-17 Thread eggsy84
I've never done any GWT-Ext programming but as its a build upon GWT. To perform the items at runtime surely you can simply do: button.addClickListener(new ClickListener() { public void onClick(Widget sender) { String message = myTextField.getText(); // Do something?

Re: how to work with xs-linker in gwt

2008-11-18 Thread eggsy84
Hi there To compile the application for Cross site you simply add add-linker name=xs / to your gwt.xml file. In GWT 1.5 this now doesn't create xs-nocache.js it simply creates the javascript as normal but it will be the xs version. (Took me a while to realise this as well) I had to do the

Re: how to work with xs-linker in gwt

2008-11-18 Thread eggsy84
:25 am, eggsy84 [EMAIL PROTECTED] wrote: Hi there To compile the application for Cross site you simply add add-linker name=xs / to your gwt.xml file. In GWT 1.5 this now doesn't create xs-nocache.js it simply creates the javascript as normal but it will be the xs version. (Took me a while

Re: how to work with xs-linker in gwt

2008-11-19 Thread eggsy84
. Regards Manish - Original Message - From: eggsy84 [EMAIL PROTECTED] To: Google Web Toolkit Google-Web-Toolkit@googlegroups.com Sent: Tuesday, November 18, 2008 3:09 PM Subject: Re: how to work with xs-linker in gwt Also I don't think (at the time of writing) that GWT hosted mode

Re: how to work with xs-linker in gwt

2008-11-19 Thread eggsy84
required directory and included nocache.js to html stuffs then i am calling a native function defined in GWT component.This does not make a call to respective function. Please correct me if  i am wrong in my approach. Regards, Manish - Original Message - From: eggsy84 [EMAIL

Re: Queries in designing web application using gwt, spring hibernate

2008-11-25 Thread eggsy84
Hi Amol I have wrote a quick tutorial on integrating the 3 technologies It doesn't address Hibernate4GWT or Security but it does highlight the integration of the three technologies and one way it can be achieved: Part One -

Re: JDBC/MySQL Driver error

2008-12-02 Thread eggsy84
Hi there Do you load an external JAR using Eclipse? If so try copying the JAR into your lib directory add add it to your buildpath there so that it is within your project. This is what I have done with the PostgreSQL project and had no problems? Eggsy On Dec 1, 10:30 pm, [EMAIL PROTECTED]

Re: Queries in designing web application using gwt, spring hibernate

2008-12-02 Thread eggsy84
, eggsy84 [EMAIL PROTECTED] wrote: Hi Amol I have wrote a quick tutorial on integrating the 3 technologies It doesn't address Hibernate4GWT or Security but it does highlight the integration of the three technologies and one way it can be achieved: Part One -http://eggsylife.blogspot.com

Re: How to integrate Hibernate and GWT

2008-12-03 Thread eggsy84
Hi there, Try searching the group there have been many posts discussing Hibernate and GWT and how to implement them together. Eggsy On Dec 3, 10:13 am, Dessorry [EMAIL PROTECTED] wrote: Hi, I'm trying to build my first GWT application; i would read data from a database and display it on a

Re: Problem in dateformat

2008-12-23 Thread eggsy84
Hi there If it is client side formatting this document should be useful: http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/i18n/client/DateTimeFormat.html Eggsy On Dec 23, 10:17 am, javaz visiona...@gmail.com wrote: Hello , Can any one please tell me how to change the

Re: Tutorial for web application using GWT,Spring,hibernate

2009-01-08 Thread eggsy84
There's also some further stages of the blog : Part Four - Deployment Setup http://eggsylife.blogspot.com/2008/09/hibernate-spring-google-web-toolkit.html Part Five - Summary of changes required for making it GWT 1.5 http://eggsylife.blogspot.com/2008/11/hibernate-spring-and-gwt-for-gwt-15.html

Re: JDBC postrges under gwt

2009-01-09 Thread eggsy84
Hi there, Can you post your error for the class not found? Eggsy On Jan 8, 8:04 pm, Aka ray reinhardklap...@hotmail.com wrote: Hello everybody. Im new in using gwt. Almost everything is working but when I compile my project to run it on an external Browser, I get a ClassnotFoundException

Re: how to image.setUrl to (public/images/2341.gif);

2009-01-16 Thread eggsy84
Use the GWT Image object in your client side code: http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/Image.html com.google.gwt.user.client.ui.Image img = new Image(images/ myImage.jpg); or img.setUrl(images/myImage.jpg); As long as the image is within

Re: GWT + SPRING + HIBERNTE

2009-01-18 Thread eggsy84
This has been asked quite a lot and its worth searching the group. I have wrote a 'from the ground up' tutorial on integrating the three technologies. see my post at:

Re: Integrating GWT+Spring application with Hibernate

2009-02-13 Thread eggsy84
Hi there, My Set of tutorials may help you do this: Part Two: http://eggsylife.blogspot.com/2007/11/hibernate-spring-google-web-toolkit.html Part Three: http://eggsylife.blogspot.com/2008/02/hibernate-spring-google-web-toolkit.html Part Four:

Re: Integrating GWT+Spring application with Hibernate

2009-02-16 Thread eggsy84
On Fri, Feb 13, 2009 at 5:07 AM, eggsy84 jimbob...@hotmail.com wrote: Hi there, My Set of tutorials may help you do this: Part Two:http://eggsylife.blogspot.com/2007/11/hibernate-spring-google-web-too... Part Three:http://eggsylife.blogspot.com/2008/02/hibernate-spring-google-web

JSONP with Authentication

2009-03-20 Thread eggsy84
Hi all, Just writing for a bit of advice. I'm writing a GWT widget that can be deployed anywhere as well as mobiles and it needs to communicate with my server side code and as such the requests are sent using JSONP to avoid any cross site problems. As its using JSONP in such a way I can't

GWT Wots4Dina Opera Widget

2009-05-05 Thread eggsy84
Hi all, A quick message to let people know about a new GWT application I have developed called Wots4Dina. It has been entered into a competiiton with betavine.net The application is an Opera widget that users can run on the desktop as well as mobile phones and allows people to search for

Ordering of rendering

2009-06-02 Thread eggsy84
Hi all, Using the GWT EntryPoint is there anyway to make sure that the entry point isn't invoked until the rest of the document is loaded? I have made a widget that can be shown on various pages and sometimes due to one thing or another the widget fails to render but when this happens it stalls

Re: newbie help

2010-03-14 Thread eggsy84
Rjcarr is right in that you probably don't need a specific hyperlink object unless you need history support. In terms of events and wanting something to happen when your element has clicked GWT uses the notion of ClickHandlers: API:

DevMode stopped working on Linux x64 since 2.0.3

2010-04-01 Thread eggsy84
Hi all Has anyone noticed that GWT has stopped working in DevMode since GWT 2.0.3? I have previously managed to get debugging working: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/6221c9778df17380 But after updating to the latest version of GWT I am no longer hitting

Re: Single Origin Policy ByPass With IE8

2010-04-06 Thread eggsy84
Also if you have to resort to using JSONP GWT 2.0 has a new JsonpRequestBuilder that wraps up any JSONP request nicely: http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html This superceeds the article on GWT Site. On Apr 5, 11:50 pm,

Re: Single Origin Policy ByPass With IE8

2010-04-06 Thread eggsy84
I'm not too sure I haven't tested it with https but looking at it you simply specify a URL so surely it will work ;) Eggsy On Apr 6, 3:11 pm, Abdullah Shaikh abdullah.shaik...@gmail.com wrote: Does that mean that I can even call https using JSONP ? - Abdullah On Tue, Apr 6, 2010 at 1:47

Re: Json cross-domain examle (JS error on IE 8.0 - Object doesn't support this action)

2010-04-20 Thread eggsy84
Hi there, GWT 2.0 now has methods for encapsulating this and the page you mention has been updated to include them I have mentioned this on another post at: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/a9374e15a5ec6046 I am also going to make a blog post on how to

Re: Json cross-domain examle (JS error on IE 8.0 - Object doesn't support this action)

2010-04-20 Thread eggsy84
 am, nasionalem sakarya.me...@gmail.com wrote: Hi Eggsy84, The document which you add in your other post is same tutoriol which I work on. Actually I didnt understand exactly what you mean. Could you please tell me how can I fix this error. Because I didnt find it in the tutorial. When

Re: DevMode stopped working on Linux x64 since 2.0.3

2010-04-22 Thread eggsy84
DevMode does debug successfully. So if you comment out the linker whilst you are debugging and remember to uncomment the linker for deployment - everything should be hunky dory! Eggsy On Apr 1, 12:49 pm, eggsy84 jimbob...@hotmail.com wrote: Hi all Has anyone noticed that GWT has stopped

Re: Json cross-domain examle (JS error on IE 8.0 - Object doesn't support this action)

2010-04-22 Thread eggsy84
Hi there, I have now made a blog post on using the JsonpRequestBuilder please see: http://eggsylife.co.uk/2010/04/22/gwt-2-jsonp-and-javascript-overlays-with-jsonprequestbuilder/ On Apr 21, 10:11 am, nasionalem sakarya.me...@gmail.com wrote: I am also looking JsonpRequestBuilder class which

Re: Cross site requests documentation

2010-04-22 Thread eggsy84
Hi all, I have made a quick blog post on making use of the new JsonpRequestBuilder object and object overlays. Please see: http://eggsylife.co.uk/2010/04/22/gwt-2-jsonp-and-javascript-overlays-with-jsonprequestbuilder/ On Mar 18, 10:31 am, eggsy84 jimbob...@hotmail.com wrote: Hi GWT Team, I

Re: JsonpRequestBuilder Timeout - GWT 2.0

2010-07-01 Thread eggsy84
Yeah you need to make sure you wrap your response with the callback parameter that the JsonpRequestBuilder makes use of. If you look at the response you receive from the Yahoo! Web service you see that it is wrapped in a callback parameter you need to make sure you code does that as well. Eggsy

Re: gson module problem

2010-07-06 Thread eggsy84
Hi all, With the latest versions of GWT you don't have to use any other libraries. GWT now comes with something known as Javascript Overlays that you can utilise to convert JSON into Objects. See here: http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsOverlay.html Also I have

Re: JSON Problem

2010-07-06 Thread eggsy84
Hi all, (As mentioned on the following post: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/b7c280baf2375841# ) With the latest versions of GWT you don't have to use any other libraries. GWT now comes with something known as Javascript Overlays that you can utilise to

Asynchronous Loading of Compiled Script

2010-08-20 Thread eggsy84
Hi all, Not posted for a while so hello again! I have written a small piece of GWT code that people can to their website and it performs a few JSONP requests and the like. It functions in a similar way as that of the Google Analytics code in terms of a small piece of code anyone can add to their

Re: Asynchronous Loading of Compiled Script

2010-08-20 Thread eggsy84
. (This is relatively new they didn't use to) Can anyone explain to me how this works and how one could achieve the same effect with a compiled GWT piece of Javascript? Many thanks all in advance, Eggsy On Aug 20, 10:38 am, eggsy84 jimbob...@hotmail.com wrote: Hi all, Not posted for a while so

Re: Asynchronous Loading of Compiled Script

2010-08-20 Thread eggsy84
. I can tell users to put the script as the last element before the closing 'body' tag however is there a way from GWT to know when the DOM has been fully loaded? On Aug 20, 10:43 am, eggsy84 jimbob...@hotmail.com wrote: Sorry didn't mean to post please see full message below: Hi all

Re: SuggestBox and DTO

2010-01-04 Thread eggsy84
Hi there, I made a blog post some time ago on this subject. It may be able to help you: http://eggsylife.co.uk/2008/08/25/gwt-suggestbox-backed-by-dto-model/ Eggsy On Jan 3, 9:02 pm, ale aleee...@gmail.com wrote: Hi, I would like to add object to a suggest box, and when selected I would

GWT REST and XML

2010-02-15 Thread eggsy84
Hi all, It has been a while since I have done any GWT development (since 1.5 release!!) so please let me know if I have missed anything. I currently have an application that exposes RESTful URLs for the various actions. In previous versions to communicate with the URL's I would have to use

Re: GWT REST and XML

2010-02-15 Thread eggsy84
on annotations and deferred binding. I wrote it as I have several GWT clients talking to RESTful applications with XML representations. Let me know if this is somewhat useful for you. Cheers Harald On 15 Feb., 12:09, eggsy84 jimbob...@hotmail.com wrote: Hi all, It has been a while

Re: GWT REST and XML

2010-02-15 Thread eggsy84
Hi Iqbal, Thank you for your reply I shall read over your blog So I assume using RequestBuilder will avoid any SOP issues? On Feb 15, 1:57 pm, Iqbal Yusuf Dipu iqbalyusufd...@gmail.com wrote: A) To communicate with RESTful resources you could use com.google.gwt.http.client.RequestBuilder

The declared package does not match the expected package client

2010-02-16 Thread eggsy84
Hi all, I'm sorry for reposting this issue but after looking through all the previous posts on this subject none of the suggested fixes have helped me. First of all a bit of background on my dev environment. I have an existing web application (using Spring MVC) and I am trying to introduce a

Re: The declared package does not match the expected package client

2010-02-16 Thread eggsy84
Hi Thomas, That was exactly what it was! Thank you for showing me the wood through all the trees! On Feb 16, 3:55 pm, Thomas Broyer t.bro...@gmail.com wrote: On Feb 16, 12:32 pm, eggsy84 jimbob...@hotmail.com wrote: Hi all, I'm sorry for reposting this issue but after looking

Re: GWT REST and XML

2010-02-16 Thread eggsy84
Hi Duong, It looks like the JSONPRequestBuilder is in the official release: http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html This looks like a perfect solution for what I am attempting to do! Thank you On Feb 16, 3:58 pm, Duong

Re: GWT REST and XML

2010-02-16 Thread eggsy84
Hi Thomas, Thank you as well as I see the JSONP stuff is in the package you linked to. On Feb 16, 3:58 pm, Duong BaTien duong.bat...@gmail.com wrote: Hi Iqbal: Have you look at JsonpRequestBuilder? I have not, but will when it is in the official release. Objectify now has @Embedded, it may

Re: How to use in GWT 2.0 hosted mode with my own server(Jboss)

2010-02-17 Thread eggsy84
Hi there, I have posted quite a large question on my particular setup in which I was aiming to use my own Tomcat server. The details of my setup might help you. http://groups.google.com/group/google-web-toolkit/browse_thread/thread/6221c9778df17380 Eggsy On Feb 17, 10:12 am, Gregy

Re: Cross domain RPC

2010-02-22 Thread eggsy84
Hi Ramesh, Making this sort of request can only be done via JSONP GWT 2.0 introduces the JSONPRequestBuilder object for such a case. http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/index.html?overview-summary.html Dan Morill of Google has also wrote an article on this:

GWT setCookie on IE

2010-03-02 Thread eggsy84
Hi all, I'm looking for a bit of technical advice on IE 8 in use with GWT After reading RFC 2109 http://www.w3.org/Protocols/rfc2109/rfc2109 (section 6.3) it seems to say that cookies can be a maximum of 4kB in size. When using Google Web toolkit to set a cookie if the value is larger than this

GWT 2.0 Tutorial

2009-11-02 Thread eggsy84
Hi all, After downloading GWT 2.0 RC2 I thought I'd compile a couple of tutorials on using GWT 2.0. So far I have done project creation and declarative interfaces. I'd appreciate any comments people may want to share: http://eggsylife.co.uk/category/gwt/ Many thanks, eggsy

Re: GWT 2.0 Tutorial

2009-11-02 Thread eggsy84
Hi there, I think one of the major advantages are that it can vastly increase development time. If you have had to work on large projects you can find it might take a lot longer to code a view. Previous developers that have used JSP's/ Spring MVC/Struts frameworks have all seemed to say that

Re: GWT 2.0 Tutorial

2009-11-02 Thread eggsy84
Hi there, No I meant traditional web applications which tended to use JSP's with various other frameworks such as Spring or Struts. The frameworks would usually be without Ajax requests so new request new URL and if Ajax was to be introduced they would be with a Javascript framework such as

Re: Development Mode Firefox 64bit Linux Issue

2009-12-11 Thread eggsy84
Hi all, I found that if (using Firefox) I went directly to the link rather than clicking the 'Install' options on the page the 'Add on' installed correctly. Specifically I right clicked the link and checked what href it contained then went directly there and the plugin installed ok. I'm sorry I

Asynchronous script inclusion - Like Google Analytics

2010-12-01 Thread eggsy84
Hi all, Can anyone explain to me why you cannot include Google web toolkit scripts Asynchronously like Google Analytics: http://googlecode.blogspot.com/2009/12/google-analytics-launches-asynchronous.html I ask because my GWT code is ultimately going to be used on a variety of websites (using

Re: Asynchronous script inclusion - Like Google Analytics

2010-12-02 Thread eggsy84
PM, eggsy84 wrote: Hi all, Can anyone explain to me why you cannot include Google web toolkit scripts Asynchronously like Google Analytics: http://googlecode.blogspot.com/2009/12/google-analytics-launches-asyn... I ask because my GWT code is ultimately going to be used on a variety