[jboss-user] [JBoss Seam] - Getting ALL Components of a given name in ALL contexts
straubp
do-not-reply at jboss.com
Mon May 21 04:22:49 EDT 2007
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!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047133#4047133
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047133
More information about the jboss-user
mailing list