[SOLVED] Dynamic render attributes

UI Components for JSF
Post Reply
juangon
Posts: 69
Joined: 22 Mar 2009, 19:05

14 Nov 2011, 12:34

Hi all!

I am investigating the way to migrate a Richfaces 3.3.3 JSF 1.2 project to a Primefaces 3.0.M4 JSF 2 project.

I wanted to know if it's possible to update some dynamic components after action/actionListener. What I mean is, I have this tag:

<p:ajax e.... update="#{bean.itemsToUpdate}" />

Will be possible to get this items to update AFTER action/actionListener is executed? The items to update only will be known after that action/actionListener execution (not initial RENDER phase).

I didn't find any information about this over the web. Cagatay (as JSF spec member), is this possible with standard JSF 2.0?

Thanks for your hard work! IMHO Primefaces takes the lead nowadays in JSF 2.0 components.
Last edited by juangon on 14 Nov 2011, 14:22, edited 1 time in total.

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

14 Nov 2011, 12:49

RequestContext.addPartialUpdateTarget.

See page 417 in new User's Guide;

http://blog.primefaces.org/?p=1527

juangon
Posts: 69
Joined: 22 Mar 2009, 19:05

14 Nov 2011, 13:20

Thanks very much Cagatay!

So, I guess this doesn't exists in Java EE 6 standard....

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

14 Nov 2011, 13:30


juangon
Posts: 69
Joined: 22 Mar 2009, 19:05

14 Nov 2011, 14:21

Many thanks!

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

14 Nov 2011, 14:37

You are welcome!

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 33 guests