18 package org.turro.elephant.search;
20 import java.io.IOException;
21 import java.io.PrintWriter;
22 import java.util.HashSet;
23 import javax.servlet.ServletException;
24 import org.turro.elephant.context.IElement;
25 import org.turro.elephant.impl.abstracts.AbstractElement;
26 import org.turro.elephant.impl.util.Localizer;
27 import org.turro.elephant.layout.IManageable;
28 import org.turro.elephant.layout.IRenderable;
29 import org.turro.elephant.security.IDefendable;
30 import org.turro.elephant.web.ElContext;
31 import org.turro.elephant.web.ElContextMap;
47 HashSet els =
new HashSet();
50 if(ctx.isSelectable() && ctx.isInRole() && !ctx.getWebContext().isDynamic()) {
54 sel = ctx.getElement();
73 if(value !=
null && value.length() > 0) {
75 for(
int i = 0; i < els.length; i++) {
92 "/WEB-INF/elephant/elements/search.jsp"
100 return "<div class='search'>";
void addResults(FoundList newList)
ISearchable[] getElements()
FoundList search(String value, boolean ignoreCase)
static ElContextMap getInstance()
void setRequestAttribute(String key, Object value)
void includeContent(String path)
void addCSS(String cssFile)
IConstructor getConstructor()