|
|||||||||||
| 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.templates.TemplateCreate
Displays a form to create a new template, which will be assigned to a content type within a specific content section. This component displaces the creation step for the templates authoring kit, since it needs to know the content type to which the template would be assigned.
| Field Summary | |
static String |
versionId
|
| 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 | |
TemplateCreate(com.arsdigita.kernel.ui.ACSObjectSelectionModel typeModel)
Construct a new TemplateCreate component |
|
| Method Summary | |
void |
addWidgets()
Add the "use context" widget |
void |
init(com.arsdigita.bebop.event.FormSectionEvent e)
Initialize the form - populate the id widget for double-click protection |
void |
process(com.arsdigita.bebop.event.FormSectionEvent e)
Process the form - create the new template, assign it to the section/type |
void |
validate(com.arsdigita.bebop.event.FormSectionEvent e)
Validate the form - ensure name uniqueness |
| 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.bebop.Component |
getClassAttr, getIdAttr, getKey, getStyleAttr, isVisible, register, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible |
| Methods inherited from interface com.arsdigita.util.Lockable |
isLocked |
| Field Detail |
public static final String versionId
| Constructor Detail |
public TemplateCreate(com.arsdigita.kernel.ui.ACSObjectSelectionModel typeModel)
TemplateCreate component
typeModel - supplies the content type within the section to
which the new template will be assigned| Method Detail |
public void addWidgets()
addWidgets in class BasicItemForm
public void init(com.arsdigita.bebop.event.FormSectionEvent e)
throws com.arsdigita.bebop.FormProcessException
init in interface com.arsdigita.bebop.event.FormInitListenerinit in class BasicItemFormcom.arsdigita.bebop.FormProcessException
public void validate(com.arsdigita.bebop.event.FormSectionEvent e)
throws com.arsdigita.bebop.FormProcessException
validate in interface com.arsdigita.bebop.event.FormValidationListenervalidate in class BasicItemFormcom.arsdigita.bebop.FormProcessException
public void process(com.arsdigita.bebop.event.FormSectionEvent e)
throws com.arsdigita.bebop.FormProcessException
process in interface com.arsdigita.bebop.event.FormProcessListenerprocess in class BasicItemFormcom.arsdigita.bebop.FormProcessException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||