Re: GWT 2.4 - problems with space key handling and FieldUpdater for TextInputCell inside CompositeCell in CellTree

2013-10-21 Thread Nicholas Loke
The issue is due to CellTree preventing the default browser event on space. The reason for that is to prevent scrolling. You can listen for KEYDOWN in TextInputCells and then add the space in the input manually. As to how to get the input element, you can traverse the DOM from the parent

Re: GWT 2.4 - problems with space key handling and FieldUpdater for TextInputCell inside CompositeCell in CellTree

2013-05-08 Thread Michael Altmann
I am facing the same issue and cannot figure out how the original poster set up event handling to get this working. Any help would be greatly appreciated. Right now my CellTree with TextInputCells will not accepts spaces. On Wednesday, August 29, 2012 5:30:10 AM UTC-5, BhaskerT wrote: Hi

Re: GWT 2.4 - problems with space key handling and FieldUpdater for TextInputCell inside CompositeCell in CellTree

2012-08-29 Thread BhaskerT
Hi James, Thanks for the post and reply. I am facing similar issue. I am not able to type the white space character in the MyEditCell extends AbstractInputCell. i have also over ridden the below method: *public* SetString getConsumedEvents() { SetString events = *new* HashSetString();

Re: GWT 2.4 - problems with space key handling and FieldUpdater for TextInputCell inside CompositeCell in CellTree

2011-12-29 Thread James Scott
Looks like it boils down to events. After looking at the TextInputCell and AbstractInputCell source, I added focus and change events to the list of events consumed by the CompositeCell, and that addressed both issues. Incidentally, I tried out the EditTextCell in the CompositeCell, and to get

GWT 2.4 - problems with space key handling and FieldUpdater for TextInputCell inside CompositeCell in CellTree

2011-12-28 Thread James Scott
Hi all- I feel like I'm missing something obvious here, but I haven't been able to figure this out. In short, I have a CellTree whose leaf nodes are populated with CompositeCells. Each CompositeCell has an ImageResourceCell, a TextCell, and a TextInputCell. These are displaying in the tree