aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/src/main/java/gwtquery/samples/client/GwtQueryWidgetModule.java2
-rw-r--r--samples/src/main/java/gwtquery/samples/public/GwtQueryWidgets.html12
2 files changed, 14 insertions, 0 deletions
diff --git a/samples/src/main/java/gwtquery/samples/client/GwtQueryWidgetModule.java b/samples/src/main/java/gwtquery/samples/client/GwtQueryWidgetModule.java
index 70c4aac1..83d0169d 100644
--- a/samples/src/main/java/gwtquery/samples/client/GwtQueryWidgetModule.java
+++ b/samples/src/main/java/gwtquery/samples/client/GwtQueryWidgetModule.java
@@ -82,6 +82,8 @@ public class GwtQueryWidgetModule implements EntryPoint {
$("#suggestBox1").as(Widgets).suggestBox(new SuggestBoxOptions("div"));
$("#suggestBox2").as(Widgets).suggestBox(new SuggestBoxOptions("li"));
$(".stack").as(Widgets).stackPanel();
+ $(".checkBox").as(Widgets).checkBox();
+ $(".radio").as(Widgets).radioButton();
GWT.log("Found " + $(".btn").widgets().size() + " buttons widget");
diff --git a/samples/src/main/java/gwtquery/samples/public/GwtQueryWidgets.html b/samples/src/main/java/gwtquery/samples/public/GwtQueryWidgets.html
index 1b15c341..0a6eb9d5 100644
--- a/samples/src/main/java/gwtquery/samples/public/GwtQueryWidgets.html
+++ b/samples/src/main/java/gwtquery/samples/public/GwtQueryWidgets.html
@@ -114,6 +114,18 @@
<li>suggestion y</li>
<li>suggestion z</li>
</ul>
+
+ <div class="outer">
+ <div class="checkBox">Checkbox</div>
+ <div class="checkBox">created</div>
+ <div class="checkBox">from div</div>
+ </div>
+
+ <div class="outer">
+ <div class="radio">RadioButton</div>
+ <div class="radio">created</div>
+ <div class="radio">from div</div>
+ </div>
</div>