nitrogen/nitrogen_core — pull request #25 by StPanning (2012-05-20 15:13:06+00:00)
Title: Implementation of restful_* elements

For examples checkout the nitrogen fork at https://github.com/StPanning/nitrogen
and test.

Added html_name attributes where useful
Added elements restful_form
restful_submit
restful_reset
restful_upload

Added documentation in org form

doc/org-mode/elements.org | 12 +++-
doc/org-mode/elements/checkbox.org | 2 +
doc/org-mode/elements/dropdown.org | 2 +
doc/org-mode/elements/hidden.org | 2 +
doc/org-mode/elements/password.org | 1 +
doc/org-mode/elements/restful_form.org | 58 +++++++++++++++++++
doc/org-mode/elements/restful_overview.org | 77 +++++++++++++++++++++++++
doc/org-mode/elements/restful_reject.org | 50 ++++++++++++++++
doc/org-mode/elements/restful_reset.org | 48 +++++++++++++++
doc/org-mode/elements/restful_submit.org | 48 +++++++++++++++
doc/org-mode/elements/restful_upload.org | 59 +++++++++++++++++++
doc/org-mode/elements/textarea.org | 2 +
doc/org-mode/elements/textbox.org | 2 +
include/wf.hrl | 22 ++++---
src/elements/forms/element_checkbox.erl | 4 +-
src/elements/forms/element_hidden.erl | 1 +
src/elements/forms/element_inplace.erl | 28 ++-------
src/elements/forms/element_password.erl | 1 +
src/elements/forms/element_radio.erl | 2 +-
src/elements/forms/element_restful_form.erl | 70 ++++++++++++++++++++++
src/elements/forms/element_restful_reset.erl | 19 ++++++
src/elements/forms/element_restful_submit.erl | 19 ++++++
src/elements/forms/element_restful_upload.erl | 17 ++++++
src/elements/forms/element_textarea.erl | 19 +++---
src/elements/forms/element_textbox.erl | 3 +-
src/elements/other/element_dropdown.erl | 3 +-
src/lib/wf_render_elements.erl | 1 +
src/lib/wf_tags.erl | 13 ++++-
src/lib/wf_utils.erl | 20 ++++++-
29 files changed, 555 insertions(+), 50 deletions(-)
create mode 100644 doc/org-mode/elements/restful_form.org
create mode 100644 doc/org-mode/elements/restful_overview.org
create mode 100644 doc/org-mode/elements/restful_reject.org
create mode 100644 doc/org-mode/elements/restful_reset.org
create mode 100644 doc/org-mode/elements/restful_submit.org
create mode 100644 doc/org-mode/elements/restful_upload.org
create mode 100644 doc/org-mode/restful_overview.org
create mode 100644 src/elements/forms/element_restful_form.erl
create mode 100644 src/elements/forms/element_restful_reset.erl
create mode 100644 src/elements/forms/element_restful_submit.erl
create mode 100644 src/elements/forms/element_restful_upload.erl