Handle the new "wpEditToken" input parameter for upload
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.wiki / src / net / sourceforge / phpeclipse / wiki / builder / CreatePageAction.java
index c1590a8..02546eb 100644 (file)
@@ -89,6 +89,7 @@ public class CreatePageAction implements IObjectActionDelegate {
 
   public static void createPage(IFile file) {
     String templateFileName = Util.getLocalTemplate(file);
+    String cssUrl = Util.getLocalCssUrl(file);
     String srcBasePath = Util.getWikiTextsPath(file);
     String binBasePath = Util.getProjectsWikiOutputPath(file.getProject(), WikiEditorPlugin.HTML_OUTPUT_PATH);
     createPage(templateFileName, file, binBasePath, srcBasePath);
@@ -112,6 +113,9 @@ public class CreatePageAction implements IObjectActionDelegate {
       } catch (CoreException e1) {
         // TODO Auto-generated catch block
         e1.printStackTrace();
+      } catch (Exception e) {
+        // TODO Auto-generated catch block 
+        e.printStackTrace();
       }
     } else {
       String fname = file.getName().toLowerCase();