Aug 27, 2015, 3: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:-


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}') {