// WARNING: The selection number must end the action's parameters for the need of refreshGivenStepItem()
} else {
Scenario group = (Scenario)step.getOwner();
- int index = group.getIndex();
+ long index = group.getIndex();
String value = index + "." + number;
if (group.isCheckedout()) icon = "icon.checkedout.png";
else if (getScenarioService().isEmpty(group)) icon = "icon.empty.png";
addItem("0." + number, "menu.step." + number, icon, "step-study?selection=0." + number);
} else {
Scenario group = (Scenario)step.getOwner();
- int index = group.getIndex();
+ long index = group.getIndex();
String value = index + "." + number;
if (index != scenew.getIndex()) {
if (group.isCheckedout()) icon = "icon.checkedout.png";