org.olat.core.gui.components.form.flexible.impl
Class FormBaseComponentImpl

java.lang.Object
  extended by org.olat.core.gui.components.Component
      extended by org.olat.core.gui.components.form.flexible.impl.FormBaseComponentImpl
All Implemented Interfaces:
FormBaseComponentIdProvider
Direct Known Subclasses:
AbstractInlineElementComponent, FileElementComponent, SimpleExampleText, SimpleFormErrorText, SimpleLabelText, SimpleText, SpacerElementComponent

public abstract class FormBaseComponentImpl
extends Component
implements FormBaseComponentIdProvider

Description:
provides a html valid form dispatch id needed in the "form component" renderers. This is then the id which can be found in the hidden field for submit info.

Initial Date: 11.01.2007

Author:
patrickb

Field Summary
 
Fields inherited from interface org.olat.core.gui.components.form.flexible.FormBaseComponentIdProvider
DISPPREFIX
 
Constructor Summary
FormBaseComponentImpl(java.lang.String name)
           
FormBaseComponentImpl(java.lang.String name, Translator translator)
           
 
Method Summary
 java.lang.String getFormDispatchId()
          A String containing a unique ID per form element component on the screen.
 
Methods inherited from class org.olat.core.gui.components.Component
addListener, debuginfoGetListeners, dispatchRequest, getAndClearLatestFiredEvent, getComponentName, getDispatchID, getExtendedDebugInfo, getHTMLRendererSingleton, getLatestDispatchedController, getListenerInfo, getParent, getSpanAsDomReplaceable, getTimestamp, getTranslator, isDirty, isDirtyForUser, isDomReplaceable, isEnabled, isVisible, setDirty, setDomReplaceable, setEnabled, setSpanAsDomReplaceable, setVisible, toString, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormBaseComponentImpl

public FormBaseComponentImpl(java.lang.String name)

FormBaseComponentImpl

public FormBaseComponentImpl(java.lang.String name,
                             Translator translator)
Method Detail

getFormDispatchId

public java.lang.String getFormDispatchId()
Description copied from interface: FormBaseComponentIdProvider
A String containing a unique ID per form element component on the screen. This is corresponding to the Component#getDispatchID() and should achieve the same for the form elements.

Specified by:
getFormDispatchId in interface FormBaseComponentIdProvider
Returns: