留言板

How to pass data in request when we click on header of sort container?

thumbnail
Sachin Dhus,修改在11 年前。

How to pass data in request when we click on header of sort container?

Junior Member 帖子: 40 加入日期: 12-4-25 最近的帖子
Hi,

I am using Search container in liferay 6.1. In this when we click on header (NAME) in search container for sorting then it generate new request and reloads the page. I want to pass some data in this request and again get back it. Can anybody tell me how to do it?
thumbnail
Rewati Raman,修改在11 年前。

RE: How to pass data in request when we click on header of sort container?

Junior Member 帖子: 97 加入日期: 12-2-24 最近的帖子
Sachin Dhus:
Hi,

I am using Search container in liferay 6.1. In this when we click on header (NAME) in search container for sorting then it generate new request and reloads the page. I want to pass some data in this request and again get back it. Can anybody tell me how to do it?



I am also trying to do the same thing if u tell me little more in brief about ur requirement and code then it would be grate for me

thanks in advance

Regards
Rewati Raman
thumbnail
Sachin Dhus,修改在11 年前。

RE: How to pass data in request when we click on header of sort container?

Junior Member 帖子: 40 加入日期: 12-4-25 最近的帖子
Thanks for reply.

I have attached screen shot of my form. Here when we search user we can get search parameter from request and persist search parameter in fields even if page refresh.
But when we click on Screen name or Email Address then it again generate new request and then I am unable to display search parameters in text boxes. We can do it by using session but it is not a good way. Thats why I am searching for another way to persist (Display) search parameters even if we click on email Id or Screen name for Sorting.