In p:AJAX, we need to mention the target Ids in Update attribute. In business process, these target ids are sometime decided only after the server side processing is done.
Is there a way I can associate the update attribute value to a managed bean instance variable and assign the target ids after my business processing is done?
I think RichFaces has this capablity. It will be great if we can achieve the same in Primefaces.
I am using Primefaces Version 2.2.1. IDE is RSA 8, Server is RSA 8 Server.
Setting the update attribute value on server in AJAX Call
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
RequestContext.getCurrentInstance().addPartialUpdateTarget("clientIdHere").
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Also standard JSF APIs can help like PartialViewContext.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 53 guests