This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Mar 19, 2012, 7:53 AM
11 Posts

Partial update in Xpages allow to select multiple element IDs

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.1
  • Role: Developer
  • Tags: Partial update in Xpages
  • Replies: 6
Hi ,
 
I have a question about the partial update in xpages. As I want to dispaly the hidden page elements when I click on the radio button . In designer at a time I can select only one element Id.
Is there any way to refresh mulitiple elements when the same event occurs?
 
 
Regards, 
Yogesh Kashid 
Mar 19, 2012, 8:48 AM
261 Posts
Re: Partial update in Xpages allow to select multiple element IDs
The only way I know how to do this is by using the onComplete property of the event. Details on how to use this method can be found here.
Mar 19, 2012, 10:57 AM
11 Posts
Re: Partial update in Xpages allow to select multiple element IDs
Thanks for the quick response.
But it updates the entire page. Is there any way around to avoid the same?
Mar 19, 2012, 1:12 PM
298 Posts
Typically you would use a panel for this
Put all your elements to be refreshed in a panel and then refresh the panel and everything inside it will be refreshed. Howard
Mar 20, 2012, 8:48 AM
11 Posts
Re: Partial update in Xpages allow to select multiple element IDs

Thanks Howard D Greenberg/TLCC for your reply.

I tried that before , its working. But question is if I have two panels located one at the top and another at the bottom of my xpage then how could I select multiple ids to refresh those panels partially?

As I cant put my all elements in single panel. In such scenario is there any way to perform the partial refresh. 
Mar 20, 2012, 5:03 PM
298 Posts
You can refresh via code
I don't have the exact syntax on hand, I know from client side there is a refresh method in the XSP class and a similar one in SSJS. Howard

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal