|
||||||||||
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.owsettings.OwSettingsSetView
public class OwSettingsSetView
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
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 |
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 |
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 | |
---|---|
OwSettingsSetView()
|
Method Summary | |
---|---|
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. |
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, onUpdate, render, renderHTMLFormular, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal |
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 |
---|
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
Constructor Detail |
---|
public OwSettingsSetView()
Method Detail |
---|
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 to
Exception
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
- boolean
Exception
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 render
Exception
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 save
Exception
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 module
Exception
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 creation
Exception
public void onReset(javax.servlet.http.HttpServletRequest request_p, Object oReason_p) throws Exception
request_p
- a HttpServletRequest
oReason_p
- Reason object submitted in the menu item creation
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |