views:

43

answers:

1

Hi all,

I have a newbie question in JSF, and particular in Richfaces.

I need my JSF application to have two pages showing the same tree, meaning that:

  • The two trees should be showing the same data
  • If I change something in one of the trees (i.e. open/close/add a node) the second tree should be automatically updated.

Is this possible? If yes, could you give me a brief outline?

UPDATE: Let me give some more details: two of the pages of the application will have this tree in their left pane. The first page will make the second one as a popup when a button is clicked. I want the two pages to show the same tree in sync.

Thanks!

+1  A: 

You can use <a4j:push> to notify your trees about any changes.

Bozho