GAE Prospective Search in GWT

2011-12-14 Thread George Agiasoglou
Is there a tutorial on how to use GAE Prospective Search with GWT? Thanks, G -- "Please consider the environment before printing this e-mail" The Newspaper Marketing Agency: Opening Up Newspapers: http://www.nmauk.co.uk/ This e-mail and any attachments are confidential, may be legally privi

Re: Form factor support using GIN

2011-12-06 Thread George Agiasoglou
Hi there, I am trying to follow your example but I get multiple double-bound: key errors for instance Double-bound: Key[type=MyActivity, annotation=[none]]. ActivityGinModule.configure(ActivityGinModule.java:9),ActivityGinModule.configure(ActivityGinModule.java:9) I've copied my SharedGinMod

Re: getOffsetHeight returns 0 although onload has been called

2011-11-30 Thread George Agiasoglou
Absolutely brilliant, the deferred command worked like a charm. Many thanks to all of you! -G -- "Please consider the environment before printing this e-mail" The Newspaper Marketing Agency: Opening Up Newspapers: http://www.nmauk.co.uk/ This e-mail and any attachments are confidential, may

Re: getOffsetHeight returns 0 although onload has been called

2011-11-30 Thread George Agiasoglou
Unfortunately, I need the width and height of the area because I append that information on a url. I will try the deferred command and let you know. Many thanks, G -- "Please consider the environment before printing this e-mail" The Newspaper Marketing Agency: Opening Up Newspapers: http:/

Re: getOffsetHeight returns 0 although onload has been called

2011-11-30 Thread George Agiasoglou
The problem is that I call getOffsetHeight/Width on a panel which belongs to a widget which has display property set to none. The display property is set to none because that widget is not currently displayed by the decklayoutpanel but it is attached to it, which is the desired behaviour. I a

Re: getOffsetHeight returns 0 although onload has been called

2011-11-30 Thread George Agiasoglou
t @Vitrums I am convinced that my problem is caused because the property display is set to none, however I don't know how to solve it. I could add an AnimationCallback on the decklayoutPanel to find out when the widget is finally being displayed, but that kinda defeats the use of Activity.st

Re: getOffsetHeight returns 0 although onload has been called

2011-11-30 Thread George Agiasoglou
Thank you for your suggestions, however, the display property is not set to none, actually is not set at all. Thanks, G -- "Please consider the environment before printing this e-mail" The Newspaper Marketing Agency: Opening Up Newspapers: http://www.nmauk.co.uk/ This e-mail and any attach

getOffsetHeight returns 0 although onload has been called

2011-11-29 Thread George Agiasoglou
Hi group, Consider an application which has a *DeckLayoutPanel* as a shell, and has two DockLayoutPanel as children, which means only one child is shown at any time. I am using MVP with Activities and Places, there are two places and each place corresponds to displaying a child. When the app

Problem Injecting Javascript

