on 5/11/01 2:56 PM, "Mark Glass" <[EMAIL PROTECTED]> wrote:
> I would like to create a very simple application that turns the background of
> the page a particular color depending on the user who has logged in. This
> means
> I need to somehow obtain the name of the user from the context. I would then
> use a macro, like #if ( $user.username=="bbunny") then ... <b>bbunny logged
> in </b>
> Can someone, please, tell me what is required to get the information into the
> context.
>
> Thanks,
> Mark Glass
It is already there.
$data.User
-jon
--
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]