3 Replies Latest reply on Jan 31, 2007 2:09 PM by jatsrt

    Portlet Taglib and Facelet XHTML?

    jatsrt

      Is this possible and if so how do I import it?

      I have tried:

      xmlns:portlet="http://java.sun.com/xml/ns/portlet"

      But it does not work, am I missing something simple, or is this not possible?

      Thanks

        • 1. Re: Portlet Taglib and Facelet XHTML?

          What do you want to do?

          • 2. Re: Portlet Taglib and Facelet XHTML?
            jatsrt

            Actually I am trying to logout/invalidate the session.

            We have an app that is competely secured, but I cannot seem to get logout functionality to work.

            I have the following:
            PortletSession session = (PortletSession) facesContext.getExternalContext().getSession(false);
            session.setMaxInactiveInterval(1);
            session.invalidate();

            But coming back to the portal, everything is still there and seems that the user is still authenticated, do this a couple of times and things get weird in that some portlets will see that the session is no longer valid, but others do not.

            I do not want to use the usermodule that is included with Portal since we have a completely customer user module that is seperate.

            Looking through the code, it seems like this should do it, but it does not.

            • 3. Re: Portlet Taglib and Facelet XHTML?
              jatsrt

              This thread seems to have the best information available, but not enough to do what I need:
              http://jboss.org/index.html?module=bb&op=viewtopic&t=93327