Class DataFormView

Defined in DataForm.js

DataFormView


Constructor Summary
DataFormView(dataForm, formId, template)
            Creates dynamic forms based on a DataForm element.
 
Method Summary
bindToForm()
           Bind to a form that exists within the document and has this.formId.
cancelClicked()
           undocumented
 DataForm getDataForm()
           Returns an instance of the dataForm being bound to.
getRenderedNode()
          
onRender(parentNode)
           Renders the form and appends it to parentNode
 Element renderAndReturn()
           Returns an HTML element (dom) that is the result of the rendered node bound with the data form.
resetClicked()
           undocumented
submitClicked()
           The handler for when the submit button is clicked.
 
Constructor Detail

DataFormView

DataFormView(dataForm, formId, template)

Method Detail

bindToForm

bindToForm()

cancelClicked

cancelClicked()

getDataForm

DataForm getDataForm()

getRenderedNode

getRenderedNode()

onRender

onRender(parentNode)

renderAndReturn

Element renderAndReturn()

resetClicked

resetClicked()

submitClicked

submitClicked()

Documentation generated by JsDoc Toolkit 1.4.1 on Tue Aug 26 2008 14:35:54 GMT-0500 (CDT)