0 Replies Latest reply on Dec 29, 2008 8:00 AM by anbazhagan prasanna

    How to Create or get  a Page Programatically

    anbazhagan prasanna Newbie

      I am using
      Jboss AS - 4.2.2 GA
      Jboss portal - 2.7.0 GA.

      I want to create or get a portal Page dynamically(Programatically)

      I have written

      Page currentPage = new PageImpl().getPage("QaimPortal");

      but it thrown me a NullPointerException.

      Any Help is greatly appreciable.