private String listToString(List roleNames){
  StringBuffer sb=new StringBuffer();
  for (Iterator i=roleNames.iterator(); i.hasNext(); ) {
    String role=(String)i.next();
    if (sb.length() > 0) {
      sb.append("; ");
    }
    sb.append(getLocalizedString(role + ".label"));
  }
  return sb.toString();
}

private String listToString ( List roleNames ) { StringBuffer sb = new StringBuffer ( ) ; for ( Iterator i = roleNames . iterator ( ) ; i . hasNext ( ) ; ) { String role = ( String ) i . next ( ) ; if ( sb . length ( ) > 0 ) { sb . append ( "; " ) ; } sb . append ( getLocalizedString ( role + ".label" ) ) ; } return sb . toString ( ) ; }
this is a convenience routine that can be used to convert a list of string objects to a single string in the format of " one ; two ; three "