2011-11-08 Thread George Agiasoglou
Hi there, Is it possible to inject something like this and expect it to work? google.load('visualization', '1', {'packages': ['table', 'corechart']});google.setOnLoadCallback(drawVisualization); function drawVisualization() {var wrap = new google.visualization.ChartWrapper({'chartType':'LineC

Re: Highcharts - updating chart with data

2011-11-07 Thread George Agiasoglou
Yes indeed, I have a problem because the ui is agnostic of the library that is going to use to generate the chart. For instance, this is the script tag published from a google spreadsheet: {"dataSourceUrl":"//resourceurl","options":{"r everseCategories":false,"titleX":"Date","backgroundColor":"

Re: Highcharts - updating chart with data

2011-11-07 Thread George Agiasoglou
Thank you for your suggestion, but this is not what I need. Let me give you an example, I have data and graphs in google spreadsheets and I publish them as interactive or as images. Publishing the charts as images is simple, I just create a gwt Image and pass in a url. My problem is when publi

Re: Highcharts - updating chart with data

2011-11-07 Thread George Agiasoglou
Hi Rob, I am aware of the wrappers for a number of charting libraries for gwt, however, I would like my app to remain decoupled of them and not to integrate any libraries to it, because the charts will be provided by another mechanism. So what I would like to be doing is via JSNI embed a div

Re: Highcharts - updating chart with data

2011-11-04 Thread George Agiasoglou
Hi there, I am interested in using Highcharts in my app, how do you use the above code? I tried to use your code but it complains that it cannot find 'Chart' Thanks, G -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discus

Re: Multiple view for HasData (CellTable, CellList)

2011-10-19 Thread George Agiasoglou
Have you managed to create the thumbnailView and if yes, where you able to use all arrows keys to shift cell focus? Thanks, G -- 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.googl

Re: JSNI - interactive chart

2011-10-18 Thread George Agiasoglou
Hi Tomasz, and thanks again for your guidance. I had partial success but only after a made few changes. Running the above code throws an exception com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot read property 'document' of null which is probably related to what you mentio

Re: JSNI - interactive chart

2011-10-14 Thread George Agiasoglou
Hi Tomasz, Many thanks for your sample code. The only thing missing is inherit Json in your application module Although it compiles and runs the iframe comes out empty. I stepped through the code in debug mode and the element created is shown below: http://ajax.googleapis.com/ajax/static/m

Re: Animation when switching activities impossible?

2011-10-13 Thread George Agiasoglou
Alternatively, you can use a DeckLayoutPanel -G -- 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/-/yRQF1e7-cugJ. To post to this group, send email

JSNI - interactive chart

2011-10-13 Thread George Agiasoglou
Hi there, I have a chart which lives in a google spreadsheet and has been published as an interactive chart. Is it possible to render the following chart in an HTML element for instance in GWT, without any sort of parsing or processing? http://ajax.googleapis.com/ajax/static/modules/gviz/1.0/

CellList navigation

2011-10-05 Thread George Agiasoglou
Hi there, I have a cell list with custom styling so it displays horizontally and if cells don't fit they fall down to the next line, effectively its looks like a 2row x 4cell table. However, I need to be able to navigate to cells using all arrows not just up and down. Alternatively, I was thi

Re: I need suggestions for compositeCell selection

2011-10-04 Thread George Agiasoglou
MultiselectionModel means that more than one item on your cellList can be selected. Is this what you want? I have tackled a similar problem, meaning that my compsiteCell consists of a couple of other cells and each is performing its own action when clicked. Have a look at http://gwt.google.co

RPC design question

2011-08-18 Thread George Agiasoglou
Hi there, I have to run an rpc call before any other rpc call. So far I have managed to centralize Rpc to handle showing loading widgets. What is your suggestion? Thanks, George -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view

Re: GWT : Best practice to send huge amount of data from server to client

2011-08-09 Thread George Agiasoglou
Have a look at AsyncDataProvider + SimplePager. -George -- 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/-/d2h6B2Ei-MYJ. To post to this group, se

Re: Minimizing CellTable height inside center area of DockLayoutPanel

2011-07-28 Thread George Agiasoglou
Trying adding the celltable to a scrollpanel/simplepanel and then add the scrollpanel to the docklayout panel. -- 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/goog

Re: CellTable with SimplePager displaying GAE datastore data in async

2011-07-08 Thread George Agiasoglou
Ioan it works fine, thank you! -George -- 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/-/UtFKujFHj4kJ. To post to this group, send email to googl

Re: CellTable with SimplePager displaying GAE datastore data in async

2011-07-08 Thread George Agiasoglou
Hi Ioan, thank you for your reply. Indeed I use objectify and to be honest I have not used the offset ever, however, when I was looking what's the best feature to use I stamped upon this thread https://groups.google.com/d/topic/objectify-appengine/tkC103e2ILQ/discussion and so I have only use

CellTable with SimplePager displaying GAE datastore data in async

2011-07-07 Thread George Agiasoglou
Hi there, I have a celltable which displays data from GAE datastore using an AsyncDataProvider. Everything works fine up to the last page. So if pageSize is 10 and the results are 35, doing 1-10, 11-20, 21-30 and back works fine. In order to do this I store cursors so that I can continue from

Re: Add progress bar while dataprovider is loading

2011-07-07 Thread George Agiasoglou
There is not really a lot to it, actually the celltable does come with a loading indicator already, you should be able to see it whenever the range changes. Make sure on the range change implementation of your AsyncDataProvider to call these two methods updateRowCount(); updateRowData();