3 Replies Latest reply on Jul 4, 2007 7:12 AM by Thomas Heute

    JBoss Portal 2.6 and redirect

    Andrei Marakov Newbie

      Hello. In my project I use JBoss Portal 2.6. In JBoss Portal 2.6 CR2 for redirect to other resource I used code:

      FacesContext ctx = FacesContext.getCurrentInstance();
      ExternalContext ex = ctx.getExternalContext();
      ex.redirect(ex.encodeActionURL("some path"));
      ...
      ctx.responseComplete();
      

      When I'm trying to use this code in JBoss Portal 2.6 GA it doesn't work.
      Thinks for help.