简体   繁体   中英

How to use limitRender like in rich:autocomplete

Below is my code for autocomplete :

<rich:autocomplete mode="ajax" minChars="2" var="message" fetchValue="#{message.displayName}" 
                   layout="div" autocompleteMethod="#{suggestionControlAction.suggestionAction}">
   <h:column>
<h:outputText value="#{message.displayName}"/>      
   </h:column>
</rich:autocomplete>

But the problem is,all the a4j:outputPanel which are used in this file are also getting rendered whcih i don't want.There is no limitRender attribute in this tag.

So,how to achive this functionality ?

There is indeed no limitRender attribute, have you tried to nest an a4j:ajax inside:

 <a4j:ajax execute="@this" event="..." render="@this">

I have not tried it but this may work.

Maybe you have this issue: https://issues.jboss.org/browse/RF-12158

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM