com.filenet.wcm.apps.server.ui.info.webcontent
Class WebContentCFWPropertiesInfoPage

java.lang.Object
  extended bycom.filenet.wcm.toolkit.server.base.WcmDpContainer
      extended bycom.filenet.wcm.toolkit.server.base.WcmModule
          extended bycom.filenet.wcm.toolkit.server.base.GlobalEventModule
              extended bycom.filenet.wcm.toolkit.server.base.WcmUiModule
                  extended bycom.filenet.wcm.toolkit.server.ui.WcmXSLModule
                      extended bycom.filenet.wcm.apps.server.ui.info.WcmPropertiesInfoPage
                          extended bycom.filenet.wcm.apps.server.ui.info.webcontent.WebContentCFWPropertiesInfoPage
All Implemented Interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmPanelInterface, com.filenet.wcm.toolkit.server.base.WcmPanelValidationInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface, com.filenet.wcm.toolkit.server.base.WcmViewPanelInterface

public class WebContentCFWPropertiesInfoPage
extends WcmPropertiesInfoPage

This class handles output of properties for the CFW properties page. It works in conjunction with WcmPropertiesInfoPage.xsl and the properties xml returned from the Authoring Data Provider or, in some cases, the xml created here for new objects. This class makes great use of WcmPropertiesUtil.

See Also:
WcmPropertiesUtil

Nested Class Summary
 
Nested classes inherited from class com.filenet.wcm.apps.server.ui.info.WcmPropertiesInfoPage
WcmPropertiesInfoPage.OVPReader
 
Field Summary
static java.lang.String CFW_PROPDESCS_KEY_PREFIX
           
 
Fields inherited from class com.filenet.wcm.apps.server.ui.info.WcmPropertiesInfoPage
adp, aState, classLabel, controller, exceptions, isInfoPage, nType, propCacheKey, rootClassId, showCompoundDocument
 
Fields inherited from class com.filenet.wcm.toolkit.server.ui.WcmXSLModule
transformUtil
 
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
locale, NAME_DELIMITER
 
Constructor Summary
WebContentCFWPropertiesInfoPage()
          protected Constructor sets the default type, the name and creates the WcmPropertiesUtil object.
 
Method Summary
 org.w3c.dom.Document getPropertiesXML()
          Overrides the getPropertiesXML method to properly load the web content property descriptions xml.
 void initialize()
          Initializes data providers, XSL parameters, the authoring state, and other state values.
 void onStartPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Sets up property description xml and event handler urls.
 void panelFinish(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Override the WcmPropertiesInfoPage panelFinish method.
 void panelSave(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Calls onSubmit
 
Methods inherited from class com.filenet.wcm.apps.server.ui.info.WcmPropertiesInfoPage
cleanup, getClassName, getExceptions, getFormName, getOutputXML, getShowCompoundDocument, getValidationErrors, initializePropertiesWithCommandXml, isApplyButtonRequired, isModified, onAddChild, onChangePage, onCollapse, onExpand, onGetInfo, onSelectObject, onSetClass, onSetObject, onShowChildren, onSubmit, onSystemProperties, onUpdateChild, pageValidate, panelInitClientProperties, panelValidate, removeSingleProperty, render, reset, setFormName, setReadOnly, setRootClass, setSelectedClass, showCompoundDocument, showSelectClassLink, showSingleProperty, transformXML
 
Methods inherited from class com.filenet.wcm.toolkit.server.ui.WcmXSLModule
convertToNodeList, getXML, getXSLParameter, renderXSL, setXML, setXML, setXML, setXML, setXSL, setXSLParameter, setXSLParameter, setXSLParameter, setXSLParameter, setXSLParameter, setXSLParameter
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmUiModule
getActive, getBasePath, getBaseUrl, getBaseURLBuilder, getControllerEventUrl, getControllerEventUrl, getEventFormFields, getEventFormFields, getEventFormTag, getEventFormTag, getEventUrl, getEventUrl, getEventUrl, getEventUrl, getFormSubmitUrl, getFormSubmitUrl, getGlobalEventUrl, getGlobalEventUrl, getPageUrl, getPageUrl, getPageUrl, getPageUrl, getUiParent, peekEvent, renderJSP, routeEvent, routeEvent, serverSideInclude, serverSideInclude, setActive, setJSP
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.GlobalEventModule
subscribeGlobalEvent
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
addChild, addChild, addChild, debugTrace, getClassProperty, getClassProperty, getClassPropertyKeys, getConfiguration, getController, getDataStore, getModuleProperty, getModuleProperty, getModuleProperty, getModuleProperty, getModulePropertyKeys, getName, getParent, getWindowProperty, getWindowProperty, persist, queryDataProvider, setClassProperty, setClassProperty, setController, setModuleProperty, setModuleProperty, setName, setParent, setPortletParent, setWindowProperty
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmDpContainer
addDataProvider, addDataProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
addDataProvider, getDataStore, getModuleProperty, getName, getParent, persist, queryDataProvider, setController, setModuleProperty, setName, setParent
 

Field Detail

CFW_PROPDESCS_KEY_PREFIX

public static final java.lang.String CFW_PROPDESCS_KEY_PREFIX
See Also:
Constant Field Values
Constructor Detail

WebContentCFWPropertiesInfoPage

public WebContentCFWPropertiesInfoPage()
                                throws java.lang.Exception
protected Constructor sets the default type, the name and creates the WcmPropertiesUtil object. Used internally.

Throws:
java.lang.Exception
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Initializes data providers, XSL parameters, the authoring state, and other state values.

Specified by:
initialize in interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
Overrides:
initialize in class WcmPropertiesInfoPage
Throws:
java.lang.Exception

onStartPage

public void onStartPage(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws java.lang.Exception
Sets up property description xml and event handler urls.

Specified by:
onStartPage in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
Overrides:
onStartPage in class WcmPropertiesInfoPage
Parameters:
request - HttpServletRequest object
response - HttpServletResponse object
Throws:
java.lang.Exception

panelSave

public void panelSave(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws java.lang.Exception
Calls onSubmit

Specified by:
panelSave in interface com.filenet.wcm.toolkit.server.base.WcmPanelInterface
Overrides:
panelSave in class WcmPropertiesInfoPage
Parameters:
request - HttpServletRequest object
response - HttpServletResponse object
Throws:
java.lang.Exception

panelFinish

public void panelFinish(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws java.lang.Exception
Override the WcmPropertiesInfoPage panelFinish method.

Specified by:
panelFinish in interface com.filenet.wcm.toolkit.server.base.WcmPanelInterface
Overrides:
panelFinish in class WcmPropertiesInfoPage
Parameters:
request - HttpServletRequest object
response - HttpServletResponse object
Throws:
java.lang.Exception

getPropertiesXML

public org.w3c.dom.Document getPropertiesXML()
                                      throws java.lang.Exception
Overrides the getPropertiesXML method to properly load the web content property descriptions xml.

Overrides:
getPropertiesXML in class WcmPropertiesInfoPage
Returns:
The property descriptions xml.
Throws:
java.lang.Exception
See Also:
for detail.


© Copyright IBM Corp. 2002, 2007. All Rights Reserved.