4 Replies Latest reply on Feb 11, 2008 12:31 PM by dkarr

    a4j:repeat with a4j:support not working properly

    schradermj11

      I am finding that I cannot put ajax support on an input text within a ajax repeater. Below is the code I have, I am expecting the vehicle year to show up in the legend.

      <a4j:repeat value="#{AutoQuoteFace.quoteForm.vehicles}" var="vehicle">
      <h:panelGroup rendered="#{vehicle != null}">

      <h:outputText value="#{vehicle.vehicleName}" id="vehicleName" />
      <rich:messages />
      <h:panelGrid id="VehicleFormGrid" rowClasses="s1row" columns="3"
      columnClasses="formHeader,formField,formField">
      <h:outputLabel for="year" value="#{msg.year}:" />
      <a4j:region>
      <h:inputText id="year" value="#{vehicle.year}" label="#{msg.year}"
      maxlength="4">
      <a4j:support event="onkeyup" reRender="vehicleName" />
      </h:inputText>
      </a4j:region>
      <rich:message for="year" tooltip="true" showSummary="false" showDetail="false">
      <f:facet name="errorMarker">
      <h:graphicImage value="/media/img/icon/error.gif"> </h:graphicImage>
      </f:facet>
      </rich:message>
      </h:panelGrid>

      </h:panelGroup>
      </a4j:repeat>

      Is this a bug? If so should I log a JIRA?