Wiadomosc od Shabir, Nadeem z 2006-03-22 11:13 brzmiala:

Hello there,

Im currently trying to create a velocity template that needs to access
the current users details and display them on a page.

In Jetspeed 1 we had to access to the JetspeedRunData, however this no
longer exists in Jetspeed 2.

Im struggling to find any documentation that describes how I might
access information about the currently logged in user, from within a
velocity template.

For example , lets say I simply want to print out the users name on the
screen using a velocity template however im not trying to display this
information inside a portlet, but rather on a template page that I wish
to add portlets to later.
Can anyone suggest how to do this.
Jetspeed uses JetspeedVelocityViewServlet (an implementation of BridgrsVelocityViewServlet) in package org.apache.jetspeed.velocity. If you need some extra functionalities, add objects/methods to one of objects already available in its context (e.g. JetspeedPowerToolImpl) or create your own class and add it to the context (a better solution).

--
pozdrawiam,
    Jacek Wislicki

[EMAIL PROTECTED]
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki

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

Reply via email to