http://code.google.com/p/google-web-toolkit/issues/detail?id=6112
 
Star the issue so you can get notified when the capability is added.

On Saturday, January 19, 2013 12:51:43 PM UTC-5, Luis Costa wrote:

> 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/-/q1ZsLYCyDgoJ.
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.

Reply via email to