ZMObject
|
+--ZMController
|
+--ZMSearchController
public class ZMSearchController
extends ZMController
| Constructor Summary | |
|---|---|
Create new instance. |
|
| Method Summary | |
|---|---|
| boolean | Get the auto search setting. |
| boolean | {@inheritDoc} / |
| ZMView | Process a HTTP GET request. |
| void | setAutoSearch(boolean autoSearch) Set the auto search flag. |
| Methods inherited from org.zenmagick.rp.ZMController | |
|---|---|
| exportGlobal, findView, getFormBean, getGlobal, getGlobals, getId, getView, handleRequest, isFormSubmit, process, processGet, processPost, setContentType, setId, setView, validate, validateFormBean | |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMSearchController()
Create new instance. /
public boolean isAutoSearch()
Get the auto search setting.
public boolean isFormSubmit()
/
true if this is a form submit request.public ZMView processGet()
Process a HTTP GET request.
ZMView that handles presentation or null
* if the controller generates the contents itself.public void setAutoSearch(boolean autoSearch)
Set the auto search flag.
If enabled, the controller will automatically run a search even if only the keyword is set. This allows to create simple URLs that run a search.
Search controller.
The default for autoSearch is
true.