for (int i = 0; i < refNames.length; i++)
{
SecurityReference sref = getSecurityReference(rundata, refNames[i]);
if (sref != null)
{
Reference ref = new PsmlReference();
ref.setPath(refNames[i]);
ref.setSecurityRef(sref);
portlets.addReference(ref);
}
else
{
String tmpl = CustomLocalization.getString("CUSTOMIZER_ADD_REF_ERROR", rundata);