public class OwRecordSearchTemplateView
extends com.wewebu.ow.server.ui.OwLayout
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
Modifier and Type | Field and Description |
---|---|
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 int |
m_searchListSize
new search max list size
|
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
|
Constructor and Description |
---|
OwRecordSearchTemplateView() |
Modifier and Type | Method and Description |
---|---|
com.wewebu.ow.server.app.OwSearchCriteriaView |
getCriteriaView()
get the internal criteria view
|
int |
getiMaxSizeMax() |
protected void |
init()
init the target after the context is set.
|
boolean |
isMaxResultEnabled() |
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
|
void |
setiMaxSizeMax(int m_iMaxSizeMax) |
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
|
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegion
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
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
protected int m_searchListSize
public com.wewebu.ow.server.app.OwSearchCriteriaView getCriteriaView()
protected void init() throws Exception
init
in class com.wewebu.ow.server.ui.OwView
Exception
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.OwUpdateTarget
onUpdate
in class com.wewebu.ow.server.ui.OwView
caller_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 nullException
public void onDoReset(javax.servlet.http.HttpServletRequest request_p, Object oReason_p) throws Exception
request_p
- HttpServletRequest
oReason_p
- Reason object submitted in the menu item creationException
public void onDoSearch(javax.servlet.http.HttpServletRequest request_p, Object oReason_p) throws Exception
request_p
- a HttpServletRequest
oReason_p
- Reason object submitted in the menu item creationException
protected void onRender(Writer w_p) throws Exception
onRender
in class com.wewebu.ow.server.ui.OwView
w_p
- Writer object to write HTML toException
public void renderRegion(Writer w_p, int iRegion_p) throws Exception
renderRegion
in interface com.wewebu.ow.server.ui.OwBaseView
renderRegion
in class com.wewebu.ow.server.ui.OwLayout
w_p
- Writer object to write HTML toiRegion_p
- ID of the region to renderException
public boolean updateExternalFormTarget(javax.servlet.http.HttpServletRequest request_p, boolean fSave_p) throws Exception
updateExternalFormTarget
in class com.wewebu.ow.server.ui.OwEventTarget
request_p
- HttpServletRequestfSave_p
- boolean true = save the changes of the form data, false = just update the form data, but do not saveException
public boolean isMaxResultEnabled()
public int getiMaxSizeMax()
public void setiMaxSizeMax(int m_iMaxSizeMax)
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.