예제 #1
0
 private boolean setEditReadOnly(int rowNo) {
   boolean ret = getEditField().getReadOnly();
   if (_editDescription)
     getEditField()
         .addOnChange(
             getFormString()
                 + _hiddenKeyHandle.getFullName()
                 + (rowNo != -1 ? "_" + rowNo : "")
                 + ".value=''");
   return ret;
 }
예제 #2
0
  public String getHiddenKeyFieldFullName(int rowNum) {
    String hiddenKeyFullName = null;
    String formString = null;
    if (getPage() != null) {
      hiddenKeyFullName = _hiddenKeyHandle.getFullName();
      if (rowNum > -1) hiddenKeyFullName += "_" + rowNum;
      formString = getEditField().getFormString();
    }

    if (hiddenKeyFullName == null) return null;
    else return formString + hiddenKeyFullName;
  }