setting value in current field based on button press

2014-06-11 Thread Tony B
Hello, I am hoping someone can point me in the right direction, or give me a better question to ask. Let's say I have multiple input fields. If my cursor is currently in field 1 and I click a button, I want a value put into field 1. But if I am currently in field 2, I want the value put

Re: setting value in current field based on button press

2014-06-11 Thread Tony B
Thanks. Your idea works perfectly. That said, it made me notice two things ( which might indicate bad design decisions - I don't know yet ). These comments are only for future reference, in case someone else comes along asking the same question. They are things to beware of. 1. The blur

Image and ImageElement

2014-10-28 Thread Tony B
Hello, Let's say that, for whatever reason, I have an ImageElement, not an Image. How do I add that to a Panel? Do I need to somehow convert it from ImageElement ( not a widget ) to Image ( a widget ) so I can add it? If so, how? Tony -- You received this message because you are subscrib

Image.wrap( ImageElement) does not work - assert error

2014-10-28 Thread Tony B
Hello, Does anyone know why I cannot use "Image.wrap" with an "ImageElement"? it is failing on the "assert Document.get().getBody().isOrHasChild(element);" at the start of the "wrap" method. This is a brand new element, not attached to anything yet. My ultimate goal is to convert the Ima

Re: Image and ImageElement

2014-10-28 Thread Tony B
Tried that - got assert error on "assert Document.get().getBody().isOrHasChild(element);" at start of wrap method ( see my other post here for a post on this topic ). The "wrap" method not working is part of t

Re: Image and ImageElement

2014-10-29 Thread Tony B
the dom. In > your case, why not create the Image widget directly? > On Oct 28, 2014 8:14 PM, "Tony B" > > wrote: > >> Tried that - got assert error on "assert >> Document.get().getBody().isOrHasChild(element);" at start of wrap method ( >> see my

Re: Reload Place using getWhere()

2014-12-01 Thread Tony B
So how do I do that with events, then? Do you have an example? On Thursday, November 10, 2011 5:52:54 PM UTC-5, Thomas Broyer wrote: > > Hi Mark, > > You shouldn't "abuse" places to tie them to data. If you need to refresh > some data, you'd better dispatch an event on your event bus (an event t

Re: DataGrid vs CellTable

2012-12-02 Thread Tony B
So does this means they cannot be used interchangeably? For instance, I have a table. When I define it as a "CellTable", it works fine. But when I simple change it to a DataGrid ( no other changes ), it does not work. Your comments suggest that I need to do some extra steps for DataGrid. I

Re: DataGrid vs CellTable

2012-12-02 Thread Tony B
Nothing fills in, no values go into the table, it is empty. Thus "does not work". The only difference is the creation of the object. On Sunday, December 2, 2012 4:26:24 PM UTC-5, Thomas Broyer wrote: > > > > On Sunday, December 2, 2012 1:29:22 AM UTC+1, Tony B wrote: &g

Re: DataGrid vs CellTable

2012-12-02 Thread Tony B
PM UTC-5, Thomas Broyer wrote: > > > > On Sunday, December 2, 2012 1:29:22 AM UTC+1, Tony B wrote: >> >> So does this means they cannot be used interchangeably? For instance, I >> have a table. When I define it as a "CellTable", it works fine. But when >

Re: DataGrid vs CellTable

2012-12-03 Thread Tony B
). To bad. Thanks. Tony On Monday, December 3, 2012 2:59:49 AM UTC-5, Thomas Broyer wrote: > > > > On Monday, December 3, 2012 12:05:49 AM UTC+1, Tony B wrote: >> >> Ooops, missed your second question, about the parent widget. Here is the >> path: >> FlowPane

Re: DataGrid vs CellTable

2012-12-03 Thread Tony B
e out", > whereas DataGrids require the size from "outside in". > > (Note: Almost the only real reason for the requiresResize() is, that > DataGrid uses a HeaderPanel, which performs one of the few JavaScript > tricks still needed today, because CSS still can'

Re: DataGrid vs CellTable

2012-12-04 Thread Tony B
December 4, 2012 5:37:34 AM UTC-5, Thomas Broyer wrote: > > > > On Monday, December 3, 2012 10:58:03 PM UTC+1, Tony B wrote: >> >> Thanks so much. That makes a lot of sense. So I just need to experiment >> with the data grid height. >> >> I would think usi

Error processing @WithTokenizers, cannot find type

2012-12-17 Thread Tony B
Hello, I have a weird situation. I am getting the following error in my > 16:48:34.027 [ERROR] [wmsapp] Error processing @WithTokenizers, cannot > find type > com.wmsvision.wmsapp.client.activities.productsearch.ProductSummaryDetailPlace.ProductSummaryDetailPlaceTokenizer > The problem is

Re: Error processing @WithTokenizers, cannot find type

2012-12-18 Thread Tony B
, December 17, 2012 5:00:25 PM UTC-5, Tony B wrote: >> >> Hello, >>I have a weird situation. I am getting the following error in my >> >>> 16:48:34.027 [ERROR] [

Re: Error processing @WithTokenizers, cannot find type

2012-12-20 Thread Tony B
rkarounds from this issue: > http://code.google.com/p/google-web-toolkit/issues/detail?id=5658 > > On Tue 18 Dec 2012 07:01:42 PM ART, Tony B wrote: > > Sadly, not yet. If I found out something, I will update this thread. > > > > On Tuesday, December 18

Re: Error processing @WithTokenizers, cannot find type

2012-12-20 Thread Tony B
started debugger. It worked 4. Changed GWT SDK back to 2.4, and started debugger. It worked. I don't know if one or all of the above acts fix it, or if some code change I forgot fixed it. Anyway, thanks. Tony On Thursday, December 20, 2012 12:25:30 PM UTC-5, Tony B wrote: > > Rig