Replaced getActiveLessons with getLesson, to suit the change from listing all the lessons in the learner client to just working with a single lesson.Also moved the logic to cache the lesson learners into the lams.jar (in the LessonService).
Worked on the learner progress. Was always going back to the first activity when we exited a lesson - the learner progress in the session was out of date (wasn't updated as the tool's called the complete tool method). The learner progress is now in the special LAMS session object and is updated when tool's call the complete method.Also set up the string that will be used to inform Flash of the learner's progress. This string (attempted&=completed&=current) will be passed to Flash via passon.swf in the tool display jsp.
Added "exitted lesson" screen and I18N'd the text of the welcome screen.Made the Action more robust with respect to exceptions - most exceptions are now caught and a proper error message is sent back to Flash (rather than nothing being returned).Changed the LearnerActions to not forward to page when the wddx packet is returned. We now have a Flash interface so forwarding to a page (rather than letting Flash bring up the next bad) is now bad. Had to change the dummy learner screen to still forward temporarily otherwise the dummy screen won't display the tool pages.
Added real learner page back in (with a link from the dummy page) so that mitch can set up the Flash movie.Also set the charset/encoding for these pages to UTF-8
Display the activity title and description int the portfolio, rather than tool details, as the activity fields may be edited by the user but the tool values are system values. This action class is not used.
Display the activity title and description int the portfolio, rather than tool details, as the activity fields may be edited by the user but the tool values are system values. Moved the ordered list tags into the Servlet code, so that the code could completely replace the ordered list section with something else, without touching the translations.
Display the activity title and description int the portfolio, rather than tool details, as the activity fields may be edited by the user but the tool values are system values.
Changed learning design activities and transition collections to use all-delete-orphan cascade management. This will ensure that the secondary records are created and removed as required.This required fixing code that trigger cascade problems and also highlighted some session problems with the learner cache created by Jacky.
LDEV-61 Fixing tool sessions - all users were getting separate tool sessions.Modified learner service to suit changes to ToolActivity.createToolSessionForActivity()
modified it so that if it detects that the array of ToolPortfolios is null, it will just generate a main page stating that the portfolio export is not supported
major change is replacing the previously known Portfolio objects to be ToolPortfolio objectsexportPortfolioFor* methods now return a Portfolio object, which contains the array of ToolPortfolio objects.the member variable exportTmpDir is removed and placed in the Portfolio object instead.In most cases, instead of throwing exceptions, an error message is written to a file, however the real error is logged.