|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.bebop.FormSection
com.arsdigita.cms.ui.authoring.BasicItemForm
com.arsdigita.cms.ui.authoring.BasicPageForm
com.arsdigita.cms.ui.authoring.PageCreate
A form which will create a new ContentPage or one of its subclasses.
Field Summary | |
static String |
SECTION_ID
The state parameter which specifies the content section |
static String |
versionId
|
Fields inherited from class com.arsdigita.cms.ui.authoring.BasicPageForm |
LAUNCH_DATE |
Fields inherited from class com.arsdigita.cms.ui.authoring.BasicItemForm |
LANGUAGE, NAME, TITLE |
Fields inherited from class com.arsdigita.bebop.FormSection |
m_formModel, m_panel |
Fields inherited from class com.arsdigita.bebop.SimpleComponent |
m_attr |
Fields inherited from interface com.arsdigita.bebop.Component |
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE |
Constructor Summary | |
PageCreate(ItemSelectionModel itemModel,
CreationSelector parent)
Construct a new PageCreationForm |
Method Summary | |
protected void |
addWidgets()
Add various widgets to the form. |
ApplyWorkflowFormSection |
getWorkflowSection()
Return the ApplyWorkflowFormSection associated with this CreationComponent. |
void |
init(com.arsdigita.bebop.event.FormSectionEvent e)
Perform form initialization. |
void |
process(com.arsdigita.bebop.event.FormSectionEvent e)
Process the form. |
void |
submitted(com.arsdigita.bebop.event.FormSectionEvent e)
|
void |
validate(com.arsdigita.bebop.event.FormSectionEvent e)
Validate the form. |
Methods inherited from class com.arsdigita.cms.ui.authoring.BasicPageForm |
createContentPage, initBasicWidgets, processBasicWidgets |
Methods inherited from class com.arsdigita.cms.ui.authoring.BasicItemForm |
add, add, addSaveCancelSection, generateXML, getAllVersionIDs, getItemSelectionModel, getSaveCancelSection, validateNameUniqueness, validateNameUniquenessWithinCategory |
Methods inherited from class com.arsdigita.bebop.FormSection |
addCancelListener, addInitListener, addProcessListener, addSubmissionListener, addValidationListener, children, contains, createInitListener, createProcessListener, createSubmissionListener, createValidationListener, fireCancel, fireInit, fireProcess, fireSubmitted, fireValidate, forwardInit, forwardProcess, forwardSubmission, forwardValidation, get, getModel, getPanel, indexOf, isEmpty, lock, process, register, removeCancelListener, removeInitListener, removeProcessListener, removeSubmissionListener, removeValidationListener, respond, size |
Methods inherited from class com.arsdigita.bebop.SimpleComponent |
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, register, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible |
Methods inherited from class com.arsdigita.bebop.Completable |
addCompletionListener, fireCompletionEvent |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.arsdigita.cms.ui.authoring.CreationComponent |
addSaveCancelSection, getSaveCancelSection, removeProcessListener |
Methods inherited from interface com.arsdigita.bebop.Container |
add, add, contains, get, indexOf, isEmpty, size |
Methods inherited from interface com.arsdigita.bebop.Component |
children, generateXML, getClassAttr, getIdAttr, getKey, getStyleAttr, isVisible, register, register, respond, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible |
Methods inherited from interface com.arsdigita.util.Lockable |
isLocked, lock |
Field Detail |
public static final String versionId
public static final String SECTION_ID
Constructor Detail |
public PageCreate(ItemSelectionModel itemModel, CreationSelector parent)
itemModel
- The ItemSelectionModel
which will be
responsible for loading the current itemparent
- The CreationSelector
parent. This class
should call either the CreationSelector.redirectBack(PageState)
or CreationSelector.editItem(PageState, ContentItem)
methods on
the parent eventuallyMethod Detail |
protected void addWidgets()
addWidgets
in class BasicPageForm
public ApplyWorkflowFormSection getWorkflowSection()
getWorkflowSection
in interface CreationComponent
public void init(com.arsdigita.bebop.event.FormSectionEvent e) throws com.arsdigita.bebop.FormProcessException
BasicItemForm
init
in interface com.arsdigita.bebop.event.FormInitListener
init
in class BasicItemForm
com.arsdigita.bebop.FormProcessException
public void submitted(com.arsdigita.bebop.event.FormSectionEvent e) throws com.arsdigita.bebop.FormProcessException
submitted
in interface com.arsdigita.bebop.event.FormSubmissionListener
com.arsdigita.bebop.FormProcessException
public void validate(com.arsdigita.bebop.event.FormSectionEvent e) throws com.arsdigita.bebop.FormProcessException
BasicItemForm
validate
in interface com.arsdigita.bebop.event.FormValidationListener
validate
in class BasicItemForm
com.arsdigita.bebop.FormProcessException
public void process(com.arsdigita.bebop.event.FormSectionEvent e) throws com.arsdigita.bebop.FormProcessException
BasicItemForm
process
in interface com.arsdigita.bebop.event.FormProcessListener
process
in class BasicItemForm
com.arsdigita.bebop.FormProcessException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |