Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Instructions files now appear in the instructions page on the monitoring screen. The attachment entries were not being copied when the tool content was duplicated.

Modified the "leaveToolSession" and related code to allow the tool to pass the userid (which it gets from UserDTO in the shared session) rather than pass User (which the tool doesn't have).

General changes to use UserDTO from shared session and standard URL parameters.

  1. … 4 more files in changeset.
Changed authoring to use the user from the shared session, the correct url parameters and to only update the attachment records when the user clicks save.

  1. … 6 more files in changeset.
Updating JSPs to use tag lib standard, new lams tags. Rationalising authoring down to the DHTML version (had been a DHTML and non-DHTML version). Updating URLS as per LDEV-38

  1. … 70 more files in changeset.
Updated parameter names and classpath so that the learner screen could be called from the dummy monitoring page.

  1. … 4 more files in changeset.
cleaned up code

updated with the extra cookie parameter

Upgraded Hibernate to 3.0

  1. … 55 more files in changeset.
ExportServlet - this is the servlet that the export service will call...this servlet in turn opens a httpurlconnection to the real export url, and saves the content in a file.

*** empty log message ***

Removed ISOLATION_READ_COMMITTED from the transactions as it is not supported by the JTA transaction manager. We will have to rely on the database settings.

  1. … 7 more files in changeset.
fixed up the comments.

when a learner clicks on finish, it will call learnerService.completeToolSession which returns the link to the next activity. the tool then redirects to this new url

the error message if the userId or toolSessionId is missing is changed.

Use the hibernate properties bean from lams.jar

  1. … 2 more files in changeset.
Switched to shared transaction manager and JNDI toolDataSource

  1. … 8 more files in changeset.
quite a few changes here. removed unused import declarations the learner environment doesnt expect a toolContentId to be passed via url. the tool contentId/toolSessionId relationship is assumed to have been establish when the core made the call to createToolSessions() if no toolSession exist in the table when the learner reaches the activity, the user will see an error screen. if user in this tool session isnt found, thena new entry is created.

removed unused exports

uses the new method retriveNbUserBySession to grab the user data from the db. This ensures that the user does belong to the tool session specified

removed unused import declarations

added new method retrieveNbUserBySession() which calls the equivalent DAO method getNbUserBySession

added new method getNbUserBySession, which gets a user from tl_lanb11_user table with a particular user id and sessionId

*** empty log message ***

  1. … 1 more file in changeset.
if toolcontent id doesnt exist, it will display a nice message to user, instead of showing system exception page with no message

changed the copyFormValues..(), the deleteAttachment method now doesnt call this method, otherwise all fields will be blank.

instead of using hardcoded default content id, makes the call to getDefaultToolContentId

added comments to code

implemented to call to leaveToolSession, indicating that the learner has finished the activity

instead of using the constant for default content id, the service method is called

added author tag

removed the TODO