1 Reply Latest reply on May 21, 2007 5:10 AM by Hannes Schulz

    Getting ALL Components of a given name in ALL contexts

    Philipp Straub Newbie

      Hi all,

      how can I get all components with name x in all contexts?

      Here my scenario:
      On a page I am showing a list (dataTable) of persons, with options to add a new person or delete an existing one. The table is backed by a PersonListController (name=personListController), which caches the currently shown persons. The PersonListController is in conversation scope. Now a user adds or deletes a person. Now I need to refresh ALL PersonListControllers of all users (as the persons are cached and the change would not be shown otherwise). With Component.forName("personListController") I only get the PersonListController of the request's user. How can I get all?

      Thank you!