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



Aug 27, 2015, 7:13 PM
110 Posts
topic has been resolvedResolved

Loop through custom control's property that has multiple instances

  • Category: Dojo and Client Side JavaScript
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: Custom Control Properties,csjs
  • Replies: 1

I'm creating a custom control that has the following property:-

Normally, to use a custom control property on the client-side, I would access the value as following:-

'#{javascript:compositeData.myMultiInstanceProperty}'

Which is fine if the 'Allow multiple instances' is not check. So how would I loop through one that has multiple instances? I tried the following but doesn't seem to work...

var x;
for (x in '#{javascript:compositeData.myMultiInstanceProperty}') {
    doSomething(x);
}

 


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