Make multi-stage lessons show the individual stages in the menu

While we are about it, make AbstractLesson.getLink() include
the category (i.e. menu), so that the menu selection script
will still work.


git-svn-id: http://webgoat.googlecode.com/svn/trunk@183 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
rogan.dawes
2007-07-18 13:29:53 +00:00
parent 77ab0c5406
commit e27aaccb45
2 changed files with 25 additions and 51 deletions

View File

@ -575,7 +575,10 @@ public abstract class AbstractLesson extends Screen implements Comparable
link.append(WebSession.SCREEN);
link.append("=");
link.append(getScreenId());
link.append("&");
link.append(WebSession.MENU);
link.append("=");
link.append(getCategory().getRanking());
return link.toString();
}