Take the 2-minute tour ×  I've stumbled upon a problem I don't
seem to be able to solve on my own with my basic knowledge of
jsf.  I have a session scoped object which is referenced by
userSession.  So if I want to get the property loginTimestamp I
just call userSession.loginTimestamp which is no problem and
works perfectly fine.  Now I also have a method getLoggedInUser
which gives me an Object of the type user. On that object I can
call a method getNickname which should give me a string.  The
problem is that I want to call something like  <div id="login">
<h:outputText value="Welcome
#{userSession.getLoggedInUser.getNickname}" />     <h:form
id="logoutForm">         <h:commandButton class="Submit"
value="logout"             action="#{Logout.logout}" />  No the
method getLoggedInUser has no property loggedInUser. But how do
I just call that method within the value-attribute and call a
method on that return type?  Maybe it is not even possible and I
missed something crucial here. But wouldn't it be really