Hello placed a managedbean in session scope named loginBean and Im trying to get that object from a xhtml without managed bean, I tried this:
<h:outputText value="#{loginBean.user.userName}" />
but it doesnt work, so put this line to see if the object is already in session:
<h:outputText value="#{sessionScope}" />
and yes, the bean is there:
loginBean=com.bean.LoginBean@1dfae73, javax.faces.request.charset=UTF-8}
how I can access it without Managed Bean, directly from xhtml?
Thank you!