Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
moved setDefineLater(..) and getDestination(..) here

    • -1
    • +44
    ./lamsfoundation/lams/tool/mc/McUtils.java
reenabled loading questions

after refactoring authoring module : new learning action class

    • -0
    • +662
    ./lamsfoundation/lams/tool/mc/web/McLearningAction.java
made changes so that edit activity action work from monitoring url the same way it works in authoring url define later.

modified method editActivityQuestions for use in monitoring url.

fixed a resource def.

changes about SHOW_BASIC_CONTENT

marked starter with SOURCE_MC_STARTER

moved isContentInUse() and isDefineLater() here

    • -0
    • +31
    ./lamsfoundation/lams/tool/mc/McUtils.java
added SOURCE_MC_STARTER

changed class definition to extend McAuthoringForm

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