Skip to content

Commit

Permalink
Buttons can now use child() and addCodeFragment() functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpythoud committed May 7, 2015
1 parent 5dc5014 commit 0c07bdd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/org/jcodegen/html/ButtonTag.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ protected ButtonTag getThis() {
return this;
}

@Override
public ButtonTag child(final Tag tag) {
return super.child(tag);
}

@Override
public ButtonTag addCodeFragment(final HtmlCodeFragment codeFragment) {
return super.addCodeFragment(codeFragment);
}

public ButtonTag type(final ButtonType value) {
return attribute("type", value.getVal());
}
Expand Down

0 comments on commit 0c07bdd

Please sign in to comment.