org.activemath.webapp.dict
Class SearchController
java.lang.Object
org.infohazard.maverick.ctl.Throwaway2
org.infohazard.maverick.ctl.ThrowawayBean2
org.activemath.webapp.base.ControllerBase
org.activemath.webapp.dict.SearchController
- All Implemented Interfaces:
- Controller
public class SearchController
- extends ControllerBase
This controller is the processor for any search-related request.
It works ont he principle of eating any request parameter, writing
it to the DictionaryState (stored in the session) and redirecting
the browser to a "plain" URL which is "GET"ted to deliver the content.
This ensures a fully smooth sequence of back and forth and each
steps to be reloadable.
More todos and observations:
- Someone in the evaluation requested differenzquozient... no result although differenzenquotient should have matched it... composed-words splitting would be wished or ?
|
Method Summary |
String |
action()
This is the method you should override to implement application logic. |
protected String |
getLanguage()
Return the view language computed from
either the current user or the query-language. |
void |
setPageLimit(int pageLimit)
|
| Methods inherited from class org.activemath.webapp.base.ControllerBase |
addError, addError, enableNoCache, escapeForHtmlSafety, getAccountManager, getAppSession, getCmdName, getCurrentUser, getErrors, getHttpSession, getModel, getOutputFormat, getRequest, getResponse, getSkin, hasErrors, perform, publishControllerEvent, sendError, sendError, sendJson, sendLoginRequired, sendRedirect, sendRedirect, setPasswd, setUser |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchController
public SearchController()
setPageLimit
public void setPageLimit(int pageLimit)
action
public String action()
throws Exception
- Description copied from class:
ControllerBase
- This is the method you should override to implement application logic.
- Overrides:
action in class ControllerBase
- Throws:
Exception
getLanguage
protected String getLanguage()
- Return the view language computed from
either the current user or the query-language.
- Overrides:
getLanguage in class ControllerBase
- Returns:
- the language