title: Primefaces : update dialog content and keep it open
body: <p>I'm working with JSF and PrimeFaces, and I can't handle the following situation:
  I have a dialog, and I placed a dataTable on it. In one of the cells of the table I would like to display given data in 3 different ways, and I'd like to switch between them. So far I managed to switch between these rendering types via commandLink, but my problem is that when I click on one of the 3 links, the dialog closes! Can I update the content of the dialog, and be able to keep it open the same time? (I'm updating which render type to use via myMethod)</p>
  
  <p>my commandLink looks like this:</p>
  
  <pre><code>&lt;p:commandLink id="id" update=":myForm:myDialog" ajax="false"
                 action="#{myBean.myMethod}" oncomplete="dialog.show()"&gt;
  </code></pre>
  
  <p>If i don't use the ajax=false attribute, the method is not called, and I also tried imediate=true, but that's not it either.</p>