On Jan 31, 10:10 pm, Qrunk <kapil2ka...@gmail.com> wrote:
> I tried the same on a button(*add *button), its working for me,
>
> try out this :
>
> @UiHandler("add")
> void onAddClick(ClickEvent event) {
> //addRows();
> add.setEnabled(false);
> if(!add.isEnabled()){
> System.out.println("Hello");
> add.getElement().getStyle().setBorderColor("red");
> }
>
> }
>
> Here add is button added using UiBinder, onClick I make it disabled and
> change the border color to red
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment