From: Matthew B. <mat...@ou...> - 2006-03-07 11:15:16
|
Andrew Booth wrote: > You can download the war file from: > > http://bmbmac75.leeds.ac.uk/bodington-quickstart.war > > IE6 seems to download it as a zip file, but you can just rename it to a war > file after it has downloaded. > > Drop it into Tomcat, log in as sysadmin, password sysadmin and then go to: > > http://localhost/bodington-quickstart/site/faculties/medicine/test/ Thanks Aggie. Looks nice. One quick comment, the exported marks look to be created as an uploaded file which means that anyone with view permission to the resource can download the final marks once they have been generated. The alternative is to use a a bs_generated_marks.csv and then output the CSV from the Java to the output stream after doing a permission check. This way you can limit it so that only people with review access can only access the marks. Facility.sendVirtualFile() is the method that deals with this. Also you might like to serve up the CSV file with a mime type of something like: resp.setContentType("text/comma-separated-values"); resp.setHeader("Content-Disposition", "attachment; filename=\"marks.csv\""); Other than that when are we going to see this in Bodington HEAD as it looks really nice? -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ |