title: ajax call not being made from within <p:dataGrid>
body: <p><strong>I read BalusC's post (<a href="https://stackoverflow.com/questions/2118656/hcommandlink-hcommandbutton-is-not-being-invoked">here</a>) too but still unable to make an ajax call from a dataGrid.
  Is it that dataGrid doesn support ajax calls? Or i missed something?</strong></p>
  
  <p>Tried everything, the method gets hit when outside the dataGrid, so I assume something do to with dataGrid..? First my page was included into a template, I removed that, still no luck.</p>
  
  <p><strong>My jsf :</strong></p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE html&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml" 
        xmlns:ui="http://java.sun.com/jsf/facelets" 
        xmlns:h="http://java.sun.com/jsf/html" 
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:p="http://primefaces.org/ui"&gt;
  
      &lt;h:head&gt;
          &lt;title&gt;Order select&lt;/title&gt;
      &lt;/h:head&gt;
  
      &lt;h:body&gt;
  
                      &lt;p:layout style="min-width:400px;min-height:400px;" id="layout"&gt;  
  
                          &lt;p:layoutUnit id="rightLayout" position="east" size="100" minSize="200" maxSize="200"&gt;  
                              right
                          &lt;/p:layoutUnit&gt;  
  
                          &lt;p:layoutUnit position="center" &gt;  
  
                              &lt;h:form id="imgForm" style="text-align: center"&gt;
  
                                  &lt;p:dataGrid var="img" 
                                              value="#{orderBean.userMedia.mediaList}" 
                                              columns="4"  
                                              rows="16" 
                                              paginator="true"  
                                              paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink}"  
                                              rowsPerPageTemplate="9,12,15"&gt;  
  
                                      &lt;p:panel&gt;
                                          &lt;p:commandLink actionListener="#{orderBean.selectImage}" update="@form"&gt;
                                              &lt;p:graphicImage value="#{img.thumbNail.getString('url')}"/&gt;
                                          &lt;/p:commandLink&gt;
                                      &lt;/p:panel&gt;
  
                                  &lt;/p:dataGrid&gt; 
  
                              &lt;/h:form&gt;  
  
                          &lt;/p:layoutUnit&gt;  
                      &lt;/p:layout&gt;  
  
      &lt;/h:body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>My managed bean(viewScoped) method:</strong></p>
  
  <pre><code>public void selectImage()
      {
          String methodName = "selectImage()";
          log.info("Entering :"+methodName);
      }
  </code></pre>
  
  <p><strong>I am using :</strong>
  primefaces : 3.3.1
  (tomcat 7 + Java 1.6)</p>