lams_tool_nb

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

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

*** empty log message ***

added the script tag to reference common.js from lams_central

servlet mapping for ToolDownload servlet

*** empty log message ***

the struts exception handles nullPointerExceptions (using customstrutshandler)

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

added reference to the content repository application Context

*** empty log message ***

took out the starter page definitions, as it isnt needed

uuid is now a mandatory field

uuid is not a mandatory field

Test case is added for retrieveAttachmentByFilename

testcase for retrieveAttachmentByFilename is added

in the xdoclet, the input attribute for the attribute has been removed. this is so, because usually its called directly and the action wasnt triggered from any other page

includes code which setups the map of attchments which is displayed on the jsp instructions page

new bean properties onlineFile , offlineFile and attachments