title: Access values displayed in Search Container in another jsp
body: <p>I have a jsp where I display some data of some people say employees.
  The data of each employee is displayed as a row.
  I have made each row as a link so that when a user clicks on any row which gives details of a particular employee,
  the user is directed to a jsp which displays the same data of the employee so that further processing could be done.</p>
  
  <p>My question is how should I pass the data of an employee when a user clicks on the row which contains that particular employee information?</p>
  
  <p>What I have right now done is this:</p>
  
  <pre class="lang-jsp prettyprint-override"><code>&lt;portlet:renderURL  var="viewPendingLeaveApplicationsURL"/&gt;
  
  &lt;liferay-ui:search-container delta="20" emptyResultsMessage="No Results Found"&gt;
      &lt;liferay-ui:search-container-results total="&lt;%= pendingApprovals .size() %&gt;"
              results="&lt;%= ListUtil.subList(pendingApprovals , searchContainer.getStart(), searchContainer.getEnd()) %&gt;" /&gt;
  
      &lt;liferay-ui:search-container-row keyProperty = "empId" modelVar="search"
              className="com.corpserver.mallyas.mis.portal.model.LeaveApplication"&gt;
  
          &lt;portlet:renderURL var="leaveApplicationURL"&gt;
              &lt;portlet:param name="jspPage"  value="/admin/AddCompany.jsp" /&gt;
              &lt;portlet:param name="search" value='&lt;%String.valueOf(search.getEmpId());%&gt;'/&gt;
          &lt;/portlet:renderURL&gt;
  
          &lt;liferay-ui:search-container-column-text name='Leave Duration' value='&lt;%=String.valueOf(search.getLeaveDuration())%&gt;' href="&lt;%= leaveApplicationURL.toString()%&gt;" /&gt;
  
          &lt;liferay-ui:search-container-column-text name="From" value='&lt;%=String.valueOf(search.getLeaveFromDate())%&gt;' href="&lt;%= leaveApplicationURL.toString()%&gt;"/&gt; 
  
          &lt;liferay-ui:search-container-column-text name="To" value='&lt;%=String.valueOf(search.getLeaveToDate())%&gt;' href="&lt;%= leaveApplicationURL.toString()%&gt;"/&gt; 
  
          &lt;liferay-ui:search-container-column-text name="Reason" value='&lt;%=String.valueOf(search.getLeaveReason())%&gt;' href="&lt;%= leaveApplicationURL.toString()%&gt;"/&gt; 
  
          &lt;liferay-ui:search-container-column-text name="Remarks" value='&lt;%=String.valueOf(search.getLeaveRemarks())%&gt;' href="&lt;%= leaveApplicationURL.toString()%&gt;"/&gt; 
  
      &lt;/liferay-ui:search-container-row&gt;
  
      &lt;liferay-ui:search-iterator/&gt;
  
  &lt;/liferay-ui:search-container&gt;
  </code></pre>
  
  <p>In the above code I am trying to pass the <code>empId</code> of the row which the user selects.
  But nothing gets displayed in the second jsp. I want to pass all of this information on second jsp.</p>