Re: How to reliably detect a paste operation via mouse in TextBox?

2010-12-16 Thread Nick Newman
Would listening for the changeEvent be a more direct approach? Nick On Wed, Dec 15, 2010 at 11:15 PM, Sunit Katkar wrote: > Any ideas?? > > > - Sunit Katkar > http://sunitkatkar.blogspot.com/ > > > > On Tue, Dec 14, 2010 at 2:25 PM, Sunit Katkar wrote: > >> I have a simple GWT TextBox widget. >>

Re: How to display an ampersand using UiBinder?

2010-12-15 Thread Nick Newman
You say that using A & B & C obviously fails (because the ampersand is illegal in the XML). Does using a CDATA section to make it legal work? Nick On Wed, Dec 15, 2010 at 3:31 PM, Mauro Bertapelle < mauro.bertape...@gmail.com> wrote: > Label is not meant to contain html, use an HTML class inste

Re: Fire a button click event programmatically

2010-12-08 Thread Nick Newman
Might be simpler and clearer to have the button click event call a method, and simply call that method directly. Nick On Wed, Dec 8, 2010 at 4:27 PM, zhong wrote: > Hi, > > Is there a way to fire a button click event programmatically? > > Many thanks, > Zhong > > -- > You received this message

Re: how to achieve pretty URLs in GWT 2.0 application

2010-12-01 Thread Nick Newman
I used the web.xml to map all the URL's to the same JSP page, had that one page be the standard GWT loading page, and then used the URL (obtained from Window.Location) to put the page (panel) I wanted onto the root panel. Nick On Wed, Dec 1, 2010 at 8:48 AM, Mike wrote: > What I do in my apps i

Re: setFocus for TextBox does not work?

2010-11-21 Thread Nick Newman
I think in similar situations I've found that the text box has not actually been displayed on the page (that is, not attached to the root panel) at the time that I ask for it to receive focus. Perhaps that was the case with you? Might be worth checking. Nick On Sun, Nov 21, 2010 at 2:05 PM, stev

Re: Paging a simple CellTable freezes

2010-11-16 Thread Nick Newman
>> correct >> lines visible. >> >> Any help appreciated. A working example with CellTable and SimplePager >> would >> be nice! The documentation seems to be outdated on this subject. >> >> Regards, >> Stefan >> >> On 11 Nov., 20:13, Nick

Paging a simple CellTable freezes

2010-11-12 Thread Nick Newman
Hi, I'm trying the CellTable from GWT 2.1 and I must be doing something silly because I cannot get it to page. When I display the table I see the first page just fine, but when I press the page-forward button I get a "busy" indication (a bar with moving bands) and that stays there forever. Could