Created
February 10, 2010 12:10
-
-
Save chaliy/300257 to your computer and use it in GitHub Desktop.
Java DSL for forms
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
form( | |
columns( | |
fields( | |
text("SKU", "SKU", required, max(40)), | |
text("Title", "Title", required) | |
) | |
), | |
wide( | |
rich("Description", "Description") | |
), | |
columns( | |
fields( | |
selector("Vat", "Vat", CommonEnums.VAT_CODE) | |
), | |
fields( | |
amount("Total", "Total", required) | |
) | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment