org.olat.core.commons.modules.bc.commands
Class AbstractCreateItemForm

java.lang.Object
  extended by org.olat.core.gui.control.DefaultController
      extended by org.olat.core.gui.control.controller.BasicController
          extended by org.olat.core.gui.components.form.flexible.impl.FormBasicController
              extended by org.olat.core.commons.modules.bc.commands.AbstractCreateItemForm
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable

public abstract class AbstractCreateItemForm
extends FormBasicController

Provides the Form elements (a mandatory textElement with a submit and a reset button), the layout, and contains the itemName.

The validateFormLogic and formOK impl are the responsability of the subclasses.

Author:
Lavinia Dumitrescu

Field Summary
 
Fields inherited from class org.olat.core.gui.components.form.flexible.impl.FormBasicController
LAYOUT_CUSTOM, LAYOUT_DEFAULT, LAYOUT_HORIZONTAL, LAYOUT_VERTICAL
 
Constructor Summary
AbstractCreateItemForm(UserRequest ureq, WindowControl wControl, Translator translator)
          Use this constructor ONLY if the initForm is overriden in the subclass.
AbstractCreateItemForm(UserRequest ureq, WindowControl wControl, Translator translator, java.util.Map<java.lang.String,java.lang.String> i18nkeyMap)
           
 
Method Summary
 
Methods inherited from class org.olat.core.gui.components.form.flexible.impl.FormBasicController
dispose, event
 
Methods inherited from class org.olat.core.gui.control.DefaultController
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractCreateItemForm

public AbstractCreateItemForm(UserRequest ureq,
                              WindowControl wControl,
                              Translator translator,
                              java.util.Map<java.lang.String,java.lang.String> i18nkeyMap)

AbstractCreateItemForm

public AbstractCreateItemForm(UserRequest ureq,
                              WindowControl wControl,
                              Translator translator)
Use this constructor ONLY if the initForm is overriden in the subclass.

Parameters:
ureq -
wControl -
translator -