I have a problem with p:autocomplete element. It is nested inside double ui:repeat, and it doesn't respond. If I put it out of second ui:repeat and place it in the first repeat or out of both repeats, autocomplete works normally. Does anybody have a clue what could be a problem?
Here's my code.
<ui:repeat id="joinConditionPart"
value="#{join.joinParts}" var="joinPart" varStatus="conditionIndex" >
<div class="line-group" >
<p:outputLabel value="ON" rendered="#{conditionIndex.index == 0}"
styleClass="join-left" />
<p:outputLabel value="AND" rendered="#{conditionIndex.index != 0}"
styleClass="join-left" />
<p:autoComplete id="leftJoinPart"
converter="stringConverter"
completeMethod="#{editRuleBBean.autocomplete()}"
dropdown="true"
disabled="#{editRuleBBean.rule.type == 'ANALYSIS' and
editRuleBBean.rule.id != null}">
</p:autoComplete>
<span class="text join-middle">=</span>
<p:autoComplete id="rightJoinPart"
rendered="true"
value="#{joinPart.rightPart}"
completeMethod="#{editRuleBBean.autocomplete()}"
converter="stringConverter"
dropdown="true"
>
</p:autoComplete>
Bean works fine.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.