What would this slightly expaded code put on the form?


var sods = form.getAllValues("sods")[0] // get sods into an array
form.showDebugMsg( "sods.length=" + sods.length );
for ( var j=0; j<sods.length; j++ ) { // check every SoD
try {
form.showDebugMsg( "sods[" + j + "]=" + sods[j] );
var sodBean = RoleVault.getSodInfo(sods[j], 'en');
form.showDebugMsg( "getSodDn()=" + sodBean.getSodDn() );

var role1 = sodBean.getRole1Dn();
form.showDebugMsg( "role1=" + role1 );
var role2 = sodBean.getRole2Dn();
form.showDebugMsg( "role2=" + role2 );
}
catch ( e ) {
form.showError( e );
}
}
...
}

Wolfgang

On 07.05.2012 19:06, KKnowles Praxism wrote:
> var sods = form.getAllValues("sods")[0] // get sods into an array
> for ( j=0; j<sods.length; j++ ) { // check every SoD
> var role1 = RoleVault.getSodInfo(sods[j], 'en').getRole1Dn()
> var role2 = RoleVault.getSodInfo(sods[j], 'en').getRole2Dn()
> ...
> }