com.arsdigita.cms.ui
Class ItemSearchSectionInline

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.bebop.FormSection
              extended bycom.arsdigita.cms.ui.ItemSearchSection
                  extended bycom.arsdigita.cms.ui.ItemSearchSectionInline
All Implemented Interfaces:
Cloneable, com.arsdigita.bebop.Component, com.arsdigita.bebop.Container, com.arsdigita.util.Lockable, com.arsdigita.search.ui.QueryGenerator, com.arsdigita.bebop.Resettable

public class ItemSearchSectionInline
extends ItemSearchSection

A counterpart to ItemSearchPopup designed to be embedded in a form for use when javascript popup is not available.

Version:
$Id: //cms/dev/src/com/arsdigita/cms/ui/ItemSearchSectionInline.java#8 $
Author:
Stanislav Freidin (sfreidin@arsdigita.com)

Field Summary
static String versionId
           
 
Fields inherited from class com.arsdigita.cms.ui.ItemSearchSection
SINGLE_TYPE_PARAM
 
Fields inherited from class com.arsdigita.bebop.FormSection
m_formModel, m_panel
 
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
ItemSearchSectionInline(String name, String context)
          Construct a new ItemSearchSectionInline component
 
Method Summary
protected  void addFormListener()
           
protected  void addResultsPane(com.arsdigita.bebop.Container container)
           
protected  com.arsdigita.bebop.Component createResultsPane(com.arsdigita.search.ui.QueryGenerator generator)
           
 ContentItem getSelectedItem(com.arsdigita.bebop.PageState state)
           
 boolean isItemSelected(com.arsdigita.bebop.PageState state)
           
 void processQuery(com.arsdigita.bebop.PageState state)
           
 void register(com.arsdigita.bebop.Page p)
           
 
Methods inherited from class com.arsdigita.cms.ui.ItemSearchSection
addQueryGenerator, createQueryGenerator, getQuerySpecification, hasQuery, reset
 
Methods inherited from class com.arsdigita.bebop.FormSection
add, add, addCancelListener, addInitListener, addProcessListener, addSubmissionListener, addValidationListener, children, contains, createInitListener, createProcessListener, createSubmissionListener, createValidationListener, fireCancel, fireInit, fireProcess, fireSubmitted, fireValidate, forwardInit, forwardProcess, forwardSubmission, forwardValidation, generateXML, get, getModel, getPanel, indexOf, isEmpty, lock, process, register, removeCancelListener, removeInitListener, removeProcessListener, removeSubmissionListener, removeValidationListener, respond, size
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, 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, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible
 
Methods inherited from interface com.arsdigita.util.Lockable
isLocked
 

Field Detail

versionId

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

ItemSearchSectionInline

public ItemSearchSectionInline(String name,
                               String context)
Construct a new ItemSearchSectionInline component

Parameters:
context - the context for the retrieved items. Should be ContentItem.DRAFT or ContentItem.LIVE
Method Detail

register

public void register(com.arsdigita.bebop.Page p)
Specified by:
register in interface com.arsdigita.bebop.Component
Overrides:
register in class ItemSearchSection

createResultsPane

protected com.arsdigita.bebop.Component createResultsPane(com.arsdigita.search.ui.QueryGenerator generator)
Overrides:
createResultsPane in class ItemSearchSection

addResultsPane

protected void addResultsPane(com.arsdigita.bebop.Container container)
Overrides:
addResultsPane in class ItemSearchSection

addFormListener

protected void addFormListener()
Overrides:
addFormListener in class ItemSearchSection

processQuery

public void processQuery(com.arsdigita.bebop.PageState state)
Overrides:
processQuery in class ItemSearchSection

isItemSelected

public boolean isItemSelected(com.arsdigita.bebop.PageState state)

getSelectedItem

public ContentItem getSelectedItem(com.arsdigita.bebop.PageState state)


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