|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.gui.components.form.flexible.impl.FormItemImpl
org.olat.core.gui.components.form.flexible.impl.elements.FormCancel
public class FormCancel
Description:
The form cancel triggers the form cancelled event and bypasses the normal
form event infrastructure by using a conventional link and an inner
controller that dispatches the link event and forwards it as an inner form
event.
Initial Date: 06.07.2009
| Field Summary |
|---|
| Fields inherited from interface org.olat.core.gui.components.form.flexible.FormItem |
|---|
ERRORC, EXAMPLEC, LABELC |
| Fields inherited from interface org.olat.core.gui.components.form.flexible.FormBaseComponentIdProvider |
|---|
DISPPREFIX |
| Constructor Summary | |
|---|---|
FormCancel(java.lang.String name,
FormLayoutContainer formLayoutContainer,
UserRequest ureq,
WindowControl wControl)
|
|
| Method Summary | |
|---|---|
void |
dispose()
disposes the disposable |
void |
evalFormRequest(UserRequest ureq)
gets called if the implementing component is part of a form which gets partly submitted -> extract data for you and store it temporarly for redisplay without a validation |
void |
reset()
reset the data in the field to a initial/predefined value. |
void |
setCustomDisabledLinkCSS(java.lang.String customDisabledLinkCSS)
Set the css that is used for the disabled link status |
void |
setCustomEnabledLinkCSS(java.lang.String customEnabledLinkCSS)
|
void |
setI18nKey(java.lang.String i18n)
Set the i18n key for the link text |
void |
validate(java.util.List validationResults)
validate the data in the field, create error messages or update any component. |
| Methods inherited from class org.olat.core.gui.components.form.flexible.impl.FormItemImpl |
|---|
addActionListener, clearError, doDispatchFormRequest, getAction, getActionListenersFor, getComponent, getEmptyDisplayText, getErrorC, getErrorText, getExampleC, getExampleText, getFormDispatchId, getLabelC, getLabelText, getName, getRootForm, getTranslator, getUserObject, hasError, hasExample, hasFocus, hasLabel, isEnabled, isInlineEditingOn, isMandatory, isVisible, setEmptyDisplayText, setEnabled, setErrorComponent, setErrorKey, setExampleKey, setFocus, setLabel, setLabelComponent, setMandatory, setRootForm, setTranslator, setUserObject, setVisible, showError, showExample, showLabel, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.olat.core.gui.components.form.flexible.FormItem |
|---|
addActionListener, clearError, doDispatchFormRequest, getAction, getActionListenersFor, getComponent, getErrorC, getErrorText, getExampleC, getExampleText, getLabelC, getLabelText, getName, getRootForm, getTranslator, getUserObject, hasError, hasExample, hasFocus, hasLabel, isEnabled, isMandatory, isVisible, setEnabled, setErrorComponent, setErrorKey, setExampleKey, setFocus, setLabel, setLabelComponent, setMandatory, setRootForm, setTranslator, setUserObject, setVisible, showError, showExample, showLabel |
| Methods inherited from interface org.olat.core.gui.components.form.flexible.FormBaseComponentIdProvider |
|---|
getFormDispatchId |
| Constructor Detail |
|---|
public FormCancel(java.lang.String name,
FormLayoutContainer formLayoutContainer,
UserRequest ureq,
WindowControl wControl)
| Method Detail |
|---|
public void evalFormRequest(UserRequest ureq)
FormItemImpl
evalFormRequest in interface FormItemevalFormRequest in class FormItemImplFormItemImpl.evalFormRequest(org.olat.core.gui.UserRequest)public void reset()
FormItem
reset in interface FormItemreset in class FormItemImplFormItemImpl.reset()public void validate(java.util.List validationResults)
FormItemThis method must be implemented by a specialised form item provider.
validate in interface FormItemvalidate in class FormItemImplFormItemImpl.validate(java.util.List)public void setCustomDisabledLinkCSS(java.lang.String customDisabledLinkCSS)
Cancel
setCustomDisabledLinkCSS in interface CancelCancel.setCustomDisabledLinkCSS(java.lang.String)public void setCustomEnabledLinkCSS(java.lang.String customEnabledLinkCSS)
setCustomEnabledLinkCSS in interface CancelcustomEnabledLinkCSS - The customEnabledLinkCSS to set.Cancel.setCustomEnabledLinkCSS(java.lang.String)public void setI18nKey(java.lang.String i18n)
Cancel
setI18nKey in interface CancelCancel.setI18nKey(java.lang.String)public void dispose()
Disposable
dispose in interface DisposableDisposable.dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||