Re: different behavior on chrome and firefox

2010-04-10 Thread Vik
thanks Kozura... This was really helpful. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Sat, Apr 10, 2010 at 11:45 AM, kozura wrote: > PopupPanel documentation has a lovely example: > > http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/

Re: different behavior on chrome and firefox

2010-04-09 Thread kozura
PopupPanel documentation has a lovely example: http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/PopupPanel.html For positioning it, instead of the roundabout positionAndShow that they use, can probably just do: popup.setPopupPosition(textbox.getAbsoluteLeft()

Re: different behavior on chrome and firefox

2010-04-09 Thread Vik
Hie Yes i m using onBlur. Right I have same opinion that window alert is too bad. What I want actually is just marking the component in red and showing a message somewhere near the component. How can i use a popup below a textbox? I mean i guess popup comes also like a window only ? Is there any

Re: different behavior on chrome and firefox

2010-04-09 Thread kozura
What event are you using for activating your validation? onBlur? As for the second question, you have the full power of Java OO programming available. So either extend TextBox, or make a Composite widget containing a textbox, that encapsulates what you want, maybe ValidatingTextBox. Give it a m

different behavior on chrome and firefox

2010-04-09 Thread Vik
Hie Please have a look at: http://1.latest.sakshumweb20.appspot.com/ui/page/DonorRegister.jsp Click on the first name field. and then tab out without entering anything. In firefox the field background becomes red but it does not