Primefaces and Ajax component improvements

UI Components for JSF
Post Reply
Mediii
Posts: 13
Joined: 23 Feb 2010, 10:00

08 Feb 2011, 16:47

Hi,

Everyone has already heard about ajax4jsf richfaces, we can see a very large set of useful ajax components like a4j:queue a4j:support, a4j:keepAlive a4j:Region a4j:poll a4j:push ...and many other.

I would like to know what are the equivalent if exist into Primefaces project.

Can we expect to see one day in Primefaces the missing components like the a4j:queue component ?


Cheers.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

08 Feb 2011, 18:28

a4j:queue : Never needed when developing with JSF and PrimeFaces
a4j:support : p:ajax
a4j:keepAlive : Obsolete with JSF 2.0 View Scope
a4j:Region : Obsolete with JSF 2.0 and PrimeFaces Partial Processing
a4j:poll : p:poll
a4j:push : p:push

helkish
Posts: 1
Joined: 08 Feb 2011, 18:39

08 Feb 2011, 18:49

What about a4j:include?

One of the most useful features of Richfaces.

ankitacroit09
Posts: 18
Joined: 20 Nov 2017, 08:52

04 Jan 2018, 13:26

a4j:queue : Never needed when developing with JSF and PrimeFaces
Can you please explain this point.
How we can use prime component in place of a4j:queue ?

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

04 Jan 2018, 13:44

Can you explain us why you need q4j:queue? ;)
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

ankitacroit09
Posts: 18
Joined: 20 Nov 2017, 08:52

08 Jan 2018, 07:45

I need Ajax:Queue for setting the following attribute :
* Delay and oncomplete :- That is covered as part of Ajax now in p:Ajax
* I want equivalent for "ignoreDupResponses" - Ignore duplicateRespoense

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

08 Jan 2018, 10:24

we don't have something like ignoreDupResponses. Also never needed something since years.

The example shows a keyup event to ignore duplicate responses. I would say our delay is the better way as it ignores duplicate requests, if a new request would be fired inside the delay from the same component.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

ankitacroit09
Posts: 18
Joined: 20 Nov 2017, 08:52

09 Jan 2018, 05:22

Thanks for reply.
So its means duplicate response automatically handle by the primeface.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 62 guests