title: jsf 2.0 response already commented (ajax)
body: <p>overflow,</p>
  
  <p>since yesterday I have for unknown reasons following problem:</p>
  
  <p>i have a list of items, and when i delete one of them and let the page refresh by ajax, it stucks after the deletion-procedure and prints me following error:</p>
  
  <p>Jul 28, 2013 3:54:42 PM org.apache.myfaces.context.servlet.ServletExternalContextImpl setResponseContentType
  <strong>SEVERE: Cannot set content type. Response already committed</strong></p>
  
  <p>the deletion code is called by: </p>
  
  <pre><code>public void deleteEntry(AjaxBehaviorEvent event){...} //runs fine
  </code></pre>
  
  <p>and the ajax part is:</p>
  
  <pre><code>&lt;h:commandButton value="delete" onclick="closeDialog(deleteDlg);"&gt;
      &lt;f:ajax event="click" execute="@form" render=":maintable" listener="#{updateEntryMetaDataBean.deleteEntry}"/&gt;
  &lt;/h:commandButton&gt;
  </code></pre>
  
  <p>i don't really know why this error occurs, it seems like it only occurs on this specific page, on other pages with the same behaviour it runs fine.</p>
  
  <p>my ajax-status hangs up and keeps running too:</p>
  
  <pre><code>    &lt;!-- AJAX-STATUS INFO --&gt; 
      &lt;p:ajaxStatus style="width:64px;height:64px;position:fixed;right:5px;bottom:5px"&gt;  
          &lt;f:facet name="start"&gt;
              &lt;p:graphicImage value="resources/images/loading.gif" /&gt;  
          &lt;/f:facet&gt;   
  
          &lt;f:facet name="complete"&gt;  
              &lt;h:outputText value="" /&gt;  
          &lt;/f:facet&gt;  
      &lt;/p:ajaxStatus&gt;
  </code></pre>
  
  <p>what can I do there?</p>