How to handle 2 views in one xPage

In Xpage I would like to have 2 Repeat controls. In first repeat control I would like to display list of documents from a view, and when user clicks any particular document I would like to display the list of documents in Repeat Control 2 associated with the document user clicked in “Repeat Control 1”.

Let me give an example, Say I have 2 views… In view1 I would like to display Department list details, when user clicks any particular department say “DEPT A” I should display the list of employees in “DEPT A” in view 2

Can anyone help me out? Thanks in advance.

Subject: that should be so easy…

Hi Joseph,

I’m stuck in the same issue…

have you found any solution?

I don’t understand, i think this should be such a common scenario…why there’s any documentation ?

marco