|
|||||||
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.explorer.CmsNewResource
org.opencms.workplace.explorer.CmsNewResourcePointer
org.opencms.workplace.explorer.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, DELIM_PROPERTYVALUES, DIALOG_ADVANCED, DIALOG_NEWFORM, DIALOG_SUBMITFORM, DIALOG_TYPE, PARAM_APPENDSUFFIXHTML, PARAM_CURRENTFOLDER, PARAM_NEWRESOURCEEDITPROPS, PARAM_NEWRESOURCETYPE, PARAM_NEWRESOURCEURI, VALUE_DEFAULT |
Fields inherited from class org.opencms.workplace.tools.CmsToolDialog |
PARAM_BASE, 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.tools.CmsToolDialog |
dialogTitle, getAdminTool, getCurrentToolPath, getParamBase, getParamPath, getParamRoot, getParamStyle, getParentPath, getToolManager, iconsBlockArea, iconsBlockAreaEnd, iconsBlockAreaStart, initAdminTool, pageBody, pageHtmlStyle, setParamBase, 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 elementpublic 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 responseMethod Detail |
public void actionCreateResource() throws javax.servlet.jsp.JspException
actionCreateResource
in class CmsNewResourcePointer
javax.servlet.jsp.JspException
- if inclusion of error dialog failspublic 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 CmsNewResource
java.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 valueprotected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, javax.servlet.http.HttpServletRequest request)
CmsWorkplace
initWorkplaceRequestValues
in class CmsNewResourcePointer
CmsWorkplace.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 |