6 Replies Latest reply on Nov 7, 2007 6:41 PM by Pete Muir

    Get request parameters from current page

    Vasilis BnUser Newbie

      Hi ,

      I am looking for a way to get the request parameters in a page.I have already found that in order to other information from your current page you have to run this command;

      String currentPage = Pages.getViewId(facesContext);
      String suffix= Pages.getSuffix();

      I want something similar to retrieve the parameters. I have tried this but without success:

      Page pages =Pages.instance().getPage(Pages.getViewId(facesContext));
      List test2 = pages.getParameters();

      Any ideas or information would be appreciated