lams-github

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
updated definitions for preview mode

reformatting

preview mode and formatting changes/updates

    • -175
    • +112
    /lams_tool_lamc/web/learning/Preview.jsp
    • -14
    • +14
    /lams_tool_lamc/web/learning/ResultsSummary.jsp
    • -13
    • +12
    /lams_tool_lamc/web/learning/SingleQuestionAnswersContent.jsp
formatting changes

added property donePreview

enabled donePreview

added header resource : label.preview =MCQ Preview

added constant PREVIEW

changes for the authoring preview

    • -0
    • +232
    /lams_tool_lamc/web/learning/Preview.jsp
preview mode implementation

implementation for the Preview mode of Authoring module

removing by

/* the attributes below used in the Preview mode*/

request.getSession().removeAttribute(MAP_QUESTION_CONTENT_LEARNER);

request.getSession().removeAttribute(TOTAL_QUESTION_COUNT);

request.getSession().removeAttribute(CURRENT_QUESTION_INDEX);

request.getSession().removeAttribute(MAP_GENERAL_OPTIONS_CONTENT);

request.getSession().removeAttribute(MAP_OPTIONS_CONTENT);

request.getSession().removeAttribute(QUESTION_LISTING_MODE_COMBINED);

request.getSession().removeAttribute(PREVIEW_ONLY);

added constant PREVIEW_ONLY

fixed button size

enabled more testing

    • -0
    • +21
    /lams_tool_lamc/web/learningIndex.jsp
enabled testing code for create. leave and removeTool sessions

reorganized ToolContentManager and ToolSessionManager methods and fixed loging

included setFlushMode(FlushMode.AUTO) in the update

fixed error.defineLater

included learnerService service bean

added the file

    • binary
    /lams_tool_lamc/web/images/icon_mcq.swf
anabled testing teacher mode

MODIFED SO THAT DEFAULT CONTENT ID IS USED WHERE NO CONTENTID IS AVAILABLE

enabled deleting DEFAULT_CONTENT_ID

reformatted ToolContentManager methods

added DEFAULT_CONTENT_ID

changed to align with other tools

    • -3
    • +3
    /lams_tool_lamc/db/sql/activity_insert.sql
    • -1
    • +3
    /lams_tool_lamc/db/sql/drop_lams_tool_mc.sql
    • -2
    • +2
    /lams_tool_lamc/db/sql/tool_insert.sql
Merged the different copy, delete, rename and move methods to have one method per feature (apart from one extra delete contents function).

Typo - constant was in quotes!

Changed call that gets an parameter value to suit changes in WebUtil.