Adding lessonID to the activity form, so that the passon.swf can have it separately and make it part of the connection name. Changed form.activityId to form.activityID for consistency.
Changed export portfolio to * reduce the number of error messages * move the html out of the I18N file and into jsps * use the learning design processor so that the activities are processed (and hence displayed) in the correct order.
Preview changes: (1) when define later activity occurs don't tell the tool that it is define later but display a special screen before going to the next tool (2) for chosen grouping, schedule and permission gates show the normal page with an extra preview message then override the normal process and continue.Also part A of a change to the Flash call to get the learner progress - it should take the lesson id not the progress id.
Call passon to update the progress bar on tool pages, optional activities and the completed screen.Should also cope with the user partially doing an optional activity, continuing on in the design, then coming back later to the optional activity to do more, and then going back to where they were up to in the sequence before jumping back.
Changing getLearnerActivityURL so that it returns a suitable url for the optional activity page.All urls returned in this packet are now full urls, which requires a change on the client end.
Clean up grouping code so that the shared code is in lams.jar, and making it so that learner can't trigger the chosen grouping. I18N the grouping screen and added a wait page for the chosen grouping.
Random grouping now working. Changed to make learner service changes to stop a hibernate lazy initialisation exception when grouping has just been run. Also reduced the amount of data needed to be cached in the session - only the lesson id is needed not the complete lesson.
Removed the original SessionBean from the system. If needed again, the shared session bean developed by Dapeng can be used. Fixed various issues with Optional Activities and Parallel activites. Should be able to run through a sequence with them okay now.
Changed calls to update lesson to use the lessonId rather than the lesson. Change allowed us to reduce the amount cached in the context. This fixed various issues with Optional and Parallel activities.
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.