Packages » Package freeformdemo » Class FDDemo

Class FDDemo

Declaration:
<? class FDDemo extends FDBaseAction ?>

Description:
This is the base class for every demo action in this package. It will take care of setting up the router (quick jump) form and preparing the 'next' and 'prev' links

Parent Classes:
Action , FDBaseAction

Authors:
  • Dennis Popel

Methods:
  • getDescription()
    This method will be called statically via reflection to get the descrtiption of the demo for the drop down list
  • getNext()
    This is called to get the 'next' demo in the wizard-like style
  • getPrev()
    This is called to get the 'previous' demo in the wizard-like style
  • onInit()
    As we have the same document preparation process in every demo action, we difine this onInit method to take care of this