I am running: Java 1.4.0, Apache Tomcat 4.0, and Jetspeed 1.3a2
Release-fullwar.
Hi,
I am trying to configure jetspeed so that the templates bordering the main
content (left.vm, top.vm, bottom.vm, ...) are 'context-sensitive'.
Something like this is already implemented in top.vm (checking if the user
has logged in). But I was hoping the border could be dependant on things
like which pane was currently selected, or which role|group the current use
was in.
#-- my explorations:
I have looked through the available RunData object ($data) and have found
some stuff which seems close to what I want, but not really:
$!data.Parameters
Will return things like::
{password=jetspeed} {template=/html/Home.vm} {action=JLoginUser}
{submit=Login} {username=admin}
OR
{template=/html/Home.vm} {pane0=Security}
OR
{template=/html/Home.vm} {select-panel2=Security Role Browser}
Is there some established wasy to determine - what pane I am in? What group
is the current user in? What role is the current user in?
There may be a better way to go about this (a portlet here, a portlet
there???) but shoving this logic into the .vm files is all I have been able
to concoct...
Cheers,
Enrique
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>