Re: Creating my own UiBinder panel

2011-09-09 Thread John LaBanca
Guide<http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html>is a good resource, and there are a bunch of UiBinder examples in GWT samples. John LaBanca | GWT Software Engineer | jlaba...@google.com On Fri, Sep 9, 2011 at 1:42 AM, Aviad Ben Dov wrote: > Hello! > >

Re: CellTable custom footer

2011-08-15 Thread John LaBanca
extract values and do some math. John LaBanca | GWT Software Engineer | jlaba...@google.com On Mon, Aug 15, 2011 at 2:30 PM, Mark Wengranowski wrote: > Thanks John! > > Do you have an example of how i would total all of the cells in a > particular column and set the footer (Hea

Re: CellTable custom footer

2011-08-15 Thread John LaBanca
/1499808/ John LaBanca | GWT Software Engineer | jlaba...@google.com On Mon, Aug 15, 2011 at 12:10 PM, Mark Wengranowski wrote: > Anyone? > > On Aug 9, 1:05 pm, Mark Wengranowski wrote: > > Hi Everyone, > > > > I'm trying to add a footer to my CellTable and a

Re: GWT CELLTABLE How to restore old value in EditableTextCell?

2011-08-01 Thread John LaBanca
value (successful commit). If it fails, you have to revert the value manually by clearing the ViewData, which contains the pending value. The key in this case is the key associated with the value you are editing. If you do not specify a KeyProvider, the key is the value itself. John LaBanca

Re: Cell Table Data Handling & Performance

2011-07-26 Thread John LaBanca
taProvider to link your data store to the range change events that CellTable fires when it requests new data. John LaBanca | GWT Software Engineer | jlaba...@google.com On Tue, Jul 26, 2011 at 1:58 AM, BST wrote: > > Where does the datastore actually exist? > > -- > You rece

Re: Cell Table Data Handling & Performance

2011-07-25 Thread John LaBanca
On Mon, Jul 25, 2011 at 1:22 PM, BST wrote: > > Many Thanks for the input. > > The scenario is that I am not displaying more than 100 rows per page. And > the pager works through 3 pages. > > Yes the Data load is on Demand, as when the user presses the next button > for the 4th page I am getting

Re: Cell Table Data Handling & Performance

2011-07-25 Thread John LaBanca
On Mon, Jul 25, 2011 at 6:49 AM, BST wrote: > Hi, > > I have successfully managed to use a Cell table & an abstract pager to > fetch the new set of data from an RPC and display them on the cell > table. Many thanks to the developer discussions and Developer Guide. > > But I do have a few concerns

Re: Need Scroll bars in ScrollPanel/cell table

2011-06-09 Thread John LaBanca
GWT 2.4 will introduce DataGrid, which is a CellTable with a scrollable content area. If you build GWT from trunk, you can try it out. Thanks, John LaBanca jlaba...@google.com On Thu, Jun 9, 2011 at 9:14 AM, Darpan Kamboj wrote: > > I need to scroll bars to cell table but as I gone t

Re: Huge data slowing down Celltable

2011-06-07 Thread John LaBanca
ax startup time, then switch to 500 to reduce the load on the sever. Thanks, John LaBanca jlaba...@google.com On Tue, Jun 7, 2011 at 9:51 AM, Juan Pablo Gardella < gardellajuanpa...@gmail.com> wrote: > Wow ! how many rows!!! In IE is very slow. Very rarely requirement, is > better t

Re: Performance Differences IE 8 Vs FF 3.x

2011-06-02 Thread John LaBanca
Are you are putting 4,000 items in a ListBox? Thats a lot of data to show on the client. Even scrolling becomes difficult at that point. Alternatively, can you use a CellList with paging to break up the items into smaller chunks? Thanks, John LaBanca jlaba...@google.com On Thu, Jun 2, 2011

Re: misiing appengine-web.xml

2011-05-27 Thread John LaBanca
I think he means DynaTableRf. He had some questions that were beyond my GPE foo, so I requested that he ask here. Thanks, John LaBanca jlaba...@google.com On Fri, May 27, 2011 at 4:12 PM, David Chandler wrote: > DynaTable isn't an App Engine app. Why are you trying to deploy i

Re: GWT CellList Drag and Drop

2011-05-27 Thread John LaBanca
m the CellList on the right into the form Thanks, John LaBanca jlaba...@google.com On Fri, May 27, 2011 at 9:47 AM, Julien Dramaix wrote: > You can use the drag-and-drop plugins of gqtquery to enbale drag and > drop on any CellWidget. > > Example : > http://gwtquery-plugins.goog

Re: GWT

2011-05-26 Thread John LaBanca
1. You have to install the google plugin for eclipse: http://code.google.com/eclipse/ 2. Right click on the DynaTableRf project and select properties 3. Expand "Google" 4. Choose App Engine->Enable App-Engine Try running in dev mode or deploying again. Thanks, John

Re: can't get Audio to replay.

2011-05-25 Thread John LaBanca
d not be seekable. My only lead was that the HTTP headers contained "cache-control: private", which might cause the browser to not cache the file, and thus make it unseekable. I think you can work around this using Filters with appengine, but I haven't tried it. Thanks, John LaBanca

Re: cell table with empty rows

2011-05-19 Thread John LaBanca
CellTable#setEmptyTableWidget() was added in GWT 2.3: http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/cellview/client/CellTable.html#setEmptyTableWidget(com.google.gwt.user.client.ui.Widget) Thanks, John LaBanca jlaba...@google.com On Thu, May 19, 2011 at 2:11 PM

Re: CellTable Dynatable SimplePager last Button

2011-04-12 Thread John LaBanca
The >> is a fast forward button that defaults to 1000 rows. Use the overloaded SimplePager constructor to specify that you want to use a last page button instead of a fast forward button. Thanks, John LaBanca jlaba...@google.com On Tue, Apr 12, 2011 at 11:41 AM, Metronome &

Re: CellTable.getRowData

2011-04-11 Thread John LaBanca
CellTable#getVisibleItem(indexOnPage); The names are different because setRowData(startIndex) takes an absolute start index, whereas getVisibleItem(indexOnPage) takes an index relative to page start. Thanks, John LaBanca jlaba...@google.com On Mon, Apr 11, 2011 at 11:47 AM, Stefan wrote

Re: "mouseover" is fired twice within the scope of the same cell

2011-04-09 Thread John LaBanca
was moused over. For example, you may reveal some text when mousing over an icon, but not when mousing over other parts of the cell. Thanks, John LaBanca jlaba...@google.com On Sat, Apr 9, 2011 at 7:20 AM, Javier wrote: > The cell is composed of different HTML elements (div, span, label, &g

Re: Cell widgets selection and EventTranslators

2011-04-08 Thread John LaBanca
It appears that you are correct. Can you create an issue to track this? Thanks, John LaBanca jlaba...@google.com On Fri, Apr 8, 2011 at 7:57 AM, Javier wrote: > I want to select a cell on mouse down event instead of click. This is > how selection works in windows explorer (among other

Re: Gears or HTML5 for offline database?

2011-04-07 Thread John LaBanca
org/wiki/Indexed_Database_API> Thanks, John LaBanca jlaba...@google.com On Thu, Apr 7, 2011 at 5:02 PM, David E. wrote: > So, I guess the question remains. > > If your looking for a local SQL database to use with GWT, what are the > recommendations going forward? > > Are there p

Re: Gears or HTML5 for offline database?

2011-04-07 Thread John LaBanca
http://msdn.microsoft.com/en-us/library/cc197062(VS.85).aspx <http://msdn.microsoft.com/en-us/library/cc197062(VS.85).aspx> Thanks, John LaBanca jlaba...@google.com On Thu, Apr 7, 2011 at 3:18 PM, Jeff Larsen wrote: > Storage works on IE8? Interesting... I'll have to look into it

Re: Gears or HTML5 for offline database?

2011-04-07 Thread John LaBanca
The Storage API (key/value pairs) from gwt-mobile-webkit was merged into GWT 2.3. The "Database" API (SQL API) was not, but hopefully the Storage API will be sufficient for local storage. Thanks, John LaBanca jlaba...@google.com On Thu, Apr 7, 2011 at 3:08 PM, David E. wrote: >

Re: Gears or HTML5 for offline database?

2011-04-07 Thread John LaBanca
storage beats Gears hands down. No plugin to install, and natively supported on all modern browsers (Firefox 3.5+, Safari/Chrome4+, IE8+). If you go the Gears route, you'll be rewriting in another year. Thanks, John LaBanca jlaba...@google.com On Thu, Apr 7, 2011 at 2:58 PM, David E. wr

Re: CellTable onRedrawComplete()???

2011-04-04 Thread John LaBanca
You can use CellTable#addLoadingStateChangeHandler() to receive events when the table finishes loading. Thanks, John LaBanca jlaba...@google.com On Mon, Apr 4, 2011 at 3:52 PM, affablebloke wrote: > It looks like redraw() function within the CellTable class schedules a > render/draw c

Re: image.getWidth() does not work in GWT. Any workarounds?

2011-03-24 Thread John LaBanca
Make sure you add the load handler before attached to the root panel. If the image is cached, IE will fire the load event synchronously, before your handler is attached. Thanks, John LaBanca jlaba...@google.com On Thu, Mar 24, 2011 at 7:54 PM, Brandon Donnelson wrote: > That works perf

Re: DockLayoutPanel with global Scroll

2011-03-22 Thread John LaBanca
T 2.3. Thanks, John LaBanca jlaba...@google.com On Tue, Mar 22, 2011 at 3:21 PM, Jens wrote: > Yeah right. LayoutPanel and all other LayoutPanels should be in a > LayoutPanel hierarchy starting with RootLayoutPanel. If you ever put a > LayoutPanel in a normal panel I think you have to

Re: CellTable Paging

2011-03-21 Thread John LaBanca
And so the quest to be "standards" compliant becomes the rationale for removing useful features. Thanks, John LaBanca jlaba...@google.com On Mon, Mar 21, 2011 at 8:20 PM, Thomas Broyer wrote: > > > On Tuesday, March 22, 2011 12:59:57 AM UTC+1, John LaBanca wrote: >>

Re: CellTable Paging

2011-03-21 Thread John LaBanca
If you can believe it, FF supports it natively. Just set the tbody to "overflow:auto", give the table a height, and *voilĂ *, you have fixed headers. Thanks, John LaBanca jlaba...@google.com On Mon, Mar 21, 2011 at 3:30 PM, Jeff Larsen wrote: > Woohoo! Awesome, I can't w

Re: CellTable Paging

2011-03-21 Thread John LaBanca
I'm working on a version of CellTable that has fixed headers and a scrollable content area. It may not make it into GWT 2.3, but it should be checked into trunk before long. Thanks, John LaBanca jlaba...@google.com On Sat, Mar 19, 2011 at 11:03 AM, marc.e wrote: > > I do not kno

Re: Server Side ColumnSorting with AsyncDataProvider

2011-03-15 Thread John LaBanca
You can call CellTable#getColumn(int) to get the Column object from the index. Then you can use a Map of Column to ServerColumnId to resolve the value to send to the server. Thanks, John LaBanca jlaba...@google.com On Tue, Mar 15, 2011 at 12:21 PM, Stephan T wrote: > I'm trying to i

Re: How can I put Hyperlinks inside a CellTable, which behave the same as the Hyperlink widget?

2011-03-15 Thread John LaBanca
button was pressed, ignore the event. The user will see the context menu. - If the left button was pressed, call Event.preventDefault() to prevent the page reload in IE, then call History.newItem("myToken"). Thanks, John LaBanca jlaba...@google.com On Mon, Mar 14, 2011 at 6:4

Re: GWT 2.2 CellTable sorting

2011-03-14 Thread John LaBanca
(), myComparator). CellTable just assumes that any data being pushed into the CellTable is already sorted. Thanks, John LaBanca jlaba...@google.com On Mon, Mar 14, 2011 at 5:59 AM, Jerome Thoma wrote: > Hi everyone, > I recently upgraded to GWT and I am currently adding table sorting

Re: How can I put Hyperlinks inside a CellTable, which behave the same as the Hyperlink widget?

2011-03-14 Thread John LaBanca
You can render an anchor tag with a no-op href: Click Me In your Cell, catch the click event and call History.newItem("myToken"). This is basically what the Hyperlink Widget does. Thanks, John LaBanca jlaba...@google.com On Sat, Mar 12, 2011 at 1:07 PM, Jake wrote: > I wan

Re: image gallery with celltable or celllist

2011-03-14 Thread John LaBanca
Thanks, John LaBanca jlaba...@google.com On Sun, Mar 13, 2011 at 2:27 PM, Ramon Salla wrote: > I am wondering how to use CellTable to have a blazing fast image gallery. > > Le't me explain my idea for a fixed N image column table with hundreds of > rows. > > 1.- Ask t

Re: Cell Table Set Sortable method not showing /working

2011-03-14 Thread John LaBanca
Are you using GWT 2.2? It was only introduced in the latest version of GWT. Thanks, John LaBanca jlaba...@google.com On Sun, Mar 13, 2011 at 11:35 PM, junaid wrote: > Hi , > I have a cell table column name *TitleColumn* > i want to sort that ,as per the example here > http://cod

Re: FieldUpadater not work

2011-03-13 Thread John LaBanca
eviewHandler() to preview events for all cells Thanks, John LaBanca jlaba...@google.com On Sat, Mar 12, 2011 at 7:40 AM, Marco Gadaleta wrote: > Hi i've created a field updater for celltable column. > > It works for TextColum but not for ImageCell. > > > Why this? &

Re: ListBox

2011-03-11 Thread John LaBanca
Yes, that's a good use of the value. The "item" is the display text, the "value" is the string submitted with the form to the server. If you use the ListBox#addItem(String) method, they are one in the same. Thanks, John LaBanca jlaba...@google.com On Fri, Mar 11, 2

Re: External Images in CellTable cell

2011-03-11 Thread John LaBanca
Take a look at ImageCell. You can use that directly, or use it as an example of including an image with an external URL. Thanks, John LaBanca jlaba...@google.com On Fri, Mar 11, 2011 at 9:15 AM, Zed wrote: > Hellow evreyone. > Does anybody know how to add external Images in to the Cel

Re: FlowPanel

2011-03-11 Thread John LaBanca
.myWidget { border-radius: 4px; // Rounded corners for chrome/safari. --moz-border-radius: 4px; // Used by firefox. } Thanks, John LaBanca jlaba...@google.com On Thu, Mar 10, 2011 at 7:00 PM, Luigi Iannone wrote: > Hi, > > I have a FlowPanel to which I add a bunch of widgets > I

Re: howto check HTML5 audio tag supported in a browser

2011-03-02 Thread John LaBanca
GWT has an Audio widget for HTML5 audio support: com.google.gwt.media.client.Audio.isSupported() Thanks, John LaBanca jlaba...@google.com On Wed, Mar 2, 2011 at 6:29 PM, Armishev, Sergey wrote: > I am new to HTML5 and have this simple question: what is the best way to > check that HTML

Re: Celltable w/ selectionModel and ActionCells

2011-03-02 Thread John LaBanca
and call DefaultSelectionEventManager.createCustomManager(myBlacklistEventTranslator). Thanks, John LaBanca jlaba...@google.com On Tue, Feb 22, 2011 at 12:09 PM, John LaBanca wrote: > You can try overriding ActionCell#handlesSelection() to return true to > disable the default selectio

Re: How can I tell if I'm at the bottom of a ScrollPanel()

2011-02-28 Thread John LaBanca
lement().getScrollHeight() - scrollPanel.getElement().getClientHeight(); Thanks, John LaBanca jlaba...@google.com On Mon, Feb 28, 2011 at 4:44 PM, Rob Tanner wrote: > Hi, > > I have an application where a user needs to read through the a document > displayed in a ScrollPanel() and when th

Re: CssResource and image sprites

2011-02-28 Thread John LaBanca
The class names are obfuscated. You can try adding @NotStrict to MyResources#style(), but that isn't really recommended because the compiler can't optimize. Instead, but your HTML in a uiBinder.ui.xml file and reference the styles like this: filter results Th

Re: Multiple warnings in GWT 2.2

2011-02-25 Thread John LaBanca
There is an issue to track this bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=5962 We should have it fixed for GWT 2.3, even if it means we have to replace the templates in that Cell. Thanks, John LaBanca jlaba...@google.com On Fri, Feb 25, 2011 at 4:55 PM, Eric wrote

Re: Feedback Requested: Preview of new GWT Style Theme

2011-02-25 Thread John LaBanca
We've updated the theme based on some of the feedback. The TabPanel header background color is now gray instead of blue, and we added rounded corners to buttons and tabs for browsers that support the border-radius CSS attribute. Thanks, John LaBanca jlaba...@google.com On Wed, Feb 23, 20

Re: Why do I have to close this dialogue box twice to get it to go away

2011-02-24 Thread John LaBanca
Widgets can't duplicate themselves, and even if you call clone() on the element, the event handlers wouldn't work. You might be creating a second DialogBox or calling show() (or center()) twice. Can you put a breakpoint in PopupPanel#show() and see if it is being called twice? Th

Re: CellTable: Unable to combine CSS-selectors

2011-02-24 Thread John LaBanca
t tried it, but the CSS3 pseudo selector "first-child" might work here (for browsers that support it): .cellTableKeyboardSelectedRowCell:first-child { background-color: fuchsia !important; } Thanks, John LaBanca jlaba...@google.com On Thu, Feb 24, 2011 at 10:22 AM, Julian wrote: >

Re: SimplePager, CellTable, Progress Bar Gone

2011-02-23 Thread John LaBanca
ListDataProvider always knows exactly how much and what data it contains, so using a ListDataProvider will basically ensure that the loading indicator never appears. If you are loading the data asynchronously, you probably want to switch to an AsyncDataProvider. Thanks, John LaBanca jlaba

Re: TabWidget not refreshing

2011-02-23 Thread John LaBanca
IsWidget.asWidget isn't called every time you open the tab, its only called when you add the tab. If that is how you are changing the contents, then you should return a SimplePanel instead and change the widget in the SimplePanel as needed. Thanks, John LaBanca jlaba...@google.com On Wed

Re: Embeding GWT app in another site without iFrame

2011-02-23 Thread John LaBanca
On Tue, Feb 22, 2011 at 9:19 PM, Bob Graton wrote: > Hello, > > I have my demo GWT app running fine at : http://site1.com/ > Inside my Html Host file on this site I load the GWT app with: > > Work fine. > > I would like to embeded this App on another site 'http://site2.com' > without iFrame. > T

Re: GWT Incubator with GWT 2.2

2011-02-22 Thread John LaBanca
What is the error? The latest incubator drop for GWT 2.1.0 seems to be compatible with GWT 2.2.0. Thanks, John LaBanca jlaba...@google.com On Tue, Feb 22, 2011 at 3:15 PM, David Chandler wrote: > As per > https://groups.google.com/group/google-web-toolkit/browse_thread/thread/d0d71e4e08

Re: CellTable Styling

2011-02-22 Thread John LaBanca
The inner div is added by CellTable to make the cell focusable (TD elements are not focusable on all browsers, so we need a TD). tbroyer is correct that the style must be inherited from somewhere else. Have you looked at it with firebug or Chrome dev tools? Thanks, John LaBanca jlaba

Re: Celltable w/ selectionModel and ActionCells

2011-02-22 Thread John LaBanca
what handlesSelection() was designed to do. Thanks, John LaBanca jlaba...@google.com On Tue, Feb 22, 2011 at 8:44 AM, Thomas Visser wrote: > ActionCell already returns false for handlesSelection(). If a cell > declares to handle the selection, the default way of (de)selecting, by > clicki

Re: Figuring out the cell table column to sort locally

2011-02-22 Thread John LaBanca
(newData, myDescComparator); // Sort descending. } cellTable.setRowData(cellTable.getVisibleRange(), newData); } }); Thanks, John LaBanca jlaba...@google.com On Mon, Feb 21, 2011 at 1:13 PM, ichiro wrote: > I am following this code snippet that I found in this forum to sort > dynami

Re: Feedback Requested: Preview of new GWT Style Theme

2011-02-22 Thread John LaBanca
@jcb - You can view the current version of Showcase for comparison here: http://gwt.google.com/samples/Showcase/Showcase.html Thanks, John LaBanca jlaba...@google.com On Tue, Feb 22, 2011 at 11:21 AM, Harpal Grover wrote: > I agree with Evan, I think GWT needs a theme along the lines of

Re: @ShowcaseSource

2011-02-18 Thread John LaBanca
What were the errors? Thanks, John LaBanca jlaba...@google.com On Thu, Feb 17, 2011 at 3:40 PM, Ewald Pankratz wrote: > Sorry it was working with the ant script. > Is used eclipse run as ... > > > > On Feb 16, 6:10 pm, Ewald Pankratz wrote: > > I'm playing around

Re: CellTable slow in IE 8

2011-02-17 Thread John LaBanca
you have 100s of DOM walks to slow down your app. Avoid using descendent selectors where the child is a common element. Thanks, John LaBanca jlaba...@google.com On Thu, Feb 17, 2011 at 2:29 PM, Pedro Perez wrote: > Hello, > > My CellTable seems really slow in Internet Explor

Re: Feedback Requested: Preview of new GWT Style Theme

2011-02-17 Thread John LaBanca
e josht in the cc list. Yes, GWT finally has a graphic designer on the team. Unfortunately, he's constrained by the fact that he cannot change the DOM structure of existing widgets, which limits what he can do. > Jeff > > On Wed, Feb 16, 2011 at 1:12 PM, John LaBanca wrote: >

Feedback Requested: Preview of new GWT Style Theme

2011-02-16 Thread John LaBanca
pspot.com/ Please let us know what you like and dislike about the new theme, and if you are interested in switching your app to it. Once we release the theme, it becomes very difficult to change it without affecting existing apps, so early feedback is helpful. Thanks, John LaBanca jlaba...@google.c

Re: CellTable Column Sorting

2011-02-16 Thread John LaBanca
Can you provide your code so we can take a look at what is wrong? Also, what isn't working? Is it just not sorting? Thanks, John LaBanca jlaba...@google.com On Wed, Feb 16, 2011 at 9:41 AM, NahumMor wrote: > I try to sort CellTabale column by this example > > http://code.goog

Re: AbstractCell and CSS

2011-02-16 Thread John LaBanca
uld cause noticeable lag in your application. */ table.myFontStyle td { font-style: Ariel; } /* * Applies to TD elements with the style name "myFontStyle". This is the best way to apply * a table specific style. */ td.myFontStyle { font-style: Ariel; } Thanks, John LaBanca jlaba...@go

Re: ckeckbox in a cell

2011-02-15 Thread John LaBanca
Create a Column with a CheckboxCell. In the Column, set the FieldUpdater, which is invoked when the checkbox is selected. Thanks, John LaBanca jlaba...@google.com On Tue, Feb 15, 2011 at 4:11 AM, Nuvoletta wrote: > Hi, I need to create a table with a column of checkbox for del

Re: is it possible to add animation to CellWidgets as RangeChangeEvent fires ?

2011-02-14 Thread John LaBanca
Not currently, but it sounds like a cool feature. Can you create a GWT issue to track it? Thanks, John LaBanca jlaba...@google.com On Sun, Feb 13, 2011 at 11:19 PM, zixzigma wrote: > Hello Everyone, > is it possible to add animation to CellWidgets as RangeChangeEvent fires ? > fo

Re: Sorting CellTable, AsyncData but Sort Locally

2011-02-14 Thread John LaBanca
) { Collections.sort(newData, myAscComparator); // Sort ascending. } else { Collections.sort(newData, myDescComparator); // Sort descending. } cellTable.setRowData(cellTable.getVisibleRange(), newData); } }); Thanks, John LaBanca jlaba...@google.com On Mon, Feb 14, 2011

Re: Reload window once

2011-02-11 Thread John LaBanca
In onModuleLoad, special case the logout token. Replace: History.fireCurrentHistoryState(); with: if (!"logout".equals(History.getToken())) { History.fireCurrentHistoryState(); } Thanks, John LaBanca jlaba...@google.com On Fri, Feb 11, 2011 at 11:36 AM, daniela iervolino wr

Re: Why does CellTable hold on to AsyncDataProvider instances ?

2011-02-11 Thread John LaBanca
RangeChangeHandler is no longer active? Thanks, John LaBanca jlaba...@google.com On Fri, Feb 11, 2011 at 9:51 AM, will0 wrote: > > Hi All > I've got a fairly standard gwt 2.1.1 setup, a CellTable which is controlled > by an Activity. Each time the Activity is instantiated on a place change,

Re: Celltable loading state

2011-02-10 Thread John LaBanca
My bad, I misunderstood. table.setVisibleRangeAndClear() will ensure that the loading indicator appears until setRowCount(0, true) or setRowData() are called. Thanks, John LaBanca jlaba...@google.com On Thu, Feb 10, 2011 at 2:26 PM, Y2i wrote: > I use setRowCount(0, true). > >

Re: Celltable loading state

2011-02-10 Thread John LaBanca
able table = new CellTable(25, res); Thanks, John LaBanca jlaba...@google.com On Thu, Feb 10, 2011 at 2:05 PM, Deepak Singh wrote: > Hi All, > > How can we set the loading image to be visible till the cell table loads ? > > -- > You received this message because you are sub

Re: loading a property file from the backend with RequestBuilder?

2011-02-10 Thread John LaBanca
Could you parse the file on the server side and return the Map via RequestFactory? That would avoid parsing on the client. Thanks, John LaBanca jlaba...@google.com On Thu, Feb 10, 2011 at 1:39 PM, SrArcos wrote: > Hello, I am interested in this issue, can you send me the example of >

Re: Using the Layout class

2011-02-10 Thread John LaBanca
anels.html Thanks, John LaBanca jlaba...@google.com On Thu, Feb 10, 2011 at 1:24 PM, Magnus wrote: > Hi Jeff, > > yes I did! > > I tried to use the layout class directly, as DockLayoutPanel does. > > But I gave up, and I use the LayoutPanel class instead. This works. > >

Re: GWT Scroll Bar Issue

2011-02-10 Thread John LaBanca
> > > > > > > > Thanks for your reply. > > > > > Dear when will data grid be available??? > > > > > OR is there any other Widget/Option which gives this kind of feature > > > like smartgwt's Live Gird > > > > > On Jan

Re: CellTable & SelectionModel

2011-02-09 Thread John LaBanca
On Wed, Feb 9, 2011 at 10:01 AM, Thomas Visser wrote: > Use the 2 parameter alternative: setSelected(T object, boolean > selected). > The second parameter indicates whether or not the object is selected. I think you're thinking about HasValue#setValue(T, boolean), which can optionally fire a Valu

Re: how to add scroll bar in flowpanel ?

2011-02-09 Thread John LaBanca
You cannot use ScrollPanel on a mobile device because the browser in mobile devices do not support scrollable divs. Scrollbars will only appear at the page level (on the body element). We're working on adding touch event support to ScrollPanel to fix this. Thanks, John LaBanca

Re: CellTable & SelectionModel

2011-02-09 Thread John LaBanca
tion state. selectionModel.setSelected(defaultMenuItem, true); selectionModel.isSelection(); // Force synchronous SelectionChangeEvent. selectionModel.addSelectionChangeHandler(...); Thanks, John LaBanca jlaba...@google.com On Wed, Feb 9, 2011 at 8:43 AM, Alejandro D. Garin wrote: > Hi, > > I'm

Re: EditTextCell - avoid escaping signs

2011-02-08 Thread John LaBanca
I created an issue to track this: http://code.google.com/p/google-web-toolkit/issues/detail?id=5993 We need to do some type of escaping because user values could include unsafe javascript code. However, the full SafeHtml escaping is too much. Thanks, John LaBanca jlaba...@google.com On Tue

Re: Deprecation of DockPanel

2011-02-08 Thread John LaBanca
@Viliam - DockLayoutPanel does require you to specify the sizes of all but the center widget. DockPanel is still useful in many cases, which is why we are going to undeprecate it. Thanks, John LaBanca jlaba...@google.com On Tue, Feb 8, 2011 at 3:22 AM, Viliam Durina wrote: >

Re: Implementing Contacts List with 'mark as favorite' checkbox

2011-02-08 Thread John LaBanca
*) { return SelectionAction.TOGGLE; } } } cellTable.setSelectionModel(selectionModel, DefaultSelectionEventManager.createCustomManager(new MyEventTranslator()); Thanks, John LaBanca jlaba...@google.com On Tue, Feb 8, 2011 at 2:38 AM, Nettar wrote: > Hello, > > I am working on a contacts l

Re: To Google Team: Re: Celltable rows selection with focus

2011-02-07 Thread John LaBanca
I think deepak wants to set native focus on the table so the user can use keyboard navigation without having to click on a cell first. Thanks, John LaBanca jlaba...@google.com On Mon, Feb 7, 2011 at 5:50 PM, zixzigma wrote: > don't you think this can be achieved

Re: To Google Team: Re: Celltable rows selection with focus

2011-02-07 Thread John LaBanca
I created an issue to track this: http://code.google.com/p/google-web-toolkit/issues/detail?id=5990 Thanks, John LaBanca jlaba...@google.com On Mon, Feb 7, 2011 at 4:24 PM, Deepak Singh wrote: > Hello Team@google, > > I could not find any solution to implement this feature but i

Re: how to add scroll bar in flowpanel ?

2011-02-07 Thread John LaBanca
/browse/?#svn%2Ftrunk%2Fsamples%2Fexpenses%2Fsrc%2Fmain%2Fjava%2Fcom%2Fgoogle%2Fgwt%2Fmobile%2Fclient Thanks, John LaBanca jlaba...@google.com On Mon, Feb 7, 2011 at 12:48 AM, harry wrote: > i am developing an mobile application and i have a problem that i can > not add scrollbar in it. &g

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 wrote: > H

Re: Setting first column width CSS in CellBrowser via DOM API

2011-02-03 Thread John LaBanca
rowser and override getWidget() to return a SplitLayoutPanel, then do the following: SplitLayoutPanel splitPanel = cellBrowser.getWidget(); splitPanel.setWidgetSize(splitPanel.getWidget(0), 400.0); Thanks, John LaBanca jlaba...@google.com On Wed, Feb 2, 2011 at 9:38 PM, sevendays wrote: > I

Re: Bug: CompositeCell containing EditTextCell

2011-02-02 Thread John LaBanca
I created a couple of issues to track this: DefaultSelectionEventManager eats events: http://code.google.com/p/google-web-toolkit/issues/detail?id=5970 CompositeCell doesn't implement isEditing: http://code.google.com/p/google-web-toolkit/issues/detail?id=5971 Thanks, John LaBanca

Re: gwt 2.2-M1 bug in CellTree

2011-02-02 Thread John LaBanca
Created an issue to track this: http://code.google.com/p/google-web-toolkit/issues/detail?id=5969 <http://code.google.com/p/google-web-toolkit/issues/detail?id=5969> Thanks, John LaBanca jlaba...@google.com On Fri, Jan 28, 2011 at 1:19 AM, Torgeir wrote: > With GWT-2.2-M1, if you e

Re: CellTable and GAE Datastore cursors

2011-02-02 Thread John LaBanca
know exactly how the code works, but it looks like we cache cursors on the server so we can reuse them later to fulfill a repeated query. <http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/expenses/src/main/java/com/google/gwt/sample/expenses/server/domain/Report.java> T

Re: Can CellWidgets contain custom composite widgets ?

2011-02-02 Thread John LaBanca
Binder that can generate HTML strings and works with Cells. That should make it easier to template complex cells using HTML/XML. Thanks, John LaBanca jlaba...@google.com On Wed, Feb 2, 2011 at 2:46 AM, zixzigma wrote: > I realized what I was doing wrong. > > I was trying to do every

Re: avoid row selection on cell click in CellTable

2011-02-01 Thread John LaBanca
0. cellTable.setSelectionModel(myMultiSelectionModel, selectionEventManager); Thanks, John LaBanca jlaba...@google.com On Tue, Feb 1, 2011 at 7:39 AM, Torgeir wrote: > I have a CellTable with a MultiSelectionModel, and a selection checkbox in > the first column, just as the CellTree sam

Re: SEVERE: The Cell Widget is attempting to render itself within the render loop

2011-01-31 Thread John LaBanca
Are you doing any of these? The code is somewhat complicated because its optimized for performance and has some special cases. Its certainly possible that there are subtle bugs. Thanks, John LaBanca jlaba...@google.com On Mon, Jan 31, 2011 at 1:50 PM, zixzigma wrote: > I am getting this e

Re: does calling CellTable's setVisibleRange result in RangeChange Event being fired ?

2011-01-29 Thread John LaBanca
Yes, it does. It ties together a pager and a data provider. The pager calls setVisibleRange(), which triggers a RangeChangeEvent, which allows the data provider to fetch/provide data for the new range. The event should only fire if the range actually changes. Thanks, John LaBanca jlaba

Re: MultiSelectionModel with CellList

2011-01-27 Thread John LaBanca
Multi-selection support (ctrl and shift) was added in GWT 2.1.1, and is enabled by default. Can you post more of your code where you initialize CellList? Are you aren't setting the KeyboardSelectionPolicy to BOUND_TO_SELECTION? That will limit selection to one item at a time. Thanks,

Re: ClickableCell double click event (CellTable)

2011-01-27 Thread John LaBanca
Cells only receive events that are declared in AbstractCell#getConsumedEvents(). Override AbstractCell#getConsumedEvents() and have it return a Set that includes "dblclick". Thanks, John LaBanca jlaba...@google.com On Thu, Jan 27, 2011 at 5:22 AM, al wrote: > Hi, > > I wan

Re: when to use AsyncDataProvider instead of CellTable.setRowData ?

2011-01-27 Thread John LaBanca
and you just want to display it on the page. You don't need a data provider if the data is not going to change while the app is running. Thanks, John LaBanca jlaba...@google.com On Thu, Jan 27, 2011 at 3:00 AM, Y2i wrote: > > > I think where we have a complex view which has a

Re: celltree indentation

2011-01-24 Thread John LaBanca
, John LaBanca jlaba...@google.com On Mon, Jan 24, 2011 at 10:29 PM, Torgeir wrote: > Am looking for a way to change the tree node indentation of a cell > tree, but can't find any method, nor any css resource that seems to > specify this, it's always fixed at 16px. Does a

Re: How to show a message in CellTable?

2011-01-21 Thread John LaBanca
That isn't implement yet, but we plan to add it for GWT 2.3. Thanks, John LaBanca jlaba...@google.com On Thu, Jan 20, 2011 at 11:18 PM, varakumar wrote: > Hi all, > >I am using CellTable to show list of records. It is working > fine, But when there is no records I wa

Re: How to insert an Image in Celltable cell?

2011-01-21 Thread John LaBanca
You can use IconCellDecorator to add an icon next to a Cell. Thanks, John LaBanca jlaba...@google.com On Thu, Jan 20, 2011 at 11:47 PM, varakumar wrote: > Hi all, > > In CellTable cell How can I insert an imageresouce > > -- > You received this message because you

Re: Develop a customized grid/celll table

2011-01-20 Thread John LaBanca
rty GWT library that has this widget while you wait for the features in CellTable? Thanks, John LaBanca jlaba...@google.com On Thu, Jan 20, 2011 at 8:00 PM, Anoop John wrote: > Hi, > > I want to develop a cell table exactly same as in the link below. > > > http://jaffa.sourcefo

Re: Layout problem!

2011-01-20 Thread John LaBanca
); DockPanel is deprecated because in standards mode, its very difficult to get it to layout correctly. Thanks, John LaBanca jlaba...@google.com On Thu, Jan 20, 2011 at 4:58 PM, Vamshidhar Reddy Chitti < indvam...@gmail.com> wrote: > Hi, > > I am trying to build a application which con

Re: Why Roo generated Expenses app works despite not having any DataProvider in its CellTable ?

2011-01-20 Thread John LaBanca
is sent to the table. ListDataProvider in particular binds to a java.util.List, which is convenient. However, using these classes is not required, and "DataProvider" is just a naming convention. Thanks, John LaBanca jlaba...@google.com On Thu, Jan 20, 2011 at 3:29 PM, zixzigma wrote:

Re: do you think RangeChange of CellTable should update the History Token ?

2011-01-20 Thread John LaBanca
might be helpful. Thanks, John LaBanca jlaba...@google.com On Thu, Jan 20, 2011 at 4:57 PM, Y2i wrote: > Personally I store all configuration related to one place/activity on the > server. > > -- > You received this message because you are subscribed to the Google Groups > &qu

Re: .setHorizontalAlignment on a Textcolumn does not compile

2011-01-20 Thread John LaBanca
Are you using GWT 2.1 or GWT 2.1.1? Column.setHorizontalAlignment was introduced in GWT 2.1.1. Thanks, John LaBanca jlaba...@google.com On Wed, Jan 19, 2011 at 4:52 PM, frank wrote: > Hello, > > I get the following complier-error in elipse with google plugin with > the following

  1   2   3   >