Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fixed the method editActivity

restrucrured monitoring url

removed editActivity(ActionMapping mapping,

ActionForm form,

HttpServletRequest request,

HttpServletResponse response)

    • -24
    • +0
    ./lamsfoundation/lams/tool/mc/web/McAction.java
enabled getting TOOL_CONTENT_ID from session

enabled getting TOOL_CONTENT_ID from teh session cache

changed dsp to method

modified so that we can hit backend from dhtml buttons

added new methods

getInstructions

getSummary

getStats

modified setDefineLater(request, true) and added the boolean parameter

    • -5
    • +34
    ./lamsfoundation/lams/tool/mc/web/McAction.java
added constant CURRENT_MONITORING_TAB

added method: public static int getTotalAttemptCount(HttpServletRequest request)

added logic to handle USER_EXCEPTION_NO_STUDENT_ACTIVITY

added error.noLearnerActivity

refactored. added more documentation. included checks for content in use and defineLater

    • -123
    • +148
    ./lamsfoundation/lams/tool/mc/web/McStarterAction.java
included Struts definitions as documentation

included struts config definitions to authoring and learning modules

    • -54
    • +71
    ./lamsfoundation/lams/tool/mc/web/McAction.java
added method:

/**

* setRadioboxes(McContent mcContent, McAuthoringForm mcAuthoringForm)

*

* set values of radioboxes for an existing content

* @param mcContent

* @param mcAuthoringForm

*/

protected static void setRadioboxes(McContent mcContent, McAuthoringForm mcAuthoringForm)

modified resource definitions like error.content.beingModified

modified public ActionForward editActivityQuestions(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException, ToolException

by calling setDefineLater(request)

    • -5
    • +18
    ./lamsfoundation/lams/tool/mc/web/McAction.java
new Struts exception class

    • -0
    • +88
    ./lamsfoundation/lams/tool/mc/web/CustomStrutsExceptionHandler.java
added updateMcContent and fixed setAsDefineLater

fixed saveMcContent and updateMcContent

added constant ERROR_MCAPPLICATION

added a check for USER_EXCEPTION_NO_STUDENT_ACTIVITY

added method : protected void setContentInUse(HttpServletRequest request)

    • -0
    • +28
    ./lamsfoundation/lams/tool/mc/web/McAction.java
fixed getLowestMark

fixed copyToolContent

changes to saveMcContent

added USER_EXCEPTION_NO_STUDENT_ACTIVITY

tested so that tool content gets copied properly

added more javaDoc

    • -1
    • +20
    ./lamsfoundation/lams/tool/mc/web/McAction.java
enabled geting uiids for the newly copied file content