|
CAF Noodle JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--Noodle.PageAndPortletModelHelpers
Helper methods for both page and portlet models.
Defined in page.js
Constructor Summary | |
Noodle.PageAndPortletModelHelpers
()
|
Method Summary | |
<static> Object
|
getPropertiesPanels()
Returns map of properties panel names to content divs, or null if properties panel doesn't exist. |
<static> void
|
submitMetadata(<string> mode)
Implements general-properties and custom-metadata properties submission. |
<static> void
|
submitProperties()
Submit the full properties panel. |
<static> void
|
toggleMetadata(<string> mode, <function> addFieldsets)
Implements general-properties and custom-metadata modes. |
<static> Object
|
toggleProperties(<string> mode)
Switches among properties sub-modes. |
<static> Object
|
validateMetadata(<string> mode)
Implements general-properties and custom-metadata properties validation. |
<static> void
|
writeUpdatedMetadataToScratch(oldMetadata, onSuccess)
Post updated metadata to server. |
Constructor Detail |
Noodle.PageAndPortletModelHelpers()
Method Detail |
<static> Object getPropertiesPanels()
<static> void submitMetadata(<string> mode)
mode
- Mode.
<static> void submitProperties()
<static> void toggleMetadata(<string> mode, <function> addFieldsets)
mode
- Mode; "properties" or "metadata".
addFieldsets
- Function to use to add fieldsets to form.
<static> Object toggleProperties(<string> mode)
mode
- New properties sub-mode.
<static> Object validateMetadata(<string> mode)
mode
- Mode.
<static> void writeUpdatedMetadataToScratch(oldMetadata, onSuccess)
event
- Event.
|
CAF Noodle JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |