com.plumtree.portalpages.browsing.search.advanced
Class AdvancedSearchDP

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.AFormDP
      extended by com.plumtree.portalpages.common.uiparts.PlumtreeDP
          extended by com.plumtree.portalpages.browsing.search.advanced.AdvancedSearchDP
All Implemented Interfaces:
IDisplayPage, IMVCObject

public class AdvancedSearchDP
extends PlumtreeDP

Author:
CraigS

Field Summary
static java.lang.String NARROW_SPACER
           
static java.lang.String STR_MVC_CLASS_NAME
           
static java.lang.String TABLE_WIDTH
           
static java.lang.String WIDE_SPACER
           
 
Fields inherited from class com.plumtree.portalpages.common.uiparts.PlumtreeDP
JAVASCRIPT_INITIALIZE_EVENTS, m_bAddMainForm, m_nLeftWidth, m_nLeftWidthAlone, m_nRightWidth, m_nRightWidthAlone, m_nTableSpacing
 
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, m_asOwner, MULTIPART_ENCODING, POST
 
Constructor Summary
AdvancedSearchDP()
           
 
Method Summary
protected  void AddHiddenModeInput(HTMLElement result)
           
 HTMLElementCollection DisplayHTMLBeforeForm()
          Displays some HTML after the body tag and before the form tag.
protected  HTMLScriptCollection DisplayJavaScriptFromChild()
          This is a helper method that all classes that inherit from AFormDP can override if they like.
static ASURL GetAdvancedSearchURL(AActivitySpace m_asOwner)
           
 java.lang.String GetName()
          Return the name of the MVC object.
 java.lang.String GetSubtitleForBanner()
          This string will be added as the subtitle in a banner that has a subtitle.
 java.lang.String GetTitleForBanner()
          This string will be added as the title in a banner that has a title.
 void Init(AActivitySpace parent)
          Initialize the Display Page.
static HTMLTable MakeSearchHelpText(AActivitySpace m_asOwner)
           
static HTMLElement makeSpacer(java.lang.String height, AActivitySpace owner)
           
 HTMLElement PageDisplay()
          This is a helper method that all classes that inherit from PlumtreeDP need to implement.
 
Methods inherited from class com.plumtree.portalpages.common.uiparts.PlumtreeDP
Display, DisplayBody, DisplayHead, DisplayJavaScriptToHead, DisplayLayout, DisplayLayout, GetAddMainForm, GetBasicJavascript, GetFormTitle, GetInitializeEventsJavaScript, GetMetaRefresh, GetNavScheme, RegisterNavScheme, SetAddMainForm
 
Methods inherited from class com.plumtree.uiinfrastructure.form.AFormDP
AddToValidationFunction, DisplayForm, DisplayHTMLAfterForm, DisplayHTMLinHEAD, DisplayJavascript, Get508RepostURL, GetCloseOnCancel, GetFormPageType, GetOnLoad, GetOwner, GetRepostControlName, GetRepostTypeIsPost, GetStatusViewEnabled, GetStatusViewRepostValues, GetUseJavascript, GetWindowFocusEnabled, InsertJavascriptBeforeFormSubmit, PartialContentDisplay, 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
See Also:
Constant Field Values

TABLE_WIDTH

public static java.lang.String TABLE_WIDTH

NARROW_SPACER

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

WIDE_SPACER

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

AdvancedSearchDP

public AdvancedSearchDP()
Method Detail

DisplayHTMLBeforeForm

public HTMLElementCollection DisplayHTMLBeforeForm()
Displays some HTML after the body tag and before the form tag. For example this is used by pages using a DHTML calendar to display the div tag. The function is optional. If it exists, it will be called by the framework, and the resulting HTMLElement will be added in the right place.

Overrides:
DisplayHTMLBeforeForm in class AFormDP
Returns:
HTMLElement

GetName

public java.lang.String GetName()
Description copied from interface: IMVCObject
Return the name of the MVC object.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class PlumtreeDP
Returns:
See Also:
com.plumtree.xpshared.activityspace.IDisplayPage#GetName()

GetSubtitleForBanner

public java.lang.String GetSubtitleForBanner()
Description copied from class: PlumtreeDP
This string will be added as the subtitle in a banner that has a subtitle. For example, if you were on a my page named "Green Page", then return "Green Page" here.

Specified by:
GetSubtitleForBanner in class PlumtreeDP
Returns:
SubHeader
See Also:
PlumtreeDP.GetSubtitleForBanner()

GetTitleForBanner

public java.lang.String GetTitleForBanner()
Description copied from class: PlumtreeDP
This string will be added as the title in a banner that has a title. For example, if this is a my page, return "My Pages" here. If you think you don't need a title, then you need to seriously rethink why you are inheriting from PlumtreeDP. Because the WHOLE POINT of PlumtreeDP is that it has a banner.

Specified by:
GetTitleForBanner in class PlumtreeDP
Returns:
Header
See Also:
PlumtreeDP.GetTitleForBanner()

Init

public void Init(AActivitySpace parent)
Description copied from interface: IDisplayPage
Initialize the Display Page.

Specified by:
Init in interface IDisplayPage
Overrides:
Init in class AFormDP
Parameters:
parent -
See Also:
IDisplayPage.Init(AActivitySpace)

PageDisplay

public HTMLElement PageDisplay()
Description copied from class: PlumtreeDP
This is a helper method that all classes that inherit from PlumtreeDP need to implement. The method should add whatever HTML the child class wants to display to the body argument. The parent class will then add that HTML to the HTMLPage after filling in the banner and navigation.

Specified by:
PageDisplay in class PlumtreeDP
Returns:
Throws:
HTMLException

makeSpacer

public static HTMLElement makeSpacer(java.lang.String height,
                                     AActivitySpace owner)
Parameters:
height -
Returns:
Throws:
HTMLException

DisplayJavaScriptFromChild

protected HTMLScriptCollection DisplayJavaScriptFromChild()
Description copied from class: AFormDP
This is a helper method that all classes that inherit from AFormDP can override if they like. The method provides a hook into the head so that DP's can add javascript. Simply override and return and HTMLScript. Also, it is best to return the results of the DisplayJavaScript functions from the appropriate views. Override this method to Display javascript from child IViews

Overrides:
DisplayJavaScriptFromChild in class AFormDP
Returns:
Throws:
HTMLException

MakeSearchHelpText

public static HTMLTable MakeSearchHelpText(AActivitySpace m_asOwner)
Returns:
Throws:
HTMLException

AddHiddenModeInput

protected void AddHiddenModeInput(HTMLElement result)

GetAdvancedSearchURL

public static ASURL GetAdvancedSearchURL(AActivitySpace m_asOwner)



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