|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.opencms.workplace.CmsWorkplace
org.opencms.workplace.tools.CmsToolDialog
org.opencms.workplace.CmsDialog
org.opencms.workplace.list.A_CmsListDialog
org.opencms.workplace.list.A_CmsListResourceTypeDialog
org.opencms.workplace.explorer.CmsNewResource
org.opencms.workplace.explorer.CmsNewResourcePointer
org.opencms.workplace.explorer.CmsNewResourceSibling
public class CmsNewResourceSibling
The new resource sibling dialog handles the creation of a new sibling in the VFS.
The following files use this class:
| Field Summary | |
|---|---|
static java.lang.String |
PARAM_KEEPPROPERTIES
Request parameter name for the keep properties flag. |
| Fields inherited from class org.opencms.workplace.explorer.CmsNewResourcePointer |
|---|
PARAM_LINKTARGET |
| Fields inherited from class org.opencms.workplace.explorer.CmsNewResource |
|---|
ACTION_NEWFORM, ACTION_SUBMITFORM, BUTTON_NEXT, DEFAULT_SUFFIX, DELIM_PROPERTYVALUES, DIALOG_ADVANCED, DIALOG_NEWFORM, DIALOG_SUBMITFORM, DIALOG_TYPE, LIST_COLUMN_URI, PARAM_APPENDSUFFIXHTML, PARAM_CURRENTFOLDER, PARAM_NEWFORMURI, PARAM_NEWRESOURCEEDITPROPS, PARAM_NEWRESOURCETYPE, PARAM_NEWRESOURCEURI, SESSION_ATTR_ADVANCED, SESSION_ATTR_PAGE, VALUE_DEFAULT |
| Fields inherited from class org.opencms.workplace.list.A_CmsListResourceTypeDialog |
|---|
LIST_ACTION_SEL, LIST_COLUMN_ICON, LIST_COLUMN_NAME, LIST_COLUMN_SELECT, LIST_DETAIL_DESCRIPTION, LIST_ID, PARAM_SELECTED_TYPE |
| Fields inherited from class org.opencms.workplace.tools.CmsToolDialog |
|---|
PARAM_BASE, PARAM_FORCE, PARAM_PATH, PARAM_ROOT, PARAM_STYLE, STYLE_NEW |
| Constructor Summary | |
|---|---|
CmsNewResourceSibling(CmsJspActionElement jsp)
Public constructor with JSP action element. |
|
CmsNewResourceSibling(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Public constructor with JSP variables. |
|
| Method Summary | |
|---|---|
void |
actionCreateResource()
Creates the new sibling of a resource. |
void |
actionEditProperties()
Forwards to the property dialog if the resourceeditprops parameter is true. |
java.lang.String |
getCurrentPath()
Returns the current explorer path for use in Javascript of new sibling dialog. |
java.lang.String |
getParamKeepProperties()
Returns the keep properties request parameter value. |
protected void |
initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
Analyzes the request for workplace parameters and adjusts the workplace settings accordingly. |
void |
setParamKeepProperties(java.lang.String keepProperties)
Sets the keep properties request parameter value. |
| Methods inherited from class org.opencms.workplace.explorer.CmsNewResourcePointer |
|---|
getParamLinkTarget, setParamLinkTarget |
| Methods inherited from class org.opencms.workplace.list.A_CmsListResourceTypeDialog |
|---|
customHtmlBeforeList, customHtmlEnd, defaultActionHtmlContent, executeListMultiActions, executeListSingleActions, fillDetails, getParamSelectedType, paramsAsHidden, setIndependentActions, setMultiActions, setParamSelectedType |
| Methods inherited from class org.opencms.workplace.tools.CmsToolDialog |
|---|
dialogTitle, getAdminTool, getCurrentToolPath, getParamBase, getParamForce, getParamPath, getParamRoot, getParamStyle, getParentPath, getToolManager, iconsBlockArea, iconsBlockAreaEnd, iconsBlockAreaStart, initAdminTool, pageBody, pageHtmlStyle, setParamBase, setParamForce, setParamPath, setParamRoot, setParamStyle, useNewStyle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PARAM_KEEPPROPERTIES
| Constructor Detail |
|---|
public CmsNewResourceSibling(CmsJspActionElement jsp)
jsp - an initialized JSP action element
public CmsNewResourceSibling(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
context - the JSP page contextreq - the JSP requestres - the JSP response| Method Detail |
|---|
public void actionCreateResource()
throws javax.servlet.jsp.JspException
actionCreateResource in class CmsNewResourcePointerjavax.servlet.jsp.JspException - if inclusion of error dialog fails
public void actionEditProperties()
throws java.io.IOException,
javax.servlet.jsp.JspException,
javax.servlet.ServletException
If the parameter is not true, the dialog will be closed.
If the sibling of the new resource is locked, the paramter will be ignored as properties cannot be created in this case.
actionEditProperties in class CmsNewResourcejava.io.IOException - if forwarding to the property dialog fails
javax.servlet.ServletException - if forwarding to the property dialog fails
javax.servlet.jsp.JspException - if an inclusion failspublic java.lang.String getCurrentPath()
public java.lang.String getParamKeepProperties()
public void setParamKeepProperties(java.lang.String keepProperties)
keepProperties - the keep properties request parameter value
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
CmsWorkplace
initWorkplaceRequestValues in class CmsNewResourcePointersettings - the workplace settingsrequest - the current requestCmsWorkplace.initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettings, javax.servlet.http.HttpServletRequest)
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||