0 Replies Latest reply on Apr 21, 2011 9:18 AM by christophe.carvalho

    "ReRender" a rich:inplaceInput with generated id

    christophe.carvalho

      Hi,

       

      Is there a way to "reRender" a rich:inplaceInput component which has no id specified ?

       

      I can't use <a4j:outputPanel ajaxRendered="true"> because i've got a list of component and i don't want all to be rerender on all ajax requests.

       

      Here is a example :

       

      <c:forEach var="object" items="#{myBean.listObjects}">

         <a4j:region>

            <rich:inplaceInput value="#{object.test}">

                <a4j:support event="onviewactivated" action="#{myBean.doSomething}" reRended="inplaceInputGeneratedId"

            </rich:inplaceInput>

         </a4j:region>

       

      </c:forEach>

       

      I also tried to generate an id, but i've got another problem (duplicate id for component rich:inplaceInput due to ajax reRender with c:forEach).

       

       

      Regards.