com.plumtree.portaluiinfrastructure.editor.commonpages.localizednames
Class LocNamesDP

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.AFormDP
      extended by com.plumtree.uiinfrastructure.editor.EditorDP
          extended by com.plumtree.portaluiinfrastructure.editor.commonpages.localizednames.LocNamesDP
All Implemented Interfaces:
IDisplayPage, IMVCObject

public class LocNamesDP
extends EditorDP

LocNamesDP is the DisplayPage for Localized Names and Descriptions

Version:
1.0
Author:
MichaelS

Field Summary
protected  boolean bFirstTimeOnPage
          Flag used to update mandatory page status only the first time the left nav string is retrieved
static java.lang.String STR_MVC_CLASS_NAME
          The name of this object
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorDP
m_asOwner
 
Fields inherited from class com.plumtree.uiinfrastructure.form.AFormDP
GET, HTMLFORM_NAME, JAVASCRIPT_SETUP_FOR_SUBMIT_TO_CONTROL, JAVASCRIPT_SUBMIT_FORM, JAVASCRIPT_SUBMIT_TO_CONTROL, MULTIPART_ENCODING, POST
 
Constructor Summary
LocNamesDP()
           
 
Method Summary
 HTMLElementCollection DisplayHTMLBeforeForm()
          The date-picker needs to print some stuff before the form.
 HTMLElementCollection DisplayHTMLinHEAD()
          Returns the HTML that is placed in the HEAD section of this HTML page.
protected  HTMLScriptCollection DisplayJavaScriptFromChild()
          Display the Javascripts for the Views.
protected  HTMLElement GetHTMLBelowSubHeader()
          Implement this method to add HTML below the sub header.
 java.lang.String GetLeftNavString()
          Returns the String to display on the left navigation menu, linking to that page.
 java.lang.String GetName()
          Returns the Class name.
 HTMLElement PageDisplay()
          Returns the HTML for the General Info page.
 HTMLElement PartialContentDisplay()
          This is a helper method that all classes that inherit from AFormDP can override.
 void UpdateMandatoryPageStatus()
          Dynamically update mandatory page ststua.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorDP
AddScriptToHead, CreateContentTable, CreateLeftNavBar, GetEditorHeaderViewName, GetFormTitle, GetOwner, GetPageTitle, Init, SetContentTableCellSpacing
 
Methods inherited from class com.plumtree.uiinfrastructure.form.AFormDP
AddToValidationFunction, Display, DisplayForm, DisplayHTMLAfterForm, DisplayJavascript, Get508RepostURL, GetCloseOnCancel, GetFormPageType, GetOnLoad, GetRepostControlName, GetRepostTypeIsPost, GetStatusViewEnabled, GetStatusViewRepostValues, GetUseJavascript, GetWindowFocusEnabled, InsertJavascriptBeforeFormSubmit, RemoveFromValidationFunction, SetMultiPartEncoding, SetShow508FormFooter, SetStatusViewEnabled, SetStatusViewRepostValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
The name of this object

See Also:
Constant Field Values

bFirstTimeOnPage

protected boolean bFirstTimeOnPage
Flag used to update mandatory page status only the first time the left nav string is retrieved

Constructor Detail

LocNamesDP

public LocNamesDP()
Method Detail

GetLeftNavString

public java.lang.String GetLeftNavString()
Returns the String to display on the left navigation menu, linking to that page.

Specified by:
GetLeftNavString in class EditorDP
Returns:
String

UpdateMandatoryPageStatus

public void UpdateMandatoryPageStatus()
Dynamically update mandatory page ststua. In this case, we check the object properties model to see if it contains any mandatory properties.


GetHTMLBelowSubHeader

protected HTMLElement GetHTMLBelowSubHeader()
                                     throws HTMLException
Implement this method to add HTML below the sub header.

Overrides:
GetHTMLBelowSubHeader in class EditorDP
Returns:
HTMLElement
Throws:
HTMLException

GetName

public java.lang.String GetName()
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorDP
Returns:
String
See Also:
IMVCObject.GetName()

DisplayHTMLBeforeForm

public HTMLElementCollection DisplayHTMLBeforeForm()
                                            throws HTMLException
The date-picker needs to print some stuff before the form.

Overrides:
DisplayHTMLBeforeForm in class EditorDP
Returns:
HTMLElementCollection
Throws:
HTMLException
See Also:
AFormDP.DisplayHTMLBeforeForm()

DisplayHTMLinHEAD

public HTMLElementCollection DisplayHTMLinHEAD()
                                        throws HTMLException
Returns the HTML that is placed in the HEAD section of this HTML page. Add date picker HTML in head.

Overrides:
DisplayHTMLinHEAD in class AFormDP
Returns:
HTMLElement
Throws:
HTMLException
See Also:
AFormDP.DisplayHTMLinHEAD()

PartialContentDisplay

public HTMLElement PartialContentDisplay()
Description copied from class: AFormDP
This is a helper method that all classes that inherit from AFormDP can override. When displaying in place refresh content, this method is called instead of PageDisplay. In place refresh can be enabled via setting a flag in the activity space.

Overrides:
PartialContentDisplay in class AFormDP
Returns:
String Partial page content to be displayed.

PageDisplay

public HTMLElement PageDisplay()
                        throws HTMLException
Returns the HTML for the General Info page.

Overrides:
PageDisplay in class EditorDP
Returns:
HTMLElement
Throws:
HTMLException - on error
See Also:
com.plumtree.uiinfrastructure.activityspace.AFormDP#PageDisplay(HTMLTableRow)

DisplayJavaScriptFromChild

protected HTMLScriptCollection DisplayJavaScriptFromChild()
                                                   throws HTMLException
Display the Javascripts for the Views.

Overrides:
DisplayJavaScriptFromChild in class EditorDP
Returns:
HTMLScriptCollection
Throws:
HTMLException



Copyright 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.