com.raritantechnologies.portlet
Class SearchFormPortletRenderer
java.lang.Object
com.raritantechnologies.portlet.SearchFormPortletRenderer
- All Implemented Interfaces:
- IConfigurable, IPortletRenderer
- public class SearchFormPortletRenderer
- extends java.lang.Object
- implements IPortletRenderer
Portlet Renderer that wraps an ISearchFormRenderer.
XML Configuration Template:
<PortletRenderer class="com.raritantechnologies.portlet.SearchFormPortletRenderer"
searchFormName="[ name of SearchForm in RTI configuration ]"
categoryName="[ optional search form category (necessary if SearchForm tag defines a category) ]"
initialFields="[ initial Search form fields ]"
hiddenFields="[ fixed hidden fields ]"
action=[ form action value ]"
formInitArgs="[ Additional arguments (name=value attributes) to the HTML form tag. (see SearchForm ]" />
Developed by
Raritan Technologies .
- Author:
- Ted Sullivan
|
Method Summary |
void |
destroy()
|
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
void |
render(PortletHandler portletHandler,
RenderRequest request,
RenderResponse response)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchFormPortletRenderer
public SearchFormPortletRenderer()
render
public void render(PortletHandler portletHandler,
RenderRequest request,
RenderResponse response)
throws PortletException,
java.io.IOException
- Specified by:
render in interface IPortletRenderer
- Throws:
PortletException
java.io.IOException
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from interface:
IConfigurable
- Initializes the object from an XML tag or element.
This method is called by the Framework as part of the application initializtion.
see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory.
Configurable objects that are owned or contained by other configurable objects will be initialized
in by the parent object.
- Specified by:
initialize in interface IConfigurable
destroy
public void destroy()
- Specified by:
destroy in interface IPortletRenderer