Skip to content

NTFormsHowToMigrate

amaneiro edited this page Apr 23, 2012 · 2 revisions

Notes on how to migrate from 0.1 to 1.0 version:

  • Add new navtableforms library to the lib directory.
  • Drop form & binding classes on your customform extension.
  • Custom form class: drop old methods.
  • formBody becomes private, so you will need getFormBody() to access it.
  • Implement getFormBody() in your custom form: just make the method to return a valid instance of the abeille form.
  • Implement getXMLPath(): return path to xml file. Usually implemented as a constant in preferences class, but might be different.
  • Implement getLogger(): just create a logger for your custom extension.
  • Validations: those fields with validation rules should be marked in XML. See rules available and develop those needed.
Clone this wiki locally