Index: lams_tool_forum/.classpath =================================================================== diff -u -raaca44f485c3bacc6c866f7df28c0511061473d6 -rb1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7 --- lams_tool_forum/.classpath (.../.classpath) (revision aaca44f485c3bacc6c866f7df28c0511061473d6) +++ lams_tool_forum/.classpath (.../.classpath) (revision b1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7) @@ -7,5 +7,5 @@ - + Index: lams_tool_forum/build.xml =================================================================== diff -u -rd21a020d917869e77f133713f28b8e6c70ad08d5 -rb1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7 --- lams_tool_forum/build.xml (.../build.xml) (revision d21a020d917869e77f133713f28b8e6c70ad08d5) +++ lams_tool_forum/build.xml (.../build.xml) (revision b1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7) @@ -242,6 +242,8 @@ + + @@ -408,6 +410,22 @@ - + + + + + + + + + + + + + + + Index: lams_tool_forum/conf/xdoclet/error-pages.xml =================================================================== diff -u --- lams_tool_forum/conf/xdoclet/error-pages.xml (revision 0) +++ lams_tool_forum/conf/xdoclet/error-pages.xml (revision b1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7) @@ -0,0 +1,4 @@ + + 403 + /403.html + \ No newline at end of file Index: lams_tool_forum/conf/xdoclet/struts-plugins.xml =================================================================== diff -u -r7c2b1a8f06af3cbdb52aa229c170fb80ec2022ad -rb1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7 --- lams_tool_forum/conf/xdoclet/struts-plugins.xml (.../struts-plugins.xml) (revision 7c2b1a8f06af3cbdb52aa229c170fb80ec2022ad) +++ lams_tool_forum/conf/xdoclet/struts-plugins.xml (.../struts-plugins.xml) (revision b1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7) @@ -3,10 +3,10 @@ + - - /WEB-INF/struts/struts-bean.tld + + + + + tags-bean /WEB-INF/struts/struts-bean.tld + + + + tags-html + /WEB-INF/struts/struts-html.tld + + + + tags-logic + /WEB-INF/struts/struts-logic.tld + + + + tags-tiles + /WEB-INF/struts/struts-tiles.tld + + + + tags-bean-el + /WEB-INF/struts/struts-bean-el.tld + + + + tags-html-el + /WEB-INF/struts/struts-html-el.tld + + + + tags-logic-el + /WEB-INF/struts/struts-logic-el.tld + + + + tags-tiles-el + /WEB-INF/struts/struts-tiles-el.tld + + + + + + + http://java.sun.com/jstl/fmt + /WEB-INF/JSTL/fmt.tld - /WEB-INF/struts/struts-html.tld - /WEB-INF/struts/struts-html.tld + http://java.sun.com/jstl/fmt-rt + /WEB-INF/JSTL/fmt-rt.tld - /WEB-INF/struts/struts-logic.tld - /WEB-INF/struts/struts-logic.tld + http://java.sun.com/jstl/core + /WEB-INF/JSTL/c.tld + + http://java.sun.com/jstl/core-rt + /WEB-INF/JSTL/c-rt.tld + + + + + + + + fck-editor + /WEB-INF/fckeditor/FCKeditor.tld + + forum /WEB-INF/forum.tld - - - - datetime - /WEB-INF/taglibs-datetime.tld - - - - \ No newline at end of file + + + datetime + /WEB-INF/taglibs-datetime.tld + + + \ No newline at end of file Index: lams_tool_forum/conf/xdoclet/validation-forms.xml =================================================================== diff -u --- lams_tool_forum/conf/xdoclet/validation-forms.xml (revision 0) +++ lams_tool_forum/conf/xdoclet/validation-forms.xml (revision b1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7) @@ -0,0 +1,26 @@ +
+ + + + + maxlength + 50 + + +
+ + +
+ + + + + maxlength + 50 + + + + + + +
Index: lams_tool_forum/conf/xdoclet/validation-global.xml =================================================================== diff -u --- lams_tool_forum/conf/xdoclet/validation-global.xml (revision 0) +++ lams_tool_forum/conf/xdoclet/validation-global.xml (revision b1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7) @@ -0,0 +1,6 @@ + + + datePattern + yyyy-MM-dd + + \ No newline at end of file Index: lams_tool_forum/conf/xdoclet/web-settings.xml =================================================================== diff -u -r16fbeb33bc816f2c00a4dbe4e552ee84aabfb0cf -rb1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7 --- lams_tool_forum/conf/xdoclet/web-settings.xml (.../web-settings.xml) (revision 16fbeb33bc816f2c00a4dbe4e552ee84aabfb0cf) +++ lams_tool_forum/conf/xdoclet/web-settings.xml (.../web-settings.xml) (revision b1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7) @@ -1,23 +1,29 @@ - forum - - Forum tool - +forum + + Forum tool + javax.servlet.jsp.jstl.fmt.localizationContext org.lamsfoundation.lams.tool.imscp.web.ApplicationResources - - contextConfigLocation - - classpath:/org/lamsfoundation/lams/applicationContext.xml - classpath:/org/lamsfoundation/lams/contentrepository/applicationContext.xml - classpath:/forumApplicationContext.xml - - - - - org.springframework.web.context.ContextLoaderListener - - - \ No newline at end of file + + + contextConfigLocation + + classpath:/org/lamsfoundation/lams/applicationContext.xml + classpath:/org/lamsfoundation/lams/contentrepository/applicationContext.xml + classpath:/forumApplicationContext.xml + + + + + javax.servlet.jsp.jstl.fmt.localizationContext + org.lamsfoundation.lams.tool.forum.web.ApplicationResources + + + + + org.springframework.web.context.ContextLoaderListener + + Index: lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/ApplicationResources.properties =================================================================== diff -u -re16f09694ef763b1acafa32958762c90332b8228 -rb1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7 --- lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/ApplicationResources.properties (.../ApplicationResources.properties) (revision e16f09694ef763b1acafa32958762c90332b8228) +++ lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/ApplicationResources.properties (.../ApplicationResources.properties) (revision b1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7) @@ -1,5 +1,34 @@ appName = forum +#=========================labels===========================# +#-------------------------Authoring Labels-----------------# +label.authoring.heading.basic=Forum +label.authoring.heading.basic.desc=Basic input information for forum +label.authoring.heading.instructions=Forum Instructions +label.authoring.heading.instructions.desc=Please input online and offline instructions +label.authoring.heading.advance=Forum Advance +label.authoring.heading.advance.desc=Please input advance options for Forum +label.authoring.basic.title=Title +label.authoring.basic.instruction=Instruction +label.authoring.online.instruction =Online Instrcution +label.authoring.offline.instruction=Offline Instrcution +label.authoring.online.file =Upload online file +label.authoring.offline.file=Upload offline file +label.authoring.advance.lock.on.finished=Lock on finished + +label.authoring.save.button=Save +label.authoring.cancel.button=Cancel +label.authoring.choosefile.button=Choose file +label.authoring.upload.online.button=Upload Online +label.authoring.upload.offline.button=Upload Offline +label.authoring.online.filelist=Online file list +label.authoring.offline.filelist=Offline file list +label.authoring.online.delete=Delete +label.authoring.offline.delete=Delete + +authoring.exception= There is a problem in forum authoring page, the reason is {0} +#-------------------------END Authoring Labels END-----------------# + ## errors errors.header= errors.footer= Index: lams_tool_forum/web/WEB-INF/struts-config.xml =================================================================== diff -u -rd21a020d917869e77f133713f28b8e6c70ad08d5 -rb1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7 --- lams_tool_forum/web/WEB-INF/struts-config.xml (.../struts-config.xml) (revision d21a020d917869e77f133713f28b8e6c70ad08d5) +++ lams_tool_forum/web/WEB-INF/struts-config.xml (.../struts-config.xml) (revision b1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7) @@ -260,10 +260,10 @@ + - + + + + + tags-bean + /WEB-INF/struts/struts-bean.tld + - + + tags-html + /WEB-INF/struts/struts-html.tld + + + tags-logic + /WEB-INF/struts/struts-logic.tld + + + + tags-tiles + /WEB-INF/struts/struts-tiles.tld + + + + tags-bean-el + /WEB-INF/struts/struts-bean-el.tld + + + + tags-html-el + /WEB-INF/struts/struts-html-el.tld + + + + tags-logic-el + /WEB-INF/struts/struts-logic-el.tld + + + + tags-tiles-el + /WEB-INF/struts/struts-tiles-el.tld + + + + tags-c + /WEB-INF/struts/c.tld + + + + - /WEB-INF/struts/struts-bean.tld - /WEB-INF/struts/struts-bean.tld + http://java.sun.com/jstl/fmt + /WEB-INF/JSTL/fmt.tld - /WEB-INF/struts/struts-html.tld - /WEB-INF/struts/struts-html.tld + http://java.sun.com/jstl/fmt-rt + /WEB-INF/JSTL/fmt-rt.tld - /WEB-INF/struts/struts-logic.tld - /WEB-INF/struts/struts-logic.tld + http://java.sun.com/jstl/core + /WEB-INF/JSTL/c.tld + + http://java.sun.com/jstl/core-rt + /WEB-INF/JSTL/c-rt.tld + + + + + + + fck-editor + /WEB-INF/fckeditor/FCKeditor.tld + forum /WEB-INF/forum.tld + + + datetime + /WEB-INF/taglibs-datetime.tld + - - - datetime - /WEB-INF/taglibs-datetime.tld - - +
+

