Arturo Bernal created JSPWIKI-1425:
--------------------------------------
Summary: Move Java code out of page-editing JSPs (Edit, Comment,
Preview, Diff, Rename, Delete, Upload, PageModified, PageInfo)
Key: JSPWIKI-1425
URL: https://issues.apache.org/jira/browse/JSPWIKI-1425
Project: JSPWiki
Issue Type: Task
Reporter: Arturo Bernal
Part of JSPWIKI-1400. Move the Java scriptlet code out of these
page-editing/content JSPs under jspwiki-war/src/main/webapp into plain Java
classes/servlets under src/main/java, so the JSPs end up with only HTML/JSP
tags: Edit.jsp (~270 lines, the biggest), Comment.jsp (~265 lines), Preview.jsp
(~39 lines), Diff.jsp (~72 lines), Rename.jsp (~97 lines), Delete.jsp (~97
lines), Upload.jsp (~29 lines), PageModified.jsp (~46 lines), PageInfo.jsp (~37
lines). Add test coverage for each page's behavior as part of this change
(jspwiki-war has none today). Recommend doing Edit.jsp and Comment.jsp last
within this ticket, once the pattern is proven on the smaller pages.
Replaces closed duplicates JSPWIKI-1402 (Upload), JSPWIKI-1405 (PageInfo),
JSPWIKI-1407 (Preview), JSPWIKI-1410 (PageModified), JSPWIKI-1418 (Diff),
JSPWIKI-1422 (Delete) -- grouped per a later decision to avoid one ticket per
JSP. Edit.jsp, Comment.jsp and Rename.jsp never had an individual ticket
created.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)