2:
Re: Javascript error with save from tool created by RenameTool
By: Fiona Malikoff
|
In response to 1 | 09/07/06 02:25 AM | ||
Ken,
I hope you will laugh (and not cry) when you hear what the problem is. The tool we suggested you use was "submit files". So the rename tool has replaced a whole lot of "submit" entries with "behaviourComposer". Including in the jsps, the tlds, and tag files. The 6 letters "submit" gets used a lot in jsp pages. e.g. onsubmit, doSubmit(), etc. Attached is an updated set of your code that compiles deploys and the authoring and learning screens at least appear, and you can save authoring. Its a version that has the bcSubmissionFileDAO naming stuff sorted out (I hope) and has updated jsps, tlds and tag files. If you have a decent recursive diff utility then you might want to run it over the attached code and your code to see what I changed. There was also an update to the conf/xdoclet/web-security.xml file - replacing STAFF with MONITOR. This was a bug we fixed up just after you took your cut of the code. What did I fix? In web/authoring/authoring.jsp there is a function: changed it to "doSubmit(method)": ---------------------------------- In web/authoring/instructions.jsp there are references to: They were changed to ---------------------------------- In web/WEB-INF/tags/AuthoringButton.tag there were bits: They were changed to: If you do try to change your current copy (rather than working from the attached files), it would be best copy AuthoringButton.tag and struts-html.tld files from the original project, rather than trying to edit them. ---------------------------------- I also had to fix up similar problems in web\error.jsp, web\learner\behaviourComposerLearner.jsp, monitoring.jsp, web\mark\allmarks.jsp, web\mark\fileinfo\.jsp, web\mark\filelist.jsp, web\mark\mark.jsp\, web\mark\updatemark.jsp. Regards, Fiona Posted by Fiona Malikoff |
||||
Attachments: |
|
Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum