@Override
    public void actionCloseDialog() throws JspException {

        if ((getAction() == ACTION_SAVE_EDIT) && MODE_WIZARD.equals(getParamDialogmode())) {
            // set request attribute to reload the folder tree after creating a folder in wizard mode
            try {
                CmsResource res = getCms().readResource(getParamResource(), CmsResourceFilter.ALL);
                if (res.isFolder()) {
                    List<String> folderList = new ArrayList<String>(1);
                    folderList.add(CmsResource.getParentFolder(getParamResource()));
                    getJsp().getRequest().setAttribute(REQUEST_ATTRIBUTE_RELOADTREE, folderList);
                }
            } catch (CmsException e) {
                // should usually never happen
                if (LOG.isInfoEnabled()) {
                    LOG.info(e.getLocalizedMessage());
                }
            }
        } else if (MODE_WIZARD_INDEXCREATED.equals(getParamDialogmode())) {
            // set request attribute to reload the folder tree after creating an xml page in a new created folder in wizard mode
            getSettings().setExplorerResource(
                CmsResource.getParentFolder(CmsResource.getParentFolder(getParamResource())),
                getCms());
            List<String> folderList = new ArrayList<String>(1);
            folderList.add(CmsResource.getParentFolder(CmsResource.getParentFolder(getParamResource())));
            getJsp().getRequest().setAttribute(REQUEST_ATTRIBUTE_RELOADTREE, folderList);
        }
        super.actionCloseDialog();
    }
@ Override public void actionCloseDialog ( ) throws JspException { if ( ( getAction ( ) == ACTION_SAVE_EDIT ) && MODE_WIZARD . equals ( getParamDialogmode ( ) ) ) { try { CmsResource res = getCms ( ) . readResource ( getParamResource ( ) , CmsResourceFilter . ALL ) ; if ( res . isFolder ( ) ) { List < String > folderList = new ArrayList < String > ( 1 ) ; folderList . add ( CmsResource . getParentFolder ( getParamResource ( ) ) ) ; getJsp ( ) . getRequest ( ) . setAttribute ( REQUEST_ATTRIBUTE_RELOADTREE , folderList ) ; } } catch ( CmsException e ) { if ( LOG . isInfoEnabled ( ) ) { LOG . info ( e . getLocalizedMessage ( ) ) ; } } } else if ( MODE_WIZARD_INDEXCREATED . equals ( getParamDialogmode ( ) ) ) { getSettings ( ) . setExplorerResource ( CmsResource . getParentFolder ( CmsResource . getParentFolder ( getParamResource ( ) ) ) , getCms ( ) ) ; List < String > folderList = new ArrayList < String > ( 1 ) ; folderList . add ( CmsResource . getParentFolder ( CmsResource . getParentFolder ( getParamResource ( ) ) ) ) ; getJsp ( ) . getRequest ( ) . setAttribute ( REQUEST_ATTRIBUTE_RELOADTREE , folderList ) ; } super . actionCloseDialog ( ) ; }
Used to close the current JSP dialog.<p>

This method overwrites the close dialog method in the super class,
because in case a new folder is created, after this dialog a new xml page might be created.<p>

It tries to include the URI stored in the workplace settings.
This URI is determined by the frame name, which has to be set
in the framename parameter.<p>

@throws JspException if including an element fails