Package org.apache.roller.presentation.weblog.formbeans

Examples of org.apache.roller.presentation.weblog.formbeans.ImportEntriesForm


                forward = mapping.findForward("access-denied");
            }
            else
            {
         getXmlFiles(actionForm, rreq);
                ImportEntriesForm form = (ImportEntriesForm)actionForm;
                if (StringUtils.isNotEmpty(form.getImportFileName()))
                {
                    // "default" values
                    WebsiteData website = rreq.getWebsite();

                    // load selected file
                    String dir = RollerFactory.getRoller().getFileManager().getUploadDir();
                    File f = new File(dir + website.getHandle() +
                                      "/" + form.getImportFileName());

                    //ArchiveParser archiveParser =
                        //new ArchiveParser(RollerFactory.getRoller(), rreq.getWebsite(), f);
                    String parseMessages = null; // archiveParser.parse();
View Full Code Here


        {
          xmlFiles.add(files[i].getName());
        }
      }
    }
    ImportEntriesForm form = (ImportEntriesForm)actionForm;
    form.setXmlFiles(xmlFiles);
  }
View Full Code Here

TOP

Related Classes of org.apache.roller.presentation.weblog.formbeans.ImportEntriesForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.