We have a login section with a remember me checkbox on the first page of our 
application.  For some reason, ctx is null when it reaches here:
   protected Cookie getCookie()
  |    {
  |       FacesContext ctx = FacesContext.getCurrentInstance();
  |       if (ctx != null)
  |       {
  |           return (Cookie) ctx.getExternalContext().getRequestCookieMap()
  |             .get( getCookieName() );
  |       }
  |       else
  |       {
  |          return null;
  |       }
  |    }

The cookie is there, it's just never retrieved because of FacesContext.  Any 
clues?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054845#4054845

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054845
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to