Re: TabPanel and Lazy load

2011-02-05 Thread András Csányi
On 4 February 2011 23:37, Greg Dougherty dougherty.greg...@mayo.edu wrote: I just looked at it and it seems like it's all still valid (you might want to see if you're willing to use TabLayoutPanels, rather than TabPanels, since the later are deprecated). What is it that you think doesn't

Re: Gin, SingleInstanceProvider?

2011-02-05 Thread Gal Dolber
Maybe this will clarify what I was looking for: http://codereview.appspot.com/4128063/ I implemented the SingleProvider, here is the test(FooBar isn't a singleton): public void testProviderInGinjector() { ProviderFooBar fooProvider = injector.getFooBarProvider();

Re: CellList with ListDataProvider does not get redrawn on data change

2011-02-05 Thread Peter Ondruška
Same also with code based on AsyncDataProvider. Does anybody have a working example of updating CellTable from within callback? -- 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: Next GWT Designer release

2011-02-05 Thread Eric Clayberg
We have spent a lot of time working on that and will continue to do so. Most of the time is spent in starting up the GWT dev mode environment that is used to create and render the widgets. We are exploring a number different strategies (caching and so on). In the past, we always used a customized,

CellTable with all rows and columns being of same Type: eg. Thumbnail Grid View

2011-02-05 Thread zixzigma
Hello Everyone, Let me start with a concrete example: Thumbnail Grid view ! we have custom cells (images + text), layed out in X column and Y rows. with CellTable, when we are Displaying List of Items for example Contacts, each Row represents a Contact, and each Column represents a Property of

Re: Gin, SingleInstanceProvider?

2011-02-05 Thread PhilBeaudoin
Here is a simple way to do what you want: public class LazyT { @Inject ProviderT provider; private T instance; public T get( ) { if (instance == null) { instance = provider.get(); } return instance; } } public class Main { @Inject LazyThing thingA; @Inject LazyThing

Re: GWT with Hibernate and Oracle

2011-02-05 Thread Debashish
Hi Néstor, Thank you for the response regarding the Hibernate with GWT. However I have followed the similar approach given in the below link http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html which suggets to use DTO approach to map the hibernate domain object to

Re: GWT with Hibernate and Oracle

2011-02-05 Thread Néstor Boscán
Hi I checked the link that you sent and this is will work of course but you will have to create a lot of DTO objects for your application and map the POJO objects from Hibernate to the DTO which will require a lot of coding. The example should work, your DTOs should be serialized, Now what I

Re: CellTable with all rows and columns being of same Type: eg. Thumbnail Grid View

2011-02-05 Thread John LaBanca
I think you want to use CellList and set float:left on each cell. That will cause it to layout in a grid, where each xy pair is a single row item, like in most thumbnail galleries. Thanks, John LaBanca jlaba...@google.com On Sat, Feb 5, 2011 at 12:51 PM, zixzigma zixzi...@gmail.com wrote:

Re: nothing visible in IE8 while it all looks good in FF and Chrome

2011-02-05 Thread Jeff Larsen
have you set the doctype of the HTML page to standards mode? -- 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-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Re: nothing visible in IE8 while it all looks good in FF and Chrome

2011-02-05 Thread Jeff Larsen
http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#Standards Oops forgot to include the link. Here ya go. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Is it possible to convert ImageResource to ImageElement?

2011-02-05 Thread Jambi
Hi there, I´m playing around with the new Canvas API in GWT 2.2. Great stuff! And I want to use a ClientBundle to get my Images for the Canvas, to use it as some kind of image preloader. But the ClientBundle is giving me ImageResource objects but I need ImageElement objects for the Canvas. This

Re: Is it possible to convert ImageResource to ImageElement?

2011-02-05 Thread Jeff Larsen
Have you tried Image img = new Image(ClientBundle.getImageResource()); ImageElement.as(img.getElement()); Haven't tested this, but it is worth a try. -- 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: Is it possible to convert ImageResource to ImageElement?

2011-02-05 Thread Jambi
Thank you for your quick response. At first I thougth it was going to work, but the Image does not appear on the canvas. I tried this (as you said): Image map = new Image(mapResources.map()); contextMap.drawImage(ImageElement.as(map.getElement()), x, y); On Feb 6, 2:47 am, Jeff Larsen

RPC stubbing

2011-02-05 Thread srepmas
Hi All, i'm wondering if there is a way of a clean way of stubbing an RPC implementation: Given this setup: 1) A project with GWT production code and a RPC implementation. 2) A Concrete Server Test implementation in a separate project. Is there a way of doing so? How to use this in eclipse?

SSH + RMI in GWT

2011-02-05 Thread Jim
I'm working on an application using GWT 2 that needs to ssh to a remote server, retrive a directory listing and show the contents of any zip files. Then allow the user to pick a file and load the contents into a database. I'm trying to use a combination of SSH and RMI to do this. I'm

Help with Google Plugin For Eclipse setup

2011-02-05 Thread Jarrell
Hello, I'm not sure if this is the place to post this...apologies, if there is another venue... I just downloaded and reinstalled Eclipse 3.6 and the Google Plugin for Eclipse (http://marketplace.eclipse.org/content/google-plugin- eclipse) I keep getting two errors, I. Error1: when trying to

send post message a PHP solved

2011-02-05 Thread Gerardo Sanchez
this is a class example how to receive $_POST params in PHP, in this case, just one param, but is extensible using json objects this is a usage example: RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, ../ test.php); RequestFormData.PrepareRequestFormData(builder, jsonData,

Re: How to Display a Loading message when transitioning between Activities and Places ?

2011-02-05 Thread Gerardo Sanchez
I solved this way: 1) i hard code a DIV (id=wait_glass1) in my html, and set this style for it: style=position: absolute; visibility:visible; top: 0px; left: 0px; width: 100%; height: 100%; background-color:#00; filter: Alpha(Opacity=50); opacity: 0.5;. 2) hardcode a second DIV

[gwt-contrib] Introduces SkipInterfaceValidation annotation. (issue1338807)

2011-02-05 Thread t . broyer
Reviewers: bobv, rjrjr, Message: I initially thought about skipping validation of the ProxyFor/ProxyForName/Service/ServiceName if the class is annotated (i.e. don't poison the RFIV, or fail in the RequestFactoryGenerator, if the ProxyFor/etc. annotation is absent), and allowing the annotation