lams_tool_sbmt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updated JSP to use the single lams.tld for all custom tags.

Updated to support use lams TLD

New custom tags used in JSP's for handling the Tab Controller and FCK Editor.

    • -0
    • +53
    ./web/WEB-INF/tags/HTMLEditor.tag
    • -0
    • +60
    ./web/WEB-INF/tags/SetEditor.tag
    • -0
    • +41
    ./web/WEB-INF/tags/Tab.tag
    • -0
    • +62
    ./web/WEB-INF/tags/TabBody.tag
    • -0
    • +56
    ./web/WEB-INF/tags/Tabs.tag
  1. … 5 more files in changeset.
Updated Action class now extends LamsDispatchAction (method parameter) and updated xdoclet config.

Updated tab body includes to support custom tags

    • -22
    • +20
    ./web/authoring/instructions.jsp
new authoring JSP supporting custom tags (note tag dir has to be installed) and new styled links instead of input buttons (i.e. save/cancel buttons).

Updated struts-config reflecting changes in SbmtAuthoringForm and AuthoringAction config

    • -5
    • +7
    ./web/WEB-INF/struts/struts-config.xml
updated FCKeditor TLD

    • -2
    • +22
    ./web/WEB-INF/fckeditor/tlds/FCKeditor.tld
Added web/author_page folder including css, images and js for new use of FCKEditor and Tab Handler.

    • -0
    • +142
    ./web/author_page/css/aqua.css
    • -0
    • +3
    ./web/author_page/css/base.css
    • -0
    • +55
    ./web/author_page/css/fckeditor_style.css
    • -0
    • +59
    ./web/author_page/css/tool_custom.css
    • -0
    • +3
    ./web/author_page/css/xp.css
    • binary
    ./web/author_page/images/aqua_tab_centre.gif
    • binary
    ./web/author_page/images/aqua_tab_left.gif
    • binary
    ./web/author_page/images/aqua_tab_right.gif
    • binary
    ./web/author_page/images/aqua_tab_s_centre.gif
    • binary
    ./web/author_page/images/aqua_tab_s_left.gif
    • binary
    ./web/author_page/images/aqua_tab_s_right.gif
    • -0
    • +212
    ./web/author_page/js/fckcontroller.js
    • -0
    • +39
    ./web/author_page/js/tabcontroller.js
added dispatch property for SbmtAuthoringForm

updated ANT script to include new folders/files in generated WAR

success (tick) image

    • binary
    ./web/images/success.gif
Remove Tool Content was trying to remove the submission details based on the tool content id. But the submission details are based on the tool session id, so changed the remove code to remove the submission details as part of remove tool session, not remove tool content.

Also fixed remove tool content so that it will remove the related tool sessions if required, and to stop it throwing an exception if no data is found (as per the interface definition).

Converted to Servlet 2.4, JSTL 1.1

    • -393
    • +0
    ./web/WEB-INF/jstl/tlds/c-rt.tld
    • -166
    • +313
    ./web/WEB-INF/jstl/tlds/c.tld
    • -403
    • +0
    ./web/WEB-INF/jstl/tlds/fmt-rt.tld
    • -128
    • +357
    ./web/WEB-INF/jstl/tlds/fmt.tld
    • -0
    • +207
    ./web/WEB-INF/jstl/tlds/fn.tld
    • -0
    • +448
    ./web/WEB-INF/jstl/tlds/x.tld
    • -212
    • +0
    ./web/WEB-INF/struts/tlds/struts-bean-el.tld
    • -3302
    • +0
    ./web/WEB-INF/struts/tlds/struts-html-el.tld
    • -382
    • +0
    ./web/WEB-INF/struts/tlds/struts-logic-el.tld
    • -343
    • +0
    ./web/WEB-INF/struts/tlds/struts-tiles-el.tld
  1. … 41 more files in changeset.
added page title

    • -84
    • +102
    ./web/export/exportportfolio.jsp
*** empty log message ***

Major changes to doExport method

- added ability for learner to export portolio

- submitted files are written to disk for export

added lams custom tags to submit tool

    • -0
    • +53
    ./web/WEB-INF/lams.tld
Modified links to point to local resources only. I.e the link to submission attachments and stylesheet

    • -77
    • +100
    ./web/export/exportportfolio.jsp
This is used to generate the list of files present in an archive generated by the export portfolio function.

In its initial form it output a plain text list of files in the archive.

At some later stage this may need to be in XML format.

    • -0
    • +2
    ./web/export/exportAttachmentList.jsp
modified implementaion of getFileUploadedBySession to return a SortedMap instead of a Map.

The SortedMap is sorted using the LastNameAlphabeticComparator.

modified method signature getFilesUploadedBySession to return a SortedMap instead of a Map.

This was done to ensure a consistent order when displaying files.

added field exportedURL and getter and setter methods.

This is used by export portfolio function to store the url of the submitted file in the archive

added lams taglib

Service bean transaction definition was missing some of the ToolContentManager and ToolSessionManager methods, so these methods were not forming part of transactions.

  1. … 4 more files in changeset.
replaced ${sessionID} with ${sessionDto.sessionID}

updated hbm files

set the sessionName in createToolSession

added new field 'sessionName'

removed the Session ID from page, replaced with Session Name.