From: Andrew B. <a.g...@le...> - 2006-03-07 12:22:36
|
Matthew Thanks for pointing that out. I hadn't spotted the view access problem. I'll have a go at fixing it and then if everyone is happy, push it on to HEAD together with the MySQL stuff. Aggie -----Original Message----- From: bod...@li... [mailto:bod...@li...] On Behalf Of Matthew Buckett Sent: 07 March 2006 11:15 To: bod...@li... Subject: Re: [Bodington-developers] Bodington peer-marking tool 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/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bodington-developers mailing list Bod...@li... https://lists.sourceforge.net/lists/listinfo/bodington-developers |