• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
removed the <h2></h2>

this page is the main authoring screen, it will include the particular file(a_Basic.jsp or a_Instructions.jsp) depending on what method is chosen.

*** empty log message ***

fixed the reset method (previously it wasnt defined correctly, and so it wasnt being called by the controller)

the validate method now checks the filesize of the uploaded files.

made some changes to the way the authoring screen is shown.

instead of having 3 separate jsp pages with 3 separate paths, combined these 3 authoring pages into the one page authorContent.jsp

works the same way as the monitoring environment.

removed the action forward nb_basic, nb_advanced and nb_instructions. the only forward path is now authoringContent

removed the constants BASIC_PAGE, ADVANCED_PAGE AND INSTRUCTIONS_PAGE, since the three pages are now referenced through authorContent.jsp instead

when dealing with the same files being uploaded, the previous code, updated teh db with the new uuid, however, it wasnt updating instead new entries were being made. Now the code is changed so that if the file already exists (ie. has been uploaded already) then it will delete previously file from content repository, save it into content repository, delete the entry in the db, and create a new entry with the new uuid

changed the parameter inside the lanchPopupInstructions javascript method. was previously hardcoded

removed the target attribute from html:base tag, with the target attribute, the viewing file doesnt work in instructions tab in authoring

added the script tag to reference common.js from lams_central

*** empty log message ***

servlet mapping for ToolDownload servlet

the struts exception handles nullPointerExceptions (using customstrutshandler)

*** empty log message ***

in the execute method, a new authoring form is instantiated, this overcomes the problem of accessing the previous form values that were in the session and ensures that you are using a new form instead of an old one

renamed the method copyInstructionFormProperty to copyAuthoringFormValuesIntoFormBean

added the deleteAttachment struts action.

new method in service bean :removeAttachmentByUuid which called removeAttachment from DAO class

removeAttachment(Long uuid) hibernate implementation

ive added another method removeAttachment(Long uuid) which removes an object fromt he attachment table which has the corresponding uuid

*** empty log message ***

created a method to return the map key, which is formed by the filename + "-" + fileType

they are now combined into one file called index.jsp

the starter page for all three environments: authoring learning and monitoring. replaces authoringIndex.jsp, learnerIndex.jsp and monitoringIndex.jsp

bottom of the page shows the attachments that have been added

took out the starter page definitions, as it isnt needed

added reference to the content repository application Context

uuid is now a mandatory field

uuid is not a mandatory field

Test case is added for retrieveAttachmentByFilename

testcase for retrieveAttachmentByFilename is added