|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.ui.OwEventTarget
com.wewebu.ow.server.ui.OwView
com.wewebu.ow.server.ui.OwLayout
com.wewebu.ow.server.plug.owrecord.OwRecordSearchTemplateView
public class OwRecordSearchTemplateView
View for the search template, to refine the child list of a open folder.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.wewebu.ow.server.ui.OwLayout |
|---|
com.wewebu.ow.server.ui.OwLayout.OwDispatchRegion |
| Field Summary | |
|---|---|
static int |
DEBUG_SEARCH_DUMP_REGION
region for the search tree dump for debugging only |
protected int |
m_iMaxSizeMax
the maximum size that is possible for the maximum size parameter |
protected int |
m_iSubmitBtnIndex
index of the submit button |
protected com.wewebu.ow.server.app.OwSubMenuView |
m_MenuView
the buttons for the search form |
protected com.wewebu.ow.server.app.OwSearchCriteriaView |
m_SearchCriteriaView
view to display and edit the criteria |
protected com.wewebu.ow.server.field.OwSearchTemplate |
m_searchtemplate
currently set search template |
static String |
MAX_RESULT_LIST_KEY
query string key for the result list size |
static int |
MAX_SIZE_REGION
region of max size input box |
static int |
MENU_REGION
region of the submit button |
static int |
SEARCH_CRITERIA_REGION
region of the search criteria |
| Fields inherited from class com.wewebu.ow.server.ui.OwLayout |
|---|
m_Regions |
| Fields inherited from class com.wewebu.ow.server.ui.OwView |
|---|
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget |
| Fields inherited from interface com.wewebu.ow.server.ui.OwBaseView |
|---|
EMPTY_STRING |
| Constructor Summary | |
|---|---|
OwRecordSearchTemplateView()
|
|
| Method Summary | |
|---|---|
com.wewebu.ow.server.app.OwSearchCriteriaView |
getCriteriaView()
get the internal criteria view |
protected void |
init()
init the target after the context is set. |
void |
onDoReset(javax.servlet.http.HttpServletRequest request_p,
Object oReason_p)
event called when user clicked DoReset |
void |
onDoSearch(javax.servlet.http.HttpServletRequest request_p,
Object oReason_p)
event called when user clicked the search submit button |
protected void |
onRender(Writer w_p)
called when the view should create its HTML content to be displayed |
void |
onUpdate(com.wewebu.ow.server.ui.OwEventTarget caller_p,
int iCode_p,
Object param_p)
called by the framework to update the view when OwDocument.Update was called NOTE: We can not use the onRender method to update, because we do not know the call order of onRender. |
void |
renderRegion(Writer w_p,
int iRegion_p)
render the views of the region |
boolean |
updateExternalFormTarget(javax.servlet.http.HttpServletRequest request_p,
boolean fSave_p)
update the target after a form event, so it can set its form fields |
| Methods inherited from class com.wewebu.ow.server.ui.OwLayout |
|---|
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegion |
| Methods inherited from class com.wewebu.ow.server.ui.OwView |
|---|
activate, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, isFormTargetExternal, isNamedRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, render, renderHTMLFormular, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributes |
| Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget |
|---|
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SEARCH_CRITERIA_REGION
public static final int MENU_REGION
public static final int MAX_SIZE_REGION
public static final int DEBUG_SEARCH_DUMP_REGION
public static final String MAX_RESULT_LIST_KEY
protected int m_iMaxSizeMax
protected com.wewebu.ow.server.app.OwSearchCriteriaView m_SearchCriteriaView
protected com.wewebu.ow.server.field.OwSearchTemplate m_searchtemplate
protected com.wewebu.ow.server.app.OwSubMenuView m_MenuView
protected int m_iSubmitBtnIndex
| Constructor Detail |
|---|
public OwRecordSearchTemplateView()
| Method Detail |
|---|
public com.wewebu.ow.server.app.OwSearchCriteriaView getCriteriaView()
protected void init()
throws Exception
init in class com.wewebu.ow.server.ui.OwViewException
public void onUpdate(com.wewebu.ow.server.ui.OwEventTarget caller_p,
int iCode_p,
Object param_p)
throws Exception
onUpdate in interface com.wewebu.ow.server.ui.OwUpdateTargetonUpdate in class com.wewebu.ow.server.ui.OwViewcaller_p - OwEventTarget target that called updateiCode_p - int optional reason codeparam_p - Object optional parameter representing the refresh, depends on the value of iCode_p, can be null
Exception
public void onDoReset(javax.servlet.http.HttpServletRequest request_p,
Object oReason_p)
throws Exception
request_p - HttpServletRequestoReason_p - Reason object submitted in the menu item creation
Exception
public void onDoSearch(javax.servlet.http.HttpServletRequest request_p,
Object oReason_p)
throws Exception
request_p - a HttpServletRequestoReason_p - Reason object submitted in the menu item creation
Exception
protected void onRender(Writer w_p)
throws Exception
onRender in class com.wewebu.ow.server.ui.OwVieww_p - Writer object to write HTML to
Exception
public void renderRegion(Writer w_p,
int iRegion_p)
throws Exception
renderRegion in interface com.wewebu.ow.server.ui.OwBaseViewrenderRegion in class com.wewebu.ow.server.ui.OwLayoutw_p - Writer object to write HTML toiRegion_p - ID of the region to render
Exception
public boolean updateExternalFormTarget(javax.servlet.http.HttpServletRequest request_p,
boolean fSave_p)
throws Exception
updateExternalFormTarget in class com.wewebu.ow.server.ui.OwEventTargetrequest_p - HttpServletRequestfSave_p - boolean true = save the changes of the form data, false = just update the form data, but do not save
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||