use p:effect for only ajax updates

UI Components for JSF
Post Reply
goutham.rao
Posts: 24
Joined: 29 Jan 2010, 16:27
Location: Newbury,United Kingdom

04 Jun 2010, 11:09

Morning all,

I haven't been able to search forum properly as using my mobile for surfing .

Anyways my question is : I have to highlight the component being updated after an ajax request .

I'm using p:effect tags and works well except the animation happens on page load as well .

Nothing wrong with the tag in itself , as I'm listening to 'load' event .

Any ideas to get around this would be greatly appreciated .

Env : primefaces 2.0.1.jar , FireFox

Thanks.
Goutham
Primefaces 2.2.1
GlassFish V3.0, JSF 2.0.3
EJB 3.1,HIbernate 3.5
Coding on Netbeans 6.9.1

goutham.rao
Posts: 24
Joined: 29 Jan 2010, 16:27
Location: Newbury,United Kingdom

06 Jun 2010, 17:13

Ok figured it out now.

I'm rendering the component based on a backing bean condition and when the time to update comes they will rendered as the condition would have been met. Works like a treat.

Cheers,
Goutham
Primefaces 2.2.1
GlassFish V3.0, JSF 2.0.3
EJB 3.1,HIbernate 3.5
Coding on Netbeans 6.9.1

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

07 Jun 2010, 12:33

Thanks for sharing your solution Goutham.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 58 guests