title: How to pass the selected object from orderlist and submit on serverside
body: <pre><code>&lt;h:panelGrid columns="2"&gt;
                          &lt;h:outputText value="Search Results List"/&gt;
                          &lt;p:commandButton value="Add user" process="@this" styleClass="btn-primary" style=" margin-bottom: 20px;margin-left: -80px;width:75px;" action="#{testBean.addUser(user)}"/&gt;
                          &lt;p:orderList styleClass="resultBox" style="color: #263F6A;" var="user" value="#{testBean.contacts}" 
                              itemLabel="#{user.firstName}"  itemValue="#{user.firstName}" controlsLocation="none"&gt;
                          &lt;/p:orderList&gt;
                      &lt;/h:panelGrid&gt;
  </code></pre>
  
  <p>I was working with primefaces orderlist, I have managed to get orderlist from backend, now I have select  one of item  from orderist and have to send it to server side to query.. I have posted the above code to do that.. I am facing  problems as user object is null.. How to send an selected item from orderlist and send it across the server also please explain me about the process="@this" . I am using primefaces 3.4.2 and JSf2 websphere8.</p>
  
  <p>Thanks in advance</p>