2 Replies Latest reply on Sep 6, 2007 3:33 PM by Tony Mai

    Invoking a Seam component method from pages.xml?

    Tony Mai Apprentice

      Hello,

      I have a few pages where the contents are fetched from a database. I would like to have these contents refreshed when the user return to these pages (within a session).

      I have a .refresh() method on Seam components that is used as the backing bean for these pages. I also have a navigation rule for each of the pages.

      Q: How do I invoke the .refresh() method within a navigation rule (declared in the pages.xml)? And should I do it this way or is there a better way to refresh the contents within a page?

      Thanks for your help.
      -tony