[Bug #939] Fixed adding new method to return a string for the position.
FEA: ItEr72S04BugFixing
This commit is contained in:
parent
c49d837be8
commit
bcce377da3
2 changed files with 5 additions and 1 deletions
|
|
@ -83,6 +83,10 @@ public class QualityFormItem implements INewObject {
|
|||
return position == null ? null : position;
|
||||
}
|
||||
|
||||
public String getStringPosition() {
|
||||
return position == null ? "" : new Integer(position + 1).toString();
|
||||
}
|
||||
|
||||
public void setPosition(Integer newPosition) {
|
||||
this.position = newPosition;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@
|
|||
<row self="@{each='qualityFormItem'}" value="@{qualityFormItem}">
|
||||
<textbox value="@{qualityFormItem.name}" width="95%"
|
||||
constraint="@{controller.checkConstraintQualityFormItemName}"/>
|
||||
<label value="@{qualityFormItem.position}" width="50px"/>
|
||||
<label value="@{qualityFormItem.stringPosition}" width="50px"/>
|
||||
|
||||
<decimalbox scale = "2" width="100px"
|
||||
visible="@{controller.byPercentage}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue