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:
@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user