title: Portlet to Portlet communication in liferay
body: <p>I have two portlets: Display-portlet and Comment-portlet.</p>
  
  <p><strong>Display-portlet</strong><br>
  This shows a grid (html <code>&lt;table&gt;</code>) for which the details come from the database. Each table row shows vendor details and has a <code>href</code> link,
  that should get connected to my <strong>Comment portlet</strong> and <strong><em>pass</em></strong> parameters like <code>vendor-name</code>, <code>transcation-id</code> to Comment-portlet.</p>
  
  <p>On each row a link is there and on select of a particular vendor his detail should pass to the second portlet.</p>
  
  <p>I have tried portlet-to-portlet event mechanism which passes information through process action, so I am trying to implement the same logic over here,
  but my parameters are not passed to the action class.</p>
  
  <hr>
  
  <p>My Display portlet's <code>view.jsp</code> has the following table:</p>
  
  <pre class="lang-jsp prettyprint-override"><code>&lt;table&gt;
      &lt;tr&gt;
          &lt;th&gt;Trans.ID&lt;/th&gt;
          &lt;th&gt;Vendor Name&lt;/th&gt;
          &lt;th&gt;Action&lt;/th&gt;
          &lt;th&gt;Discuss&lt;/th&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td align="center" id="trans_id"&gt;
              &lt;%=chatEntry.getTransactionId()%&gt;
          &lt;/td&gt;
          &lt;td align="left" id="vname_id"&gt;
              &lt;%=chatEntry.getVendorName()%&gt;
          &lt;/td&gt;
          &lt;td align="center" id="status_id"&gt;
              &lt;%=chatEntry.getStatus()%&gt;
          &lt;/td&gt;
          &lt;td align="center"&gt;
              &lt;a href="javascript:submitForm()"&gt;click&lt;/a&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Please help as to how should I pass my each row values to other portlet.</p>
  
  <p>When I try to use hidden values, by default only first value gets selected. Please suggest a solution if there is some other way to handle this.</p>
  
  <p><em>This question may not be completely Liferay-IPC, but if a better solution provided will be appreciated.</em></p>