Move the cursor (not the selection) in a CellTable from the code

2011-01-08 Thread Y2i
It is possible, by calling SingleSelectionModel.setSelected(...), to change the selection (blue line) in a CellTable from the code. Is it possible to change the cursor (yellow line) in the CellTable from the code? I tried DomEvent.fireNativeEvent(Document.get().createKeyCodeEvent(keydown,

Re: Question regarding Activites, Places, Dependeny Injection and complex layouts.

2011-01-08 Thread Max
+ 1 Frank, do you find out the answer finally? On 1月3日, 下午5时41分, Frank Bølviken frank.bolvi...@gmail.com wrote: Noone has anything to add on this subject? This should really be a basic structure of most apps.. so I really done buy the fact that noone else is trying to wrap their heads around

Re: Question regarding Activites, Places, Dependeny Injection and complex layouts.

2011-01-08 Thread Gal Dolber
Guit have built-in gin support. You should try it Best On Sat, Jan 8, 2011 at 6:11 AM, Max thebb...@gmail.com wrote: + 1 Frank, do you find out the answer finally? On 1月3日, 下午5时41分, Frank Bølviken frank.bolvi...@gmail.com wrote: Noone has anything to add on this subject? This should

Re: No API environment is registered for this thread when launching GWT devmode

2011-01-08 Thread frank
Is this a common problem or do you need more info? Thanks for your help -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: EntityProxy for an interface

2011-01-08 Thread John Maitland
David, Thank you for the reply. I already have a Locator and a ServiceLocator, but left it out of the above example for simplicity. After reading the source, all the entity proxies map to classes and not interfaces. Hence, if your AppUser class was defined as an interface and a implementation:

Re: are GWT 2.1.1 Activities expensive to create/instantiate ?

2011-01-08 Thread Thomas Broyer
You shouldn't instantiate activities at startup, and you shouldn't reuse an activity instance. The idea of GWT activities is that they are cheap to instantiate (contrary to views, because of DOM manipulations) so you instantiate one each time the ActivityManager is asked to provide it. Using

Re: is it possible to instantiate an object from its class type on demand ?

2011-01-08 Thread Thomas Broyer
...or you can have a map from the Class? to an instance of a factory for that type (or GIN Provider?); or in this case, directly map from ObjectA to the factory/provider instead of to the Class (so that you don't have to do 2 lookups: ObjectA to Class, then Class to factory) -- You received

Re: Best Design Pattern for widgets

2011-01-08 Thread Thomas Broyer
In addition to what others already said, you can use MVP *inside* your widget, so that you can easily unit-test your logic. Have a look at com.google.gwt.user.cellview.client.AbstractHasData (the base class for CellList and the like) which uses this pattern. -- You received this message

monetize GWT project

2011-01-08 Thread Ganesan
I plan to develop a persistence framework. The marketplace that I found are 1. http://www.gwtmarketplace.com 2. http://gwtgallery.appspot.com/. Neither seems to be concerned with monetizing. Is there any other marketplace. How else do I monetize? J.Ganesan -- You received this message because

AutoComplet

2011-01-08 Thread Selva
Hi , can any pls explain how to make a browser program to autocomplete -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: EntityProxy for an interface

2011-01-08 Thread David Chandler
Ah, thanks for the clarification. Your findings are correct: @ProxyFor is designed to specify an entity implementation only, not an interface. Ideally, it's just a POJO with getters and setters. However, Locator/ServiceLocator is designed to move data access methods out of entities into services.

Re: AutoComplet

2011-01-08 Thread David Chandler
http://gwt.google.com/samples/Showcase/Showcase.html#!CwSuggestBox On Sat, Jan 8, 2011 at 5:44 AM, Selva sselvacs...@gmail.com wrote: Hi , can any pls explain how to make a browser program to autocomplete -- You received this message because you are subscribed to the Google Groups Google

Re: monetize GWT project

2011-01-08 Thread Matthew Hill
Those are just directories of GWT applications. Assuming you're talking about selling your persistence framework, I don't understand, why can't you sell it yourself? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Re: monetize GWT project

2011-01-08 Thread Matthew Hill
Assuming you're talking about selling your persistence framework, I don't understand, why can't you sell it yourself? I doubt you're going to find a site specifically for selling GWT stuff. A site for selling libraries/frameworks of any nature is a remote possibility. -- You received this

I can't call a RPC in a FlexTable

2011-01-08 Thread Sebe
Hello there, I have this event in a FlexTable.. flextTable.addClickHandler(new ClickHandler(){ public void onClick(ClickEvent event) { int cellIndex = flexTable.getCellForEvent(event).getCellIndex(); int rowIndex =

questions or suggestions for MVP

2011-01-08 Thread Alex Luya
look at this interface first: package com.google.gwt.activity.shared; public interface Activity { ... void start(AcceptsOneWidget panel, EventBus eventBus); }

Re: Best Design Pattern for widgets

2011-01-08 Thread Sebastian Coronado A.
Composite is nice but my widget has like 5 widgets, it looks messy. @Thomas thanks I will take a look On 8 ene, 06:09, Thomas Broyer t.bro...@gmail.com wrote: In addition to what others already said, you can use MVP *inside* your widget, so that you can easily unit-test your logic. Have a

GWT + Charts

2011-01-08 Thread Ross McKinnon
Hi There, Im looking to insert some basic pie charts etc into my application based constructed using data from my MySQL database. Does anyone know some useful projects that offer this kind of feature... Your help will be appreciated! Thanks, Ross -- You received this message because you are

Re: questions or suggestions for MVP

2011-01-08 Thread Thomas Broyer
See https://groups.google.com/d/msg/google-web-toolkit-contributors/xH6XvfuQSSg/JscFhzfkLeAJ (the very last paragraph). In brief: if you have several areas to update, you should have an ActivityManager and a set of Activity-s per area (otherwise, you would actually just use places, without

Re: GWT + Charts

2011-01-08 Thread Subhrajyoti Moitra
http://code.google.com/p/gwt-google-apis/wiki/VisualizationGettingStarted if u are looking for GWT specific libs. Otherwise there are plenty of options like Jasper reports, BIRT to name a few which can generate pie charts for you. Also a simpler idea is to generate a pie chart image and show it.

Re: How to skip history token on place change? (Activies, Places and History management)

2011-01-08 Thread nacho
If you don't add MyPlace.Tokenizer.class to your AppPlaceHistoryMapper the activity will be fired but the history won't change -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: deploy GWT app with Tomcat istead GAE..

2011-01-08 Thread nacho
If you need I can give an example of an ant.xml that compiles your gwt code and then makes the war. So you can run the ant task and then upload the war file to your tomcat. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: I need your help error: An IncompatibleRemoteServiceException was thrown while processing this call

2011-01-08 Thread nacho
Try to recompile your gwt code. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: GWT + Charts

2011-01-08 Thread Dean S. Jones
I have a GWT binding to Raphael http://raphaeljs.com/ that can do some simple charting: http://grashizzle.appspot.com/ I also have a GWT binding to Highcharts http://www.highcharts.com/ That I'm working on finishing, though you would need to probably buy a highchart license to use highcharts

Re: I need your help error: An IncompatibleRemoteServiceException was thrown while processing this call

2011-01-08 Thread Sebastian Coronado A.
Clean your cache and recompile. regards On 8 ene, 12:52, nacho vela.igna...@gmail.com wrote: Try to recompile your gwt code. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: I can't call a RPC in a FlexTable

2011-01-08 Thread Sebastian Coronado A.
Can you post your error message, it should work... regards On 8 ene, 11:14, Sebe sebethebes...@hotmail.it wrote: Hello there, I have this event in a FlexTable.. flextTable.addClickHandler(new ClickHandler(){                         public void onClick(ClickEvent event) {                 int

Re: GWT + Charts

2011-01-08 Thread Ross McKinnon
Thanks for your help guys! Much appreciated! Ross -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to

NoClassDefFoundError:

2011-01-08 Thread pieceovcake
i get the following app engine error NoClassDefFoundError: com/google/gwt/maps/client/geocode/DirectionsCallback when executing the following code on the server String fromTo = from + to; Directions.load(fromTo, new DirectionsCallback() { public void

what is the best way to time application startup ?

2011-01-08 Thread zixzigma
what is the best way to time application startup ? from the time user issues the request, to the time its loaded ? or in hosted/development mode, timing how long the startup actually took ? Thank You -- You received this message because you are subscribed to the Google Groups Google Web

Re: NoClassDefFoundError:

2011-01-08 Thread pieceovcake
could i be getting this error because the code is executing on the server rather then the client? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from

Re: oadmap of gwt

2011-01-08 Thread Jim Douglas
This isn't a full road map, but it touches on some tentative future plans: http://groups.google.com/group/google-web-toolkit-contributors/browse_thread/thread/6b7fd3a735de952d/2208c5aadf460634 On Jan 7, 9:01 pm, dadada ytbr...@gmail.com wrote: Hi all, does anybody know where i can find the

Re: are GWT 2.1.1 Activities expensive to create/instantiate ?

2011-01-08 Thread zixzigma
On Jan 8, 3:01 am, Thomas Broyer t.bro...@gmail.com wrote: Using GIN, it means you'd @Inject Provider?s [ ] for your activities into your ActivityManager (so that an activity is instantiated each time you call the Provider's get() method), - do you mean injecting providers into

Re: what is the best way to time application startup ?

2011-01-08 Thread Thomas Broyer
Have a look at http://code.google.com/webtoolkit/doc/latest/DevGuideLightweightMetrics.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this

Re: what is the best way to time application startup ?

2011-01-08 Thread zixzigma
Thank You -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more

Re: Eclipse/GWT and Ubuntu One

2011-01-08 Thread David Sowerby
Seems more like an Eclipse question to me, perhaps their forums would be a better place to post this. I've never tried to do what you are doing (I use SVN from two locations, but with no problems). It sounds as though you have different Eclipse plugins at home and work. The only other thing I

Re: are GWT 2.1.1 Activities expensive to create/instantiate ?

2011-01-08 Thread Thomas Broyer
On Saturday, January 8, 2011 9:23:22 PM UTC+1, zixzigma wrote: On Jan 8, 3:01 am, Thomas Broyer t.br...@gmail.com wrote: Using GIN, it means you'd @Inject Provider?s [ ] for your activities into your ActivityManager (so that an activity is instantiated each time you call the

Re: Move the cursor (not the selection) in a CellTable from the code

2011-01-08 Thread Y2i
I changed the design, this is not an issue anymore... On Jan 8, 12:51 am, Y2i yur...@gmail.com wrote: It is possible, by calling SingleSelectionModel.setSelected(...), to change the selection (blue line) in a CellTable from the code. Is it possible to change the cursor (yellow line) in the

How to share widgets statically across gwt modules?

2011-01-08 Thread Inba
Hi All, I want to create map of widgets with some unique id, the widgets are scattered across gwt modules, and each gwt module entry point registers the widget with some unique id. Now, i need to show menu items where each menu item will load the widget from this map by passing the appropriate

Re: Can not run GWT from eclipse on 64-bit Windows 7

2011-01-08 Thread markM
Try JSF and you'll be doing this every day! On Jan 7, 3:34 pm, Nathaniel Auvil nathaniel.au...@gmail.com wrote: I have another GWT project which does work on this machine.  so i started looking anywhere i could think... .project .classpath etc so there were some differences in those

Re: are GWT 2.1.1 Activities expensive to create/instantiate ?

2011-01-08 Thread zixzigma
What's the point in implementing Provider yourself? is there a way to not implement the Provider myself ? through GIN's assisted inject ? The way you wrote it, yes (and it's therefore totally useless). you are correct, the way I wrote it, wouldnt defer instantiation of activities, so it is

is it a good idea to couple GWT MVP Places with their corresponding Activities ?

2011-01-08 Thread zixzigma
is it a good idea to couple GWT MVP Places with their corresponding activities ? class MyPlace extends Place { //map of activities for this place Activity getActivity(Context ctx) { return suitable activity; } } -- You received this message because you are subscribed to the Google

gwt incumbator column selection handler

2011-01-08 Thread Vik
Hie Like demo shows http://collectionofdemos.appspot.com/demo/com.google.gwt.gen2.demo.scrolltable.PagingScrollTableDemo/PagingScrollTableDemo.html http://collectionofdemos.appspot.com/demo/com.google.gwt.gen2.demo.scrolltable.PagingScrollTableDemo/PagingScrollTableDemo.htmlthe feature to update