Domino中读取角色与值的映射

roles:=@UserRoles;
@For(i:=1;i<=@Elements(roles);i:=i+1;
value:=@DbLookup("":"Nocache";"":"";"testing";roles[i];"value");
@If(@IsError(value);value:="";value:=value);@If(value!="";radio:=radio+"<input type=\"radio\" id=\"testid"+@Text(i)+"\" name=\"test1\" onclick=\"test(this)\" value=\""+ value+"\">";""));
radio;
原文地址:https://www.cnblogs.com/blackbean/p/1965726.html