Re: AsyncProxy and ActivityMapper

2012-01-09 Thread Jens
I simply do (note that I have a custom AbstractActivity class that contains a setPlace method to tell the activity which place to use): public class MainActivityMapper implements ActivityMapper { private ProviderAsyncActivityProxyMyActivity1 activity1; @Inject public

Re: AsyncProxy and ActivityMapper

2012-01-09 Thread kretel
Jens, Thanks for the code. Do you also bind the Provider for you Activity Mapper? Kris -- 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: AsyncProxy and ActivityMapper

2012-01-09 Thread Jens
No the code I have posted is all I have done. Provider and AsyncProvider (used by AsyncActivityProxy) are both used for providing concrete classes (e.g. AsyncActivityProxy, Activity1, etc.). If you dont specify a GIN rule, GIN will try to create an instance with GWT.create() which just works

Re: Problems with PlaceChangeRequestEvent.setWarning

2012-01-09 Thread R.K.P. Pisters
Just in case somebody else runs into this problem as well, let me, for completeness' sake, add that you do need to prevent the anchor's default action by calling event.preventDefault() in your Anchor.onClick(ClickEvent event) method. Otherwise IE will reload the entire app. -- You received this

Re: Problems with PlaceChangeRequestEvent.setWarning

2012-01-09 Thread Jens
Hehe yeah there is an issue for it on the issue tracker. I have used GWT's super source feature to replace GWT's Anchor with a fixed version that does call event.preventDefault() by default for javascript:; links (similar to what HyperLink does). That way you don't have to call it yourself in

Re: GWT Developer Plugin for Firefox 9

2012-01-09 Thread johnrellis
Cheers. On Dec 22 2011, 9:30 am, Alan Leung acle...@google.com wrote: I have both 32 and 64 bit linux compiled. http://www.mediafire.com/?5tak1zzo6a3yvn0 Still working on mac and windows. -Alan On Wed, Dec 21, 2011 at 10:51 AM, tdk kloe...@ics.de wrote: it looks like we can't

Re: Problems with PlaceChangeRequestEvent.setWarning

2012-01-09 Thread Thomas Broyer
Why the hell would you want to use an a href=javascript:; ?! If it's not a link, use a Label or InlineLabel instead (or a Button), and if it's a link, then give it a proper href=! (PlaceHistoryMapper comes in useful) -- You received this message because you are subscribed to the Google Groups

Re: Problems with PlaceChangeRequestEvent.setWarning

2012-01-09 Thread Jens
Why the hell would I want to use a Button and restyle it to an anchor if GWT already provides an Anchor class with the correct style and which has three constructors which state they can be used for scripted anchors (= using the default javascript:; href with the expectation of adding click

loading an image

2012-01-09 Thread tanteanni
i try to get an image displayed that is retrieved from an url. my first (false) attempt was not respecting the asynchronous behavior so it only worked in hosted mode: Image image = new Image(someURL); view.setImage(image); but this failed in real mode. so i googled around (besides wrong

Re: Abridged summary of google-web-toolkit@googlegroups.com - 26 Messages in 13 Topics

2012-01-09 Thread Marcus Bendtsen
On Mon, Jan 9, 2012 at 3:23 PM, google-web-toolkit@googlegroups.com wrote:   Today's Topic Summary Group: http://groups.google.com/group/google-web-toolkit/topics loading an image [1 Update] Problems with PlaceChangeRequestEvent.setWarning [4 Updates] GWT Developer Plugin for Firefox 9 [1

Re: GWT Developer Plugin for Firefox 9

2012-01-09 Thread Casper Bang
On Thursday, December 22, 2011 10:30:09 AM UTC+1, Alan Leung wrote: I have both 32 and 64 bit linux compiled. Thank you my good man! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

GWT CellTable getColumnWidth problem when inserting a Column object

2012-01-09 Thread Vibhas Zanpure
Hello, I am trying to implement dynamically resizable columns in GWT 2.4 CellTable. What I am trying to do here is that on the mousedown event, I get the X,Y co-ordinates where the mousedown event occured and also the Column in which it occured. Then I am trying to get the Column object using

CssResource obfuscation map

2012-01-09 Thread Davis
Hi. I have read in http://code.google.com/p/google-web-toolkit/wiki/CssResource#Debugging_and_testing, that it is possible to debug CssResource, by having access to obfuscation map via native javascript, but as it seems this feature was added (in revision: 8691) and reverted back in revision:

Re: GWT communication with REST

2012-01-09 Thread Travis Camechis
You should be able to use GWT RequestBuilder along with the GWT's JSON support. That is how I have done it in the past. On Sun, Jan 8, 2012 at 7:05 PM, sonyt...@gmail.com sonyt...@gmail.comwrote: Hi, I am very new to GWT. I am trying to learn how i can communicate using REST instead of RPC .

Re: loading an image

2012-01-09 Thread Derek
The loadhandler won't fire until the image is added to the DOM. So for example, you could put view.setImage(image) outside the loadhandler, and GWT.log(loaded!) inside the loadhandler, and then you should see loaded! in your dev console. But a loadhandler is not required for loading an image,

Re: Basic error with package organization

2012-01-09 Thread Diego Bigliani Solamito
humn... thanks! I'll try this at home. I keep you informed, regards -- =Diego On Sun, Jan 8, 2012 at 8:19 PM, Thomas Broyer t.bro...@gmail.com wrote: You have some client code (probably in trilhadosW.client or trilhadosW.shared) that references server code. Either break that dependency,

Re: Error - files not found

2012-01-09 Thread Diego Bigliani Solamito
Thanks Juan, I havent tried it yet. As soon as I tried I keep you informed, regards -- =Diego On Sun, Jan 8, 2012 at 10:09 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Hi, Is a common error, you don't have trilhadosW.server.Business.dadosMestres.TipoLocal sources in

Re: GWT Developer Plugin for Firefox 9

2012-01-09 Thread Samyem Tuladhar
Time for Firefox 10 now! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/28lyO132nfMJ. To post to this group, send email to

Re: GWT communication with REST

2012-01-09 Thread Raphael André Bauer
On Mon, Jan 9, 2012 at 1:05 AM, sonyt...@gmail.com sonyt...@gmail.com wrote: Hi, I am very new to GWT. I am trying to learn how i can communicate using REST instead of RPC . I am planning to use spring mvc as model view controller and REST API . Any body have any sample code or link please

Need advice about a simple PHP and GWT SSO approach.

2012-01-09 Thread Nano Elefant
Hello, I am in need of some advice about GWT authentication. Here's what I'm planning to do: 1. Embed a GWT application into a site served by a PHP CMS like Drupal, Joomla, Wordpress. 2. Let the CMS handle user registration and authentication. 3. After login, store the CMS Session ID in a

com.google.gwt.user.client.rpc.StatusCodeException: 12002 exception in IE8 (not Chrome or FF)

2012-01-09 Thread Ryan Groten
We have a GWT 2.4 app that makes regular (every 5 seconds) async rpc calls to request data from an httpd/tomcat web server. In Firefox and Chrome everything works as expected but in IE8 after a seemingly random amount of time the calls start to fail with one of two errors:

Re: Need advice about a simple PHP and GWT SSO approach.

2012-01-09 Thread Juan Pablo Gardella
Evaluate jossohttp://www.josso.org/confluence/display/JOSSO1/JOSSO+-+Java+Open+Single+Sign-On+Project+Hometo SSO too, it integrates with PHP. Juan El 9 de enero de 2012 12:58, Nano Elefant nanof...@gmail.com escribió: Hello, I am in need of some advice about GWT authentication. Here's what

Re: How to use doPost method in Formpanel submit button. How to map that servlet in web.xml.

2012-01-09 Thread Eric Metcalf
It's very well explained in the documentation for FormPanel. http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/FormPanel.html Where myFormHandler in form.setAction(/myFormHandler); is your url-pattern in web.xml. Declaring servlet url name and mapping is

Re: Need advice about a simple PHP and GWT SSO approach.

2012-01-09 Thread Nano Elefant
Hello Juan, thank you mentioning josso. I understand that josso would fit in, but i'm a little bit afraid that using josso would make the project more complicated than neccssary. At the end, the only thing i need to know at the servlet is the user id of the CMS user. The cms and the servlets use

SelectionCell not receiving focus when dispatching native click event

2012-01-09 Thread R.K.P. Pisters
Hi all, I'm trying to build a CellTable with editable text fields in such a way that when the user presses the enter key in such a text field, the focus is given to the cell in the next column. To this end, I have subclassed EditTextCell in MyEditTextCell and overridden the onBrowserEvent method

Efficient code splitting in a large application?

2012-01-09 Thread socratesJ
I'm attempting to implement code splitting with GIN in an Activities and Places context, using some of the ideas found here: http://code.google.com/p/google-web-toolkit/issues/detail?id=5129 Due to the size of my application, I have around 50 split points corresponding to discrete Activities

Re: How to use doPost method in Formpanel submit button. How to map that servlet in web.xml.

2012-01-09 Thread Pandy .k
i got an idea about how to use GWT Form Panel in Eclipse... At Same time, My Class Name is: User.Java inside of /src/sample/model/ My servlet name is : AddUserSerivesImpl inside of /src/sample/server/ My Main Class Name is : Sample.java inside of /src/sample/client/ from Sample.java class

Best VPN for Linux based GWT development

2012-01-09 Thread sachin sreenivasan
Hi, This might not really be a GWT related question. But I wanted to know which is the best VPN for a linux based environment. Have to do things like CVS, sharing the GWT app in hosted mode etc. Tried openvpn and hamachi. Not able to install those properly. So looking at other options. Please

ui:style example doesn't work

2012-01-09 Thread Thad
The Hello Stylish World example (http://code.google.com/webtoolkit/ doc/latest/DevGuideUiBinder.html#Hello_Stylish_World) shows that there can be more than one ui:style element, but when I try that with my .ui.xml file in Eclipse, I'm told that only one ui:style element is allowed. When I run GWT

Re: How to use doPost method in Formpanel submit button. How to map that servlet in web.xml.

2012-01-09 Thread Thad
You need the module name for your GWT app. For my module, MyModule, use url-pattern/mymodule/AddNewUser/url-pattern In my code, call form.setAction(GWT.getModuleBaseURL() + AddNewUser); If you are using UiBinder, you can put something like this in your ui.xml file ui:with field=gwt

GWT 2.4.0 - Run Validation Tool error

2012-01-09 Thread Daemon Zak
Hi Has anyone seen the below error java.lang.RuntimeException: The RequestFactory ValidationTool must be run for the com.abc.bbb.DashboardRequestFactory RequestFactory type INFO : org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 2967

GWT 2.4.0 - Run Validation Tool error

2012-01-09 Thread Daemon Zak
Hi Has anyone seen the below error java.lang.RuntimeException: The RequestFactory ValidationTool must be run for the com.abc.bbb.DashboardRequestFactory RequestFactory type INFO : org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 2967

Android GWT apk - Cache.html error

2012-01-09 Thread shrekjo
Hello All, I have created a gwt application with localstorage. It works very well on the desktop. When I tried converting this gwt application into android apk using gwt-phonegap , while running it on the android emulator, I get Application error .../assets/www/test/

Re: Best VPN for Linux based GWT development

2012-01-09 Thread Konstantin Zolotarev
I'm using openvpn + ubutnu server 11.04. Works great. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/sW19Ieg6okQJ. To post to this group, send

DataGrid Object not displaying more than 50 items...

2012-01-09 Thread Bill M
Hi All, I am trying to load the DataGrid with the results of a query. I have a DataProvider object connected to the DataGrid table, and I use a for loop to do a list.add() of a object I created dynamically that represents a row of data in the table. However, it seems the table does not store