|
|||||||||||
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.TextStylable
com.arsdigita.bebop.BlockStylable
com.arsdigita.bebop.SimpleContainer
com.arsdigita.cms.ui.CMSContainer
com.arsdigita.cms.ui.ContentSectionContainer
Displays all the content sections in table, with links to the admin and public pages. Also displays a form for each content section to create an object of a given type. The list of available types is retrieved for each content section.
This class is a container for two other components: a form and a
table. The form represents the drop down list of the content types
available in a particular content section. It is an extension of
the NewItemForm
. The table
displays each content section in one row, along with the specified
form. The same form is reused in every row of the table.
Nested Class Summary | |
static class |
ContentSectionContainer.AdminURLTableCellRenderer
Generates the correct URL to the admin pages for a content section. |
static class |
ContentSectionContainer.URLTableCellRenderer
Generates the correct URL to the public pages for a content section. |
Field Summary | |
static String |
versionID
|
Fields inherited from class com.arsdigita.cms.ui.CMSContainer |
CMS_XML_NS, versionId |
Fields inherited from class com.arsdigita.bebop.BlockStylable |
ABSBOTTOM, ABSMIDDLE, BASELINE, BOTTOM, CENTER, FULL_WIDTH, INSERT, LEFT, MIDDLE, RIGHT, TEXTTOP, TOP |
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 | |
ContentSectionContainer(com.arsdigita.bebop.SingleSelectionModel typeSel,
com.arsdigita.bebop.SingleSelectionModel sectionSel)
Constructs a new ContentSectionContainer which containts: SimpleContainer (to contain the form) Form (for creating a new content item in each section) Table (Displays all content sections) |
Method Summary | |
void |
register(com.arsdigita.bebop.Page p)
|
Methods inherited from class com.arsdigita.bebop.SimpleContainer |
add, add, children, contains, generateChildrenXML, generateParent, generateXML, get, getNamespace, getTag, indexOf, isEmpty, setNamespace, setTag, size |
Methods inherited from class com.arsdigita.bebop.BlockStylable |
setBorder, setBorder, setBorderColor, setHorizontalAlignment, setMargin, setMargin, setPadding, setPadding, setVerticalAlignment |
Methods inherited from class com.arsdigita.bebop.TextStylable |
setBackgroundColor, setColor |
Methods inherited from class com.arsdigita.bebop.SimpleComponent |
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, respond, 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, respond, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible |
Methods inherited from interface com.arsdigita.util.Lockable |
isLocked, lock |
Field Detail |
public static final String versionID
Constructor Detail |
public ContentSectionContainer(com.arsdigita.bebop.SingleSelectionModel typeSel, com.arsdigita.bebop.SingleSelectionModel sectionSel)
typeSel
- passthrough to NewItemForm
sectionSel
- passthrough to NewItemForm
Method Detail |
public void register(com.arsdigita.bebop.Page p)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |