|
|
 |
- last updated a few seconds ago
Monday 08 Aug 2005
modified the validate method, the validate method doesnt check whether the title or content fields are empty, because the fckeditor buts in <br> tags even when there is no content
in cleanMonitoringSession, the session scope variable to hold the toolCotnentId is removed, as the session scope formbean now handles this instead
changed the way it displays the noticeboard content, the export portfolio now looks exactly the same as what a learner would see
added the buttons for export portfolio in teacher and learner mode, and learner button in author and teacher mode as well this file is just used for testing purposes only.
Friday 05 Aug 2005
increased the filename field in attachment table to be varchar(255) instead of varchar(50).
increased the filename field in attachment table to be varchar(255) instead of varchar(50).
new version of validator-rles.xml, used in struts v1.2.7, obtained from the struts zip package
moved the logic tags outside, so that it wont show attachment header unless there are files in the attachmentList
added br tags underneath h2 tags, looks neater that way
*** empty log message ***
added a new bean property attachments
modified the struts action "instructions": added code to initialise the attachment map, used to view the attachments that have been made with this specific tool content id
*** empty log message ***
removed the definitiosn for basic advanced and instructions page. and replace it with .authoringContent
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.
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
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
Thursday 04 Aug 2005
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
Wednesday 03 Aug 2005
*** 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
|