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

removed the TODO

added author tag

methods to return the toolSessionManager and ToolContentManager interface

implementation of the new function get default content id

in method copyToolSession and copyToolCOntent this method is used instead of the constant

added comments in the code

and also new method called getDefaultToolContentId which retrieves the default content id instead of hard coding it

use the JNDI tool-ds instead od jdbc connection

also added learnerService and ToolService

added comments in the code

added AUTHOR_PAGEV2

AND TOOL_SIGNATURE constants

used for the authoring page using DHTML

  1. … 10 more files in changeset.
removed BASIC and ADVANCED constants because they are not used.

removed the FORM constant as it isnt used in this Action class

a new instance of NBMonitoringForm is instantiated in the execute method to ensure that we are using a new form each time this starter action is called

instead placing the toolCotnentId in session scope, it is now stored in the session scope form bean

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

*** empty log message ***

  1. … 1 more file in changeset.