1 Reply Latest reply on Jun 5, 2008 9:21 AM by Hans Huber

    a4j:region renderRegionOnly not working with broken img link

    Hans Huber Newbie


      i have a a4j:region that is updated with search results.
      the results show a thumbnail image.
      if the link to the image is broken not only the region but the whole page is rerendered.

       <a4j:outputPanel id="displayFilterList" ajaxRendered="true">
       <h:inputText id="input" value="#{searchBean.userQuery}">
       <a4j:commandButton id="btnTest" value="Test" action="#{searchBean.doSearch}"/>
       <h:dataTable border="1" width="100%" id="mediaResultTable"
       value="#{searchBean.searchContextMedia.resultList}" var="item"
       <h:graphicImage id="image1" value="#{item.thumbnail}" /> <br/>
       Title: #{item.title} <br/>

      if #{item.thumnail} is a broken link the method #{contenBean.testMethod} is called during the ajax-update.

      is this by design or a bug?