Reputation: 398
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
Reputation: 1109735
Two ways comes to mind:
Pass an extra request parameter (the search string and the page number?) so that the bean knows which data to preload.
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