我的网页上有以下代码:
<a4j:repeat value="#{tdController.cu.esaDoutCUConsigment.esaDoutCUDepartureArrivalTransport.transportMeans}" var="transportMean" rowKeyVar="idx">
<tr>
<td>
<rich:autocomplete id="transportMeansInactiveCountry#{idx}" mode="cachedAjax"
autocompleteMethod="#{countryList.autoComplete}"
minChars="1" layout="grid"
var="country" fetchValue="#{country.code}" width="50px"
inputClass="autoCompleteWidth20"
immediate="true" autofill="true"
value="#{transportMean.country}"
converter="com.enfasis.eced.common.controller.converter.CountryConverterAutoComplete">
<h:outputFormat value="{0}({1})">
<f:param value="#{country.name}"/>
<f:param value="#{country.code}"/>
</h:outputFormat>
<a4j:ajax event="selectitem" execute="@this"
render="transportMeansInactiveCountryCode#{idx}"/>
</rich:autocomplete>
<h:outputText id="transportMeansInactiveCountryCode#{idx}"
value="#{transportMean.country.name}" style="margin-left:5px"/>
</td>
...
</a4j:repeat....
a 4j:repeat loop i m establishing idactiveally,在id=“transportMeans InactiveCountryCode#{idx}”后添加了浏览指数。
但是,如果以这种方式确定婴儿,则以“回升”的方式重新接纳精英,“流动Means InactiveCountryCode#{idx}”则不作工作。
我如何解决这一问题?