htmlpage/src/main/java/org/apidesign/bck2brwsr/htmlpage/api/Input.java
branchemul
changeset 100 029e6eed60e9
parent 27 2f19d1449fba
child 102 2354255a1844
     1.1 --- a/htmlpage/src/main/java/org/apidesign/bck2brwsr/htmlpage/api/Input.java	Tue Sep 25 09:08:39 2012 +0200
     1.2 +++ b/htmlpage/src/main/java/org/apidesign/bck2brwsr/htmlpage/api/Input.java	Thu Oct 11 06:15:22 2012 -0700
     1.3 @@ -31,6 +31,10 @@
     1.4      }
     1.5      
     1.6      public void setAutocomplete(boolean state) {
     1.7 -        setAttribute(this, "autocomplete", state);
     1.8 +        Element.setAttribute(this, "autocomplete", state);
     1.9 +    }
    1.10 +    
    1.11 +    public final String getValue() {
    1.12 +        return (String)Element.getAttribute(this, "value");
    1.13      }
    1.14  }