I don't think there is one, it's not something that we are really trying
to encourage or support. Fundamentally Roller treats all rendered
content as static, meaning that once a page or feed is rendered it is
cached and reused any time that url is accessed again. For this reason
we don't actually do personalization stuff on weblogs, that's just not
how things are designed.
If you want to get access to the logged in user at rendering time then
you are going to have to add support for that yourself. Adding
something like this in the UtilitiesModel class should work ...
public String getAuthenticatedUsername() {
return request.getUserPrincipal();
}
-- Allen
benjamin servant wrote:
Sorry to insist guys but I really need to know how I can get the username or
the fullame of the current logged in user. So, has anyone any ideas on which
data object I should use??? (something that replaced $user.userName, but still
work with roller 3.0).
_________________________________________________________________
Exprimez-vous : créez la page d'accueil qui vous ressemble avec Live.com.
http://www.live.com/getstarted