Is there a way to replace richfaces tag "<a:queue" to primefaces and JSF 2.2

108 Views Asked by At

I need to migrate my legacy application using JSF 1.2/SEAM to JSF 2.2.

I need to replace the following code in one of the template files

<a:queue name="ic" requestDelay="250"/>

Please suggest a replacement for this code. Thanks.

1

There are 1 best solutions below

0
Jasper de Vries On

As you are migrating to PrimeFaces, you can simply use p:ajax with the delay attribute.

From the documentation:

If less than delay milliseconds elapses between calls to request() only the most recent one is sent and all other requests are discarded. If this option is not specified, or if the value of delay is the literal string 'none' without the quotes, no delay is used.