com.raritantechnologies.searchApp.alert
Class DeleteListSearchElementRenderer
java.lang.Object
com.raritantechnologies.searchApp.query.taglibrary.ReadQueriesSearchElementRenderer
com.raritantechnologies.searchApp.alert.DeleteListSearchElementRenderer
- All Implemented Interfaces:
- IConfigurable, ISearchElementRenderer
- public class DeleteListSearchElementRenderer
- extends ReadQueriesSearchElementRenderer
Renders a set of queries with images that allow the queies to be deleted.
XML Configuration Template:
<SearchElementRenderer
rendererClass="com.raritantechnologies.searchApp.alert.DeleteListSearchElementRenderer"
applicationName="[The application name - needed if mixed schema in persistant store]"
queryReader="[name of query reader system object (alternate to QueryReader tag)]"
sortBy="NAME|QUERIES|DATE|RESULTS|TIME"
sortDir="asc|desc"
externalSearchForm="[alternate search form to execute]"
queryWriter="[name of Query Writer system object to update alert status..]"
deleteImage="[image name]"
deleteImagePos="left|right"
numberOfRows="[number of rows to display in results. defaults to 10]"
width="width" >
<QueryWriter class="[Implementation class of IQueryResultSetWriter]" >
<!-- Parameters needed by QueryWriter class -->
</QueryWriter>
<QueryReader class="[Implementation class of IQueryResultSetReader]" >
<!-- Parameters needed by QueryReader class -->
</QueryReader>
<!-- parameters to be inserted into the SearchForm Page Context -->
<SearchParams>
<Param ID="[a request param ID]" />
<Param ID="[another param ID]" />
</SearchParams>
</SearchElementRenderer>
Developed by
Raritan Technologies .
- Author:
- Chris Peterson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteListSearchElementRenderer
public DeleteListSearchElementRenderer()
getBody
public java.lang.String getBody(ISearchFormRenderer parent,
RaritanPageContext pageContext)
- Description copied from interface:
ISearchElementRenderer
- Returns the element html fragment.
- Specified by:
getBody in interface ISearchElementRenderer- Overrides:
getBody in class ReadQueriesSearchElementRenderer
processResults
protected java.lang.String processResults(ISearchFormRenderer parent,
java.util.Iterator it,
RaritanPageContext pageContext)
- Overrides:
processResults in class ReadQueriesSearchElementRenderer
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from interface:
ISearchElementRenderer
- Initialize renderer-specific parameters from the configuration XML tag.
- Specified by:
initialize in interface ISearchElementRenderer- Overrides:
initialize in class ReadQueriesSearchElementRenderer