roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject roller git commit: Remove redundant content-type code
Date Sun, 25 Feb 2018 22:08:56 GMT
Repository: roller
Updated Branches:
  refs/heads/bootstrap-ui d2320b067 -> 4e44afe8a


Remove redundant content-type code


Project: http://git-wip-us.apache.org/repos/asf/roller/repo
Commit: http://git-wip-us.apache.org/repos/asf/roller/commit/4e44afe8
Tree: http://git-wip-us.apache.org/repos/asf/roller/tree/4e44afe8
Diff: http://git-wip-us.apache.org/repos/asf/roller/diff/4e44afe8

Branch: refs/heads/bootstrap-ui
Commit: 4e44afe8a508e4b09ee732c1e63b4d2255894e94
Parents: d2320b0
Author: Dave Johnson <snoopdave@gmail.com>
Authored: Sun Feb 25 17:08:53 2018 -0500
Committer: Dave Johnson <snoopdave@gmail.com>
Committed: Sun Feb 25 17:08:53 2018 -0500

----------------------------------------------------------------------
 app/src/main/resources/struts.xml | 82 ----------------------------------
 1 file changed, 82 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/roller/blob/4e44afe8/app/src/main/resources/struts.xml
----------------------------------------------------------------------
diff --git a/app/src/main/resources/struts.xml b/app/src/main/resources/struts.xml
index 3162172..46965bc 100644
--- a/app/src/main/resources/struts.xml
+++ b/app/src/main/resources/struts.xml
@@ -420,99 +420,17 @@
             <result name="list" type="tiles">.Categories</result>
         </action>
         
-        <action name="categoryAdd"
-                class="org.apache.roller.weblogger.ui.struts2.editor.CategoryEdit">
-            <param name="actionName">categoryAdd</param>
-            <param name="pageTitle">categoryForm.add.title</param>
-            <result name="input" type="tiles">.CategoryEdit</result>
-            <result name="success" type="chain">categories</result>
-            <result name="error" type="chain">categories</result>
-        </action>
-        
-        <action name="categoryEdit"
-                class="org.apache.roller.weblogger.ui.struts2.editor.CategoryEdit">
-            <param name="actionName">categoryEdit</param>
-            <param name="pageTitle">categoryForm.edit.title</param>
-            <result name="input" type="tiles">.CategoryEdit</result>
-            <result name="success" type="chain">categories</result>
-            <result name="cancel" type="redirectAction">
-                <param name="actionName">categories</param>
-                <param name="weblog">${weblog}</param>
-            </result>
-        </action>
-
-        <action name="categoryRemove"
-                class="org.apache.roller.weblogger.ui.struts2.editor.CategoryRemove">
-            <result name="input" type="tiles">.CategoryRemove</result>
-            <result name="cancel" type="redirectAction">
-                <param name="actionName">categories</param>
-                <param name="weblog">${weblog}</param>
-            </result>
-            <result name="success" type="chain">categories</result>
-        </action>
-        
         <action name="bookmarks"
                 class="org.apache.roller.weblogger.ui.struts2.editor.Bookmarks">
             <result name="list" type="tiles">.Bookmarks</result>
         </action>
 
-        <action name="bookmarkAdd"
-                class="org.apache.roller.weblogger.ui.struts2.editor.BookmarkEdit">
-            <param name="actionName">bookmarkAdd</param>
-            <param name="pageTitle">bookmarkForm.add.title</param>
-            <result name="input" type="tiles">.BookmarkEdit</result>
-            <result name="success" type="chain">bookmarks</result>
-            <result name="error" type="chain">bookmarks</result>
-        </action>
-        
-        <action name="bookmarkEdit"
-                class="org.apache.roller.weblogger.ui.struts2.editor.BookmarkEdit">
-            <param name="actionName">bookmarkEdit</param>
-            <param name="pageTitle">bookmarkForm.edit.title</param>
-            <result name="input" type="tiles">.BookmarkEdit</result>
-            <result name="success" type="chain">bookmarks</result>
-            <result name="cancel" type="redirectAction">
-                <param name="actionName">bookmarks</param>
-                <param name="weblog">${weblog}</param>
-                <param name="folderId">${folderId}</param>
-            </result>
-            <result name="error" type="chain">bookmarkEdit</result>
-        </action>
-        
         <action name="bookmarksImport"
                 class="org.apache.roller.weblogger.ui.struts2.editor.BookmarksImport">
             <result name="input" type="tiles">.BookmarksImport</result>
             <result name="success" type="chain">bookmarks</result>
         </action>
         
-        <action name="folderAdd"
-                class="org.apache.roller.weblogger.ui.struts2.editor.FolderEdit">
-            <param name="actionName">folderAdd</param>
-            <param name="pageTitle">folderForm.add.title</param>
-            <result name="input" type="tiles">.FolderEdit</result>
-            <!-- redirect because switching to the newly created bookmarks folder -->
-            <result name="success" type="redirectAction">
-                <param name="actionName">bookmarks!folderCreated</param>
-                <param name="weblog">${weblog}</param>
-                <param name="folderId">${folderId}</param>
-            </result>
-            <result name="error" type="chain">bookmarks</result>
-        </action>
-        
-        <action name="folderEdit"
-                class="org.apache.roller.weblogger.ui.struts2.editor.FolderEdit">
-            <param name="actionName">folderEdit</param>
-            <param name="pageTitle">folderForm.edit.title</param>
-            <result name="input" type="tiles">.FolderEdit</result>
-            <result name="success" type="chain">bookmarks</result>
-            <result name="cancel" type="redirectAction">
-                <param name="actionName">bookmarks</param>
-                <param name="weblog">${weblog}</param>
-                <param name="folderId">${folderId}</param>
-            </result>
-            <result name="error" type="chain">bookmarks</result>
-        </action>
-        
         <action name="weblogConfig"
                 class="org.apache.roller.weblogger.ui.struts2.editor.WeblogConfig">
             <result name="input" type="tiles">.WeblogConfig</result>


Mime
View raw message