+

+ + + + + + + + + + + +
+ + + +
+ + + + +
+
\ No newline at end of file Index: lams_tool_forum/web/jsps/authoring/authoring.jsp =================================================================== diff -u --- lams_tool_forum/web/jsps/authoring/authoring.jsp (revision 0) +++ lams_tool_forum/web/jsps/authoring/authoring.jsp (revision b1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7) @@ -0,0 +1,78 @@ +<%@include file="../sharing/share.jsp" %> +<%@ taglib uri="fck-editor" prefix="FCK"%> + + + + + + Forum Tool + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
Basic
+ +
+ + + + + + + +
Advanced
+ +
+ + + + + + + +
Instructions
+ +
+ + + + <%@ include file="basic.jsp"%> + <%@ include file="instructions.jsp"%> + <%@ include file="advance.jsp"%> + +
+ +
Index: lams_tool_forum/web/jsps/authoring/basic.jsp =================================================================== diff -u --- lams_tool_forum/web/jsps/authoring/basic.jsp (revision 0) +++ lams_tool_forum/web/jsps/authoring/basic.jsp (revision b1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7) @@ -0,0 +1,32 @@ + + +
+

+

+ + + + + + + + + + + + + + +
:
: + +
+ + + + + +
+ +
Index: lams_tool_forum/web/jsps/authoring/instructions.jsp =================================================================== diff -u --- lams_tool_forum/web/jsps/authoring/instructions.jsp (revision 0) +++ lams_tool_forum/web/jsps/authoring/instructions.jsp (revision b1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7) @@ -0,0 +1,120 @@ + + +
+

+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
: + +
+
+ +
  • + + + + + +   + + + + + +   + + + + + + +
  • +
    +
    +
    + : + + + + + + + +
    : + +
    +
    + +
  • + + + + + + + + + + + + +
  • +
    +
    +
    + : + + + + + + + +
    + + + + +
    +
    \ No newline at end of file Index: lams_tool_forum/web/jsps/sharing/share.jsp =================================================================== diff -u --- lams_tool_forum/web/jsps/sharing/share.jsp (revision 0) +++ lams_tool_forum/web/jsps/sharing/share.jsp (revision b1ef965ad3a0cd4ea7bb807bd313d1f0cf68d1e7) @@ -0,0 +1,9 @@ + +<%@ page language="java"%> + +<%@ taglib uri="tags-html-el" prefix="html" %> +<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%> +<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%> +<% + String LAMS_WEB_ROOT="/lams"; +%>