com.filenet.wcm.apps.server.ui.select
Class WcmEditPage

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.apps.server.ui.select.WcmEditPage
All Implemented Interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface

public class WcmEditPage
extends com.filenet.wcm.toolkit.server.base.WcmUiModule


Field Summary
static java.lang.String HIDE
           
protected  java.lang.String sEventModuleName
           
protected static java.lang.String sEventName
           
protected static java.lang.String sEventParameter
           
protected  java.lang.String sFormName
           
protected  java.lang.String sHideMsg
           
protected  java.lang.String sHideShow
           
static java.lang.String SHOW
           
protected  java.lang.String sShowMsg
           
protected  java.lang.String sTitle
           
protected  com.filenet.wcm.toolkit.util.WcmString wsAfter
           
protected  com.filenet.wcm.toolkit.util.WcmString wsBefore
           
protected  com.filenet.wcm.toolkit.util.WcmString wsHideMsg
           
protected  com.filenet.wcm.toolkit.util.WcmString wsShowMsg
           
protected  com.filenet.wcm.toolkit.util.WcmString wsTitle
           
 
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
locale, NAME_DELIMITER
 
Constructor Summary
WcmEditPage(java.lang.String formName, java.lang.String title, java.lang.String showMsg, java.lang.String hideMsg)
           
WcmEditPage(java.lang.String formName, java.lang.String title, com.filenet.wcm.toolkit.util.WcmString showMsg, com.filenet.wcm.toolkit.util.WcmString hideMsg)
           
WcmEditPage(java.lang.String formName, com.filenet.wcm.toolkit.util.WcmString title, com.filenet.wcm.toolkit.util.WcmString showMsg, com.filenet.wcm.toolkit.util.WcmString hideMsg)
           
 
Method Summary
 java.lang.String getEventName()
          Return event name
 java.lang.String getEventParameter()
          Return event parameter.
 java.lang.String getHideShow()
          Return Hide or show value
 void initialize()
          Initializes data providers, XSL parameters, the authoring state, and other state values.
 void onSelect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Select event handler
 void render(java.io.Writer w)
          Renders the class data.
 void setEventModuleName(java.lang.String name)
           
 void setFormName(java.lang.String formName)
           
 void setHideShow(java.lang.String sMode)
          Set Hide or show value
 
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, getFormName, 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
onStartPage, subscribeGlobalEvent
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
addChild, addChild, addChild, cleanup, 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.WcmUiModuleInterface
onStartPage
 
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
addDataProvider, cleanup, getDataStore, getModuleProperty, getName, getParent, persist, queryDataProvider, setController, setModuleProperty, setName, setParent
 

Field Detail

SHOW

public static final java.lang.String SHOW
See Also:
Constant Field Values

HIDE

public static final java.lang.String HIDE
See Also:
Constant Field Values

sTitle

protected java.lang.String sTitle

sHideMsg

protected java.lang.String sHideMsg

sShowMsg

protected java.lang.String sShowMsg

wsTitle

protected com.filenet.wcm.toolkit.util.WcmString wsTitle

wsHideMsg

protected com.filenet.wcm.toolkit.util.WcmString wsHideMsg

wsShowMsg

protected com.filenet.wcm.toolkit.util.WcmString wsShowMsg

wsAfter

protected com.filenet.wcm.toolkit.util.WcmString wsAfter

wsBefore

protected com.filenet.wcm.toolkit.util.WcmString wsBefore

sFormName

protected java.lang.String sFormName

sHideShow

protected java.lang.String sHideShow

sEventModuleName

protected java.lang.String sEventModuleName

sEventName

protected static java.lang.String sEventName

sEventParameter

protected static java.lang.String sEventParameter
Constructor Detail

WcmEditPage

public WcmEditPage(java.lang.String formName,
                   java.lang.String title,
                   java.lang.String showMsg,
                   java.lang.String hideMsg)
            throws java.lang.Exception

WcmEditPage

public WcmEditPage(java.lang.String formName,
                   java.lang.String title,
                   com.filenet.wcm.toolkit.util.WcmString showMsg,
                   com.filenet.wcm.toolkit.util.WcmString hideMsg)
            throws java.lang.Exception

WcmEditPage

public WcmEditPage(java.lang.String formName,
                   com.filenet.wcm.toolkit.util.WcmString title,
                   com.filenet.wcm.toolkit.util.WcmString showMsg,
                   com.filenet.wcm.toolkit.util.WcmString hideMsg)
            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.

Throws:
java.lang.Exception

render

public void render(java.io.Writer w)
            throws java.lang.Exception
Renders the class data.

Parameters:
w - Writer for writing to the response object.
Throws:
java.lang.Exception - If there are problems.

onSelect

public void onSelect(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws java.lang.Exception
Select event handler

Parameters:
request - Request object.
response - Response object.
Throws:
java.lang.Exception - If there are problems retrieving data or an invalid parameter.

setFormName

public void setFormName(java.lang.String formName)

getHideShow

public java.lang.String getHideShow()
                             throws java.lang.Exception
Return Hide or show value

Returns:
String - "1" means Show, "2" means Hide.
Throws:
java.lang.Exception

setHideShow

public void setHideShow(java.lang.String sMode)
                 throws java.lang.Exception
Set Hide or show value

Throws:
java.lang.Exception

getEventName

public java.lang.String getEventName()
Return event name

Returns:
String - "Select"

getEventParameter

public java.lang.String getEventParameter()
Return event parameter. Both getEventName and getEventParameter are exposed therefore other modules can generate form tag on behalf of this module.

Returns:
String - "HideShow".

setEventModuleName

public void setEventModuleName(java.lang.String name)
                        throws java.lang.Exception
Throws:
java.lang.Exception


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