But now the following error comes up:
freemarker.core.InvalidReferenceException: Expression session is undefined on line 66, column 162 in docware/header.htm.
Funny enough in the bottom.htm you aswell use the session object..
<#if session?exists && session.isAdmin()>
So.. uhm... how can I validate if a user is moderator / admin now? [originally posted on jforum.net by Sid]
"session" is always available. It is an instance of UserSession. It is included in JForum.java, line 196, and if bottom.htm uses it, all other templates can use it as well.
Rafael [originally posted on jforum.net by Rafael Steil]
I found the actual error. The reason is changed behaviour in application logic, allowing module/action to be an array. I've modified my code for redirection and now it seems to work. The failure messages were very irritating ... [originally posted on jforum.net by Sid]
Once upon a time there were three bears. And they were visted by a golden haired tiny ad:
Gift giving made easy with the permaculture playing cards