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 16, 2012, 12:56 PM
178 Posts

connect CSJS object to repeat control

  • Category: Other
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags: csjs,Repeat Control
  • Replies: 1
 I am working on an app that should work with info from LinkedIn.
 
Inspiration I got from this blog post: 
 
in stead of writing the result table first in memory as html I would like to bind the CSJS object  'members' (var members = peopleSearch.people.values;) to a repeat control so I think it will be easier to apply style / display properties to it.
 
Is this possible and how should I do this? 
 
Mar 20, 2012, 6:40 AM
272 Posts
Re: connect CSJS object to repeat control
Hi,
 
to implement this you would have to make a partialRefresh with parameters to update your repeatControl.
The data returned by LinkedIn API could be encoded to JSON via XSP.toJson / dojo.toJson.
 
For SSJS you can use the fromJson-method to decode the data transfered via partial refresh.
 
Hope this helps
Sven
 

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