public class OwSettingsSetView
extends com.wewebu.ow.server.ui.OwLayout
Settings Set View.
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 |
BUTTON_REGION
name of the button / menu region
|
static int |
ERRORS_REGION
Errors region
|
protected static String |
HELP_PATH |
protected boolean |
m_fAdmin
has user admin rights ?
|
protected com.wewebu.ow.server.app.OwSubMenuView |
m_MenuView
the buttons for the search form
|
protected com.wewebu.ow.server.app.OwSettings |
m_Settings
reference to the settings
|
protected com.wewebu.ow.server.app.OwSettingsSet |
m_settingsSet
settingset node of the selected plugin
|
protected List |
m_UserItemList
list with user items
|
static int |
MAIN_REGION
name of the button / menu region
|
Constructor and Description |
---|
OwSettingsSetView() |
Modifier and Type | Method and Description |
---|---|
protected void |
init()
called when the view should create its HTML content to be displayed
|
protected void |
onActivate(int iIndex_p,
Object oReason_p)
activate the target from a navigation module.
|
void |
onApply(javax.servlet.http.HttpServletRequest request_p,
Object oReason_p)
event called when user clicked apply
|
void |
onOpenHelp(javax.servlet.http.HttpServletRequest request_p)
called when user clicked a help icon
|
protected void |
onRender(Writer w_p)
render the view
|
void |
onReset(javax.servlet.http.HttpServletRequest request_p,
Object oReason_p)
event called when user clicked Reset
|
protected void |
renderErrorsRegion(Writer w_p)
Render errors regions, if there are any errors.
|
protected void |
renderMainRegion(Writer w_p)
called when the view should create its HTML content to be displayed
|
void |
renderRegion(Writer w_p,
int iRegion_p)
render the views of the region
|
protected void |
renderSettingsSet(Writer w_p,
boolean fUser_p)
render the view
|
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
|
protected String |
usesFormWithAttributes()
to get additional form attributes used for the form
override if your view needs a form.
|
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, onUpdate, render, renderHTMLFormular, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal
protected static final String HELP_PATH
protected List m_UserItemList
public static final int BUTTON_REGION
public static final int MAIN_REGION
public static final int ERRORS_REGION
protected com.wewebu.ow.server.app.OwSettingsSet m_settingsSet
protected com.wewebu.ow.server.app.OwSubMenuView m_MenuView
protected com.wewebu.ow.server.app.OwSettings m_Settings
protected boolean m_fAdmin
protected void init() throws Exception
init
in class com.wewebu.ow.server.ui.OwView
Exception
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
protected String usesFormWithAttributes()
usesFormWithAttributes
in class com.wewebu.ow.server.ui.OwView
protected void renderMainRegion(Writer w_p) throws Exception
Exception
protected void renderSettingsSet(Writer w_p, boolean fUser_p) throws Exception
w_p
- Writer object to write HTML tofUser_p
- booleanException
public void onOpenHelp(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- Exception
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
protected void renderErrorsRegion(Writer w_p) throws IOException
w_p
- - the Writer
object.IOException
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
protected void onActivate(int iIndex_p, Object oReason_p) throws Exception
onActivate
in class com.wewebu.ow.server.ui.OwView
iIndex_p
- int
tab index of NavigationoReason_p
- User Object which was submitted when target was attached to the navigation moduleException
public void onApply(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
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.