1 Reply Latest reply on Jul 11, 2011 10:58 AM by Vishwanath Bannur

    FacesMessage is null when navigating to page which is another context

    prasad basutkar Newbie

      Hi

                 Requirement : i want to get facesmessage from FacesContext when i am navigating from one page to another page , but destination page is in diffrent context.

       

      Description : i have abc/pageOne.xhtml and after performing action on this page i want to store message and show that message on def/secondPage.xhtml , but as you can see both the pages are in deiffrent folders and i am not able to see message on secondPage.xhtml, if i put secondPage.xhtml to abc directory then message is showing in secondPage.xhtml , can anybudy tell me why facessmessage is getting null when i am navigating to page in diffrentcontext ? and if anyone has solution please reply