Vipin
Vipin

Reputation: 398

Populating a page from Data table in modal panel

I'm trying to get some data from a datatable in rich:modal panel

The whole flow is as follows

I tried stuff like getRowData, getValues, etc. but in vain. This could be done by keeping the bean in session scope but I have to keep this bean in request scope using Apache MyFaces JSF 1.2

Upvotes: 1

Views: 804

Answers (1)

BalusC
BalusC

Reputation: 1109735

Two ways comes to mind:

  1. Pass an extra request parameter (the search string and the page number?) so that the bean knows which data to preload.

  2. Make use of MyFaces Orchestra to create a conversation scope which lies in between request and session scope and is exactly the scope you're looking for this particular functional requirement.

Upvotes: 2

Related Questions