axiao in lams

change the height of wyswygEditorScreenElement when doWYSWYGEditor is called. Otherwise wyswygEditorScreenElement would be too high and cover the urls or buttons under the wyswygEditorScreenElement. The URLs under the wyswygEditorScreenElement can't be clicked because the browser thinks you are clicking on the wyswygEditorScreenElement layer.

* added javascripts to detect whether HTML exist in the textarea, if HTML exist it will automatically switch to preview mode

* added textToHTML converter... which will escape < and > to $gt; & $lt; also linebreak will be convert to <br>

* added smaller size option in fckeditor_style.css & fckcontroller.css

* change the title field to use smaller fckeditor instead

    • -19
    • +21
    /lams_tool_laqa/web/BasicContent.jsp
    • -4
    • +4
    /lams_tool_laqa/web/InstructionsContent.jsp
    • -9
    • +13
    /lams_tool_laqa/web/author_page.jsp
opps.. forgot to re-include the Advanced page... it's fixed now

* rewrote the tabcontroller

* Implemented new FCKeditor DHTML controller

    • -31
    • +71
    /lams_tool_laqa/web/BasicContent.jsp
    • -12
    • +25
    /lams_tool_laqa/web/InstructionsContent.jsp
    • -96
    • +116
    /lams_tool_laqa/web/author_page.jsp
    • -0
    • +38
    /lams_tool_laqa/web/author_page/css/fckeditor_style.css
    • -0
    • +155
    /lams_tool_laqa/web/author_page/js/fckcontroller.js
removed QaMonitoringStarterAction and replace it with QaMonitoringAction.unspecified()

refactored Dispatch Actions in Monitoring interface

    • -13
    • +34
    /lams_tool_laqa/web/monitoringReport.jsp
added retrieveQaQueContentsByToolContentId()

*changed jsps to use DHTML multi-tab

*refactored DispatchAction

    • -11
    • +0
    /lams_tool_laqa/web/AdvancedContent.jsp
    • -25
    • +23
    /lams_tool_laqa/web/BasicContent.jsp
    • -17
    • +15
    /lams_tool_laqa/web/InstructionsContent.jsp
    • -14
    • +40
    /lams_tool_laqa/web/author_page.jsp
    • -10
    • +23
    /lams_tool_laqa/web/WEB-INF/struts-config.xml
fixed tags-lams.tld

    • -0
    • +48
    /lams_tool_laqa/web/WEB-INF/lams.tld
added LAMS_ROOT variable

added reference to common.js

added logic to display uploaded files

    • -7
    • +77
    /lams_tool_laqa/web/InstructionsContent.jsp
changed toolContentId to toolContentID

added download servlet

    • -1
    • +18
    /lams_tool_laqa/web/WEB-INF/web.xml
*** empty log message ***

various changes including

* change the values of contentId and sessionId

* remove most of the remove/recreate code when saving existing contents

* updated file upload methods

  1. … 9 more files in changeset.
changed org.lamsfoundation.lams.util.FileValidator to org.lamsfoundation.lams.util.FileValidatorUtil

* Uses the sessionUserMap instead of userlist

* Change layout to support multiple sessions instead of a single session

added getSubmitFilesSessionByContentID()

* Changed to get TOOL_SESSION_ID and TOOL_CONTENT_ID from lams_common

* added default unspecified() action

* change userList() to get contentID instead of sessionID

* userList() sets sessionUserMap in requset attribute now instead of userList previously

Changed to get TOOL_SESSION_ID and TOOL_CONTENT_ID from lams_common

change monitoringStarter.do to monitoring.do

    • -3
    • +3
    /lams_tool_sbmt/db/sql/tool_insert.sql
Should get TOOL_SESSION_ID and TOOL_CONTENT_ID from lams_common

*** empty log message ***

* changed learning.do to learner.do

* changed sbmtService to submitFilesService

    • -2
    • +2
    /lams_tool_sbmt/db/sql/tool_insert.sql
added submit.modenotsupported key

overwritten DispatchAction.unspecified()

changed javascript variable themeName to theme

change sbmtService to submitFilesService in isToolOnClasspath()

put System.getenv() in a try/catch block to handle any exception raised due to JDK versioning problems

change all library tags following the best practices article "Tag Library Definitions" on the wiki

    • -47
    • +55
    /lams_learning/conf/xdoclet/taglibs.xml
    • -3
    • +3
    /lams_learning/web/controlBottomFrame.jsp
    • -3
    • +3
    /lams_learning/web/controlTopFrame.jsp
    • -4
    • +4
    /lams_learning/web/exportPortfolio.jsp
    • -4
    • +4
    /lams_learning/web/exportPortfolioPrintVersion.jsp
    • -5
    • +5
    /lams_learning/web/exportWaitingPage.jsp
    • -4
    • +4
    /lams_learning/web/loadToolActivity.jsp
    • -4
    • +4
    /lams_learning/web/optionsActivity.jsp
    • -4
    • +4
    /lams_learning/web/parallelActivity.jsp
    • -4
    • +4
    /lams_learning/web/partialCompleted.jsp
  1. … 43 more files in changeset.