lams-github

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fixed alignment and colors etc

fixed tab headers

removed this file

removed css/ and files within

added method: public static int getTotalAttemptCount(HttpServletRequest request)

added logic to handle USER_EXCEPTION_NO_STUDENT_ACTIVITY

added error.noLearnerActivity

removed .error definition

*** empty log message ***

removed userId as a parameter

changed errorList definitions

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

included Struts definitions as documentation

included struts config definitions to authoring and learning modules

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

added mcErrorBox definition

included error handling by adding to Actions <exception key="error.exception.McApplication" type="org.lamsfoundation.lams.tool.mc.McApplicationException" handler="org.lamsfoundation.lams.tool.mc.web.CustomStrutsExceptionHandler" path=".mcErrorBox" scope="request" />

    • -0
    • +112
    /lams_tool_lamc/web/WEB-INF/struts-config.xml
new error reporting jsp

    • -0
    • +45
    /lams_tool_lamc/web/McErrorBox.jsp
modified public ActionForward editActivityQuestions(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException, ToolException

by calling setDefineLater(request)

new Struts exception class

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)

fixed getLowestMark

fixed copyToolContent

changes to saveMcContent

added USER_EXCEPTION_NO_STUDENT_ACTIVITY