Just add the following in the template that you use for those pages which live in the secure area. This will invoke the factory on the piece of Java code provided earlier, and as a result outject the portalUser in the session context. Place the Java code in a stateful bean as part of the bigger application (a good place would be in the JAASExample/src/java/csir/user/seam/ directory).
<h:outputText value="#{portalUser.login}" rendered="false"/> anonymous wrote : Maybe you could even share your entire Seam application? | This would be great for learning Seam. That is part of the plan. At this point the whole app is under heavy development with a severe deadline in the very near future. The whole thing is a highly configurable (read as multilingual) content management system (plus additional services) created with accessibility and usability in mind (the project is aimed as an information portal for accessibility and disability in South Africa, part of quite a big national initiative.) See http://www.napsa.org.za/ for more information. Regards Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933030#3933030 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933030 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user