boolean b = !true && !false;
}
NodeBuilder drawForm() {
final NodeBuilder log = $DIV();
SelectNodeBuilder select = $SELECT();
TableNodeBuilder b = $TABLE();
select.onChange(new CommonDelegate<Boolean, SelectNodeBuilder>() {
public Boolean delegate(SelectNodeBuilder s) {
selected = EnumTest.valueOf(s.valueAsStr());
Date d = new Date();
log.add($B(d.getHours()+":"+d.getMinutes()+":"+d.getSeconds()))
.text(" " + selected.getTitle()).BR();
return true;
}
});
for(EnumTest e : EnumTest.values()) {
select.add($OPTION(e, e.getTitle()));
}
return $DIV()
.add(EL("h2").text(name))
.add($BTN("Press me!", new CommonDelegate<Boolean, NodeBuilder>() {