Hi all,
I'm using GWT 2.5 and I'm wondering if there's an easy way to enabled / 
disabled ValueListBox, after a careful look:

DateBox, TextBox implements com.google.gwt.user.client.ui.HasEnabled but in 
other hand ValueListBox dosent
I could extend com.google.gwt.user.client.ui.ValueListBox and implement 
com.google.gwt.user.client.ui.HasEnabled doing:

@Override
public void setReadOnly(boolean readOnly) {
DOM.setElementPropertyBoolean(getElement(), "disabled", readOnly);
}

@Override
public boolean isReadOnly() {
return DOM.getElementPropertyBoolean(getElement(), "disabled");
}

But is there realy necessary?
Is  there a easy and logic way of doing this (disabled enabled)?

Many thanks,
Luis.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/TeIa8Lr4VnEJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to