org.olat.registration
Class RegistrationForm2

java.lang.Object
  extended by org.olat.core.gui.components.Component
      extended by org.olat.core.gui.components.form.Form
          extended by org.olat.registration.RegistrationForm2

public class RegistrationForm2
extends Form

Description:

Author:
Sabina Jeger

Field Summary
 
Fields inherited from class org.olat.core.gui.components.form.Form
CANCEL_IDENTIFICATION, ELEM_BUTTON_COMMAND_ID, EVNT_FORM_CANCELLED, EVNT_VALIDATION_NOK, EVNT_VALIDATION_OK, SUBMIT_IDENTIFICATION
 
Constructor Summary
RegistrationForm2(java.lang.String name, Translator translator, java.lang.String languageKey)
           
 
Method Summary
 void init()
          Initialize the form
 boolean validate()
           
 
Methods inherited from class org.olat.core.gui.components.form.Form
addFormElement, addSubmitKey, addSubmitKey, addVisibilityDependsOnSelectionRule, getCheckBoxElement, getDateElement, getElementCount, getFormElement, getHTMLRendererSingleton, getIntegerElement, getMultipleSelectionElement, getNameIterator, getPasswordElement, getRadioButtonElement, getSelectedSubmitKey, getSingleSelectionElement, getTextAreaElement, getTextElement, getVisibilityDependsOnSelectionRules, getWikiMarkupTextAreaElement, hasMandatoryFields, hasWikiMarkupFields, isDisplayOnly, isValid, removeCancelButton, removeFormElements, setAllFormElements, setCancelButton, setCancelKey, setDisplayOnly, setSubmitKey, validate
 
Methods inherited from class org.olat.core.gui.components.Component
addListener, debuginfoGetListeners, dispatchRequest, getAndClearLatestFiredEvent, getComponentName, getDispatchID, getExtendedDebugInfo, getLatestDispatchedController, getListenerInfo, getParent, getSpanAsDomReplaceable, getTimestamp, getTranslator, isDirty, isDirtyForUser, isDomReplaceable, isEnabled, isVisible, setDirty, setDomReplaceable, setEnabled, setSpanAsDomReplaceable, setVisible, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegistrationForm2

public RegistrationForm2(java.lang.String name,
                         Translator translator,
                         java.lang.String languageKey)
Parameters:
name -
languageKey -
Method Detail

init

public void init()
Initialize the form


validate

public boolean validate()
Specified by:
validate in class Form
Returns:
true: form validates, false: form contains invalid data
See Also:
org.olat.core.gui.components.Form#validate(org.olat.core.gui.UserRequest)