0 Replies Latest reply on Aug 27, 2008 9:25 PM by Jeff Faath

    Adding message upon page request without using page action

    Jeff Faath Newbie

      I have a seemingly simple question.  I'm trying to figure out how to add a message to the FacesMessages collection via pages.xml based on a global variable.  I know I can do it easily with a page action, but I'd prefer not to have to create a class just for this simple task.


      Basically, when a user requests this page, an attribute of their profile is checked (profile is session-scoped).  If true, then I want to add the message and show that page as normal.


      Is this possible without a page action?