com.arsdigita.cms.ui
Class ItemSearchPage

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.bebop.TextStylable
              extended bycom.arsdigita.bebop.BlockStylable
                  extended bycom.arsdigita.bebop.Page
                      extended bycom.arsdigita.cms.dispatcher.CMSPage
                          extended bycom.arsdigita.cms.ui.ItemSearchPage
All Implemented Interfaces:
Cloneable, com.arsdigita.bebop.Component, com.arsdigita.bebop.Container, com.arsdigita.dispatcher.Dispatcher, com.arsdigita.util.Lockable, ResourceHandler

public class ItemSearchPage
extends CMSPage

The Item Search page.

Version:
$Revision: #11 $ $DateTime: 2004/04/07 16:07:11 $
Author:
Scott Seago (scott@arsdigita.com)

Field Summary
static String CONTENT_SECTION
           
 
Fields inherited from class com.arsdigita.cms.dispatcher.CMSPage
ASSETS, CMS_XML_NS, PAGE_CLASS, versionId
 
Fields inherited from class com.arsdigita.bebop.Page
m_invisible, m_panel
 
Fields inherited from class com.arsdigita.bebop.BlockStylable
ABSBOTTOM, ABSMIDDLE, BASELINE, BOTTOM, CENTER, FULL_WIDTH, INSERT, LEFT, MIDDLE, RIGHT, TEXTTOP, TOP
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
ItemSearchPage()
          Construct a new ItemSearchPage
 
Method Summary
protected  void addToPane(com.arsdigita.bebop.TabbedPane pane, String tabName, com.arsdigita.bebop.Component comp)
          Adds the specified component, with the specified tab name, to the tabbed pane only if it is not null.
protected  com.arsdigita.bebop.TabbedPane createTabbedPane()
          Created the TabbedPane to use for this page.
 void dispatch(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.arsdigita.dispatcher.RequestContext actx)
          This strange voodoo from Dan.
protected  ItemSearchBrowsePane getBrowsePane()
          Creates, and then caches, the Browse pane.
protected  ItemSearchPopup getSearchPane()
          Creates, and then caches, the Creation pane.
 
Methods inherited from class com.arsdigita.cms.dispatcher.CMSPage
buildPage, generateXMLHelper, getContentItem, getContentItem, getContentSection, getContentSection, getCurrentUser, getXMLParameter, init, setXMLParameter
 
Methods inherited from class com.arsdigita.bebop.Page
add, add, addActionListener, addClientStylesheet, addComponent, addComponentStateParam, addGlobalStateParam, addRequestListener, buildDocument, children, contains, fireActionEvent, fireRequestEvent, generateXML, generateXML, get, getComponent, getComponentParameters, getErrorDisplay, getPanel, getParameters, getStateModel, getTitle, getTitle, indexOf, isEmpty, isUsingHttpSession, isVisibleDefault, lock, parameterName, parameterName, prepare, process, process, removeActionListener, removeRequestListener, respond, setErrorDisplay, setPanel, setStyleSheet, setTitle, setTitle, setUsingHttpSession, setVisibleDefault, size, stateContains, stateIndex, stateSize
 
Methods inherited from class com.arsdigita.bebop.BlockStylable
setBorder, setBorder, setBorderColor, setHorizontalAlignment, setMargin, setMargin, setPadding, setPadding, setVerticalAlignment
 
Methods inherited from class com.arsdigita.bebop.TextStylable
setBackgroundColor, setColor
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, register, register, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible
 
Methods inherited from class com.arsdigita.bebop.Completable
addCompletionListener, fireCompletionEvent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.arsdigita.bebop.Component
getClassAttr, getIdAttr, getKey, getStyleAttr, isVisible, register, register, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible
 
Methods inherited from interface com.arsdigita.util.Lockable
isLocked
 

Field Detail

CONTENT_SECTION

public static final String CONTENT_SECTION
See Also:
Constant Field Values
Constructor Detail

ItemSearchPage

public ItemSearchPage()
Construct a new ItemSearchPage

Method Detail

getBrowsePane

protected ItemSearchBrowsePane getBrowsePane()
Creates, and then caches, the Browse pane. Overriding this method to return null will prevent this tab from appearing. Note: not implemented yet.


getSearchPane

protected ItemSearchPopup getSearchPane()
Creates, and then caches, the Creation pane. Overriding this method to return null will prevent this tab from appearing.


createTabbedPane

protected com.arsdigita.bebop.TabbedPane createTabbedPane()
Created the TabbedPane to use for this page. Sets the class attribute for this tabbed pane. The default implementation uses a TabbedPane and sets the class attribute to "CMS Admin." This implementation also adds tasks, content sections, and search panes. Developers can override this method to add only the tabs they want, or to add additional tabs after the default CMS tabs are added.


addToPane

protected void addToPane(com.arsdigita.bebop.TabbedPane pane,
                         String tabName,
                         com.arsdigita.bebop.Component comp)
Adds the specified component, with the specified tab name, to the tabbed pane only if it is not null.

Parameters:
pane - The pane to which to add the tab
tabName - The name of the tab if it's added
comp - The component to add to the pane

dispatch

public void dispatch(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     com.arsdigita.dispatcher.RequestContext actx)
              throws IOException,
                     javax.servlet.ServletException
This strange voodoo from Dan. No idea what it does.

Specified by:
dispatch in interface com.arsdigita.dispatcher.Dispatcher
Overrides:
dispatch in class CMSPage
Parameters:
request - The servlet request object
response - the servlet response object
actx - The request context
Throws:
IOException
javax.servlet.ServletException


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2352 UTC