Thanks for that. I am a bit confused, perhaps I am not understanding everything. What I have done is customized a JSP, and within the JSP I have inserted some freemarker templates (using the <r:template….). This way I have it spaced out exactly as I need.
I have created these freemarker templates, because I want them to be located within the repository and be able to be edited, without having to change the JSP and rebuild the war file. (similar to how I created custom dashlets for the dashboard).
That being said, one of the templates shows different text (in fact, it uses the workflow command processor to approve/reject). Therefore I need to limit it based on group membership.
I had attempted to do it with freemarker, but in light of the people object only being available in the JavaScript API, how would you suggest I go about changing how I have developed this to work. Maybe I went about this the wrong way. Is there even a way to use the server-side JavaScript API within freemarker?
Thanks for your help.