hie i could not find any such method to set the background color of the text box red. please advise
Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Wed, Apr 7, 2010 at 10:45 PM, kozura <[email protected]> wrote: > setStyleProperty(widget, backgroundColor, "red"); > > You might use a popupPanel or something similar if you also want to > display a message. > > On Apr 7, 10:44 am, Vik <[email protected]> wrote: > > Hie > > > > I am new to gwt and looking for some sample code to mark a component in > red > > and show error message. > > For example say there is a text box with label First Name > > > > when some one fill it and tab out i may validate it and in case of issue > can > > mark the first name text box component as red and display msg invalid > first > > name > > > > Please advise > > > > Thankx and Regards > > > > Vik > > Founderwww.sakshum.comwww.sakshum.blogspot.com > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
