hg merge 794631dd9264

This commit is contained in:
Carlos Ruiz 2012-12-10 11:35:35 -05:00
commit b29658bb80
1 changed files with 5 additions and 1 deletions

View File

@ -360,7 +360,11 @@ public class RolePanel extends Window implements EventListener<Event>, Deferrabl
for (int i = 0; i < roleKNPairs.length; i++)
{
ComboItem ci = new ComboItem(roleKNPairs[i].getName(), roleKNPairs[i].getID());
ci.setId(ci.getLabel());
if (lstRole.getFellowIfAny(ci.getLabel()) != null) {
ci.setId(ci.getLabel()+"_"+i);
} else {
ci.setId(ci.getLabel());
}
lstRole.appendChild(ci);
if (roleKNPairs[i].getID().equals(initDefault))
lstRole.setSelectedItem(ci);