Question

I know that attribute limitToList="true" in richfaces 3.5 or limitRender="true" in richfaces 4.x allows to dismiss the behavior of the "ajaxRendered" attribute.

Now I'm looking for the equivalent attribute in primefaces 3.5 to dismiss the behaviour of autoUpdate="true", because I don't want to update my p:outputPanel with autoUpdate="true" on every ajax call.

Any help is highly appreciated.

Thanks in advance guys.

Was it helpful?

Solution

There's none.

You can however do it from the other side on. Just make autoUpdate itself conditional. Basically:

autoUpdate="#{evaluate true only if you actually need auto update}"

You could check for request parameters, pressed buttons or bean properties here the usual way.

OTHER TIPS

Just answering my question with a thought that it may help others.

In primefaces 4.X there is an attribute ignoreAutoUpdate which is equivalent of limitToList or limitRender in richfaces. This attribute is available on various components like p:ajax, p:commandButton p:commandLink and p:poll and p:remoteCommand.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top