Announcing a new episode of EasyGWT Podcast is available

2012-10-11 Thread gpike
EasyGWT Podcast Episode 05http://www.easygwt.com/easygwt-podcast-episode-05/ * * *In this episode we talk about:* - GWT 2.5 Release Candidate 2 is Releasedhttp://code.google.com/p/google-web-toolkit/downloads/list - Pro Account 2.0 Embraces Vaadin 7 and

Announcing Screencast on how to setup Gin for IOC

2012-10-05 Thread gpike
Hi everyone just wanted to let you know I released a screencast on using Gin in your GWT application to control the lifecycle of your objects. Gin extends the features of Guice for use in your client code. It can be beneficial in writing more componentized code, that is easier to test and or

Easy GWT Podcast Episode 04 has been released.

2012-10-04 Thread gpike
*Easy GWT Podcast Episode 04 has been released.http://www.easygwt.com/easygwt-podcast-episode-04/http://www.easygwt.com/easygwt-episode-02/We are pleased to announce the fourth episode of Easy GWT Podcast where we bring you the GWT news from around the net. If you develop with Google Web

Re: Help in JSNI callback in javascript object

2012-10-02 Thread gpike
If you want the callbacks to call into your Java methods one way to do that is to assign those methods to a globally accessible Javascript variable. Then you can register those as callbacks to your on_event calls. The example I'm showing is static but you may be able to use instance methods.

Re: GWT podcasts?

2012-09-25 Thread gpike
I forgot they are both available on iTunes too. On Friday, September 21, 2012 6:02:41 PM UTC-6, gpike wrote: When I saw your question I wondered the same thing. I had looked before and didn't find much So I started 2 of my own. The first http://www.easygwt.com/ is a podcast I do with Jeff

Re: GWTRuby? How to communicate?

2012-09-25 Thread gpike
I agree with tc. In your rails controllers set your respond_to blocks to render json then you can use RequestBuilder to make your rest calls. You can then create jsni methods that eval the json and return Javascript Overlay object that you can use in your app. During development you may want

Re: How get iFrame contents with different domains ?

2012-09-25 Thread gpike
Hi, You can't directly in GWT it honors cross site scripting you can however drop down to Javascript. Write a JSNI method that accesses the containing docs parent (your app) by accessing top, then in your code you can access the iFrame and then it's document. Something like this: public

Re: How get iFrame contents with different domains ?

2012-09-25 Thread gpike
On Friday, September 21, 2012 2:28:25 AM UTC-6, Coco Gwt wrote: Hi, i have created an iFrame in my project that calls an external service (for example whatismyip.com) that returns my public IP. the problem is i cant get iFrame content, because there is a completly different domains.

Re: How get iFrame contents with different domains ?

2012-09-25 Thread gpike
. Thanks, Gordon Pike gwtcasts.com easygwt.com On Tuesday, September 25, 2012 10:26:53 AM UTC-6, gpike wrote: Hi, You can't directly in GWT it honors cross site scripting you can however drop down to Javascript. Write a JSNI method that accesses the containing docs parent (your app

Re: Logging in GWT

2012-09-23 Thread gpike
I use the built in GWT logging. It works for us, and we can use the remote logging so that info can be included in the server log in production. Your classes use java logging classes. Add the import and configure the loggers you want in the module file something similar to: inherits

Re: GWT podcasts?

2012-09-21 Thread gpike
When I saw your question I wondered the same thing. I had looked before and didn't find much So I started 2 of my own. The first http://www.easygwt.com/ is a podcast I do with Jeff Maslo and we bring GWT related news items to you each week (or we strive for weekly). The second is

Re: GWT podcasts?

2012-09-21 Thread gpike
On Friday, September 21, 2012 6:02:41 PM UTC-6, gpike wrote: When I saw your question I wondered the same thing. I had looked before and didn't find much So I started 2 of my own. The first http://www.easygwt.com/ is a podcast I do with Jeff Maslo and we bring GWT related news items

Re: preview in case of iframe

2012-07-02 Thread gpike
The document inside you iFrame is a completely separate document and can be from a different domain as well so won't get any events just like you don't get events from other browser tabs. However you could communicate across the boundary by defining your own api's. What I mean is you can add

Re: I want to do POC with gwt-spring-hibernate

2011-09-09 Thread gpike
There is an example app at: http://code.google.com/p/gwtrpc-spring/ you could look at. Thanks, Gordon -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: pass variable from JavaScript to GWT

2011-05-12 Thread gpike
If I understand your question correctly, you want to use a value that has been populated by JavaScript then it should be as simple as: public final native String getValue() /*-{ return $wnd.a; }-*/; but if you are wanting to pass the value to the JavaScript then it would be like: public

Re: GWT RPC + Spring (saga)

2009-07-15 Thread gpike
Hi, You can use the Spring listener in the web.xml: listener listener-class org.springframework.web.context.ContextLoaderListener /listener-class /listener Then in any of your Servlets you can use the context:

Re: Browser (IE) hangs when launched a GWT application in a child window

2009-06-05 Thread gpike
Hi Maddy, We had the same issue. What we found was if the window was closed while an rpc request was outstanding a port was blocked so subsequent calls would fail. To fix it we had to track and abort any rpc requests in a IWindowCloseListener. Gordon http://devbright.com On Jun 5, 12:52 pm,

Re: GWT and Hibernate XML files vs Annotations

2009-05-20 Thread gpike
Rafael, You could use annotations to describe the mappings but if not use the following. Since you are using Spring you can use their Hibernate support to look for mapping files in a particular directory. This way you don't have to call them out in the hibernate file. Lookup

Re: Failed to import and run gwtrpc-spring example with Google plugin

2009-05-19 Thread gpike
Sorry I missed this thread before. Yes it was compiled for 1.6. I should have targeted 1.5 and will in the next release since there is no dependency on 1.6. It probably would be safe for 1.4 but I use Annotations so haven't needed it. Thanks, Gordon Pike http://devbright.com On May 19, 11:19 

Re: Bar code scanner

2009-05-06 Thread gpike
Hi Hez, It's been my experience that most if not all scanners come with either a hardware or software keyboard wedge. If it doesn't you may want to look at the problem differently. Provide a software keyboard wedge, what this will do is receive the input from RS-232 or USB and emulate keyboard

Announce: Simple GWT and Spring integration

2009-05-05 Thread gpike
If your looking for a clean simple way to allow your RPC services to hosted in Spring or have existing Spring services that you would like to access as RPC services then take a look at http://code.google.com/p/gwtrpc-spring/. GwtRpc-Spring provides a RemoteServiceDispatcher that takes rpc

Re: GWT and Spring annotation

2009-05-05 Thread gpike
Can you provide more information? Are you including one project in the other by including a jar etc..? What annotations are you using? (@Component, @Service etc..) Regards Gordon On May 2, 11:06 am, greg gregory.le.bonn...@gmail.com wrote: Hi, I have a problem with GWT and Spring