Hi all! I am using jetspeed-1.4 with jsp portlets and .vm templates for html navigation. I want to modify the bottom.vm in order to filter users
based on their roles. I edited the bottom.vm file to do that. I have added
some lines and this is one of them :


#if ($JetspeedSecurity.hasRole($data.User.getUserName(), $role))

It seems that reference to JetspeedSecurity class is not valid (the hasRole method is a static one), despite of the fact that $data refers
to Rundata objects perfectly well.


Am i doing something wrong with the class reference??How can i refer to JetspeedSecurity class correctly?? Any ideas would be extremely useful, I'm kind of lost here....

Thanx in advance



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to