| | |
| | | returnStr += "<span id=\"" + id + "Span\" name=\"" + id + "Span\" style=\"border:0px solid #a5a6ad; height:24px;\">" |
| | | + "<input id=\"" + id + "\" name=\"" + id + "\" value=\"" + getJspValue(id) + "\" type=\"hidden\" " |
| | | + "onPropertyChange=\"cheeckSValueChan('" + id + "')\" /><ul class=\"checkcss\"><% "; |
| | | returnStr += "\r\ntry{\r\n String outStr=\"\";\r\n int i_sql_checks=0;"; |
| | | returnStr += "\r\ntry{\r\n String outStr_"+id+"=\"\";\r\n int i_sql_checks=0;"; |
| | | returnStr += "\r\n sql = \"" |
| | | + DBHelper.replaceBr(panelBean.initialValue.getValLinShi(DBHelper.getValue(map, "SqlScript"), true)) + "\";"; |
| | | returnStr += "\r\n SRS = build.getSqlRowSet(DBHelper.getValRepShi(sql,session,docMap, false));"; |
| | |
| | | } else { |
| | | returnStr += "<span id=\"" + id |
| | | + "Span\" style=\"border:0px solid #a5a6ad; height:24px;\"><%"; |
| | | returnStr += "\r\ntry{\r\n String outStr=\"\";\r\nint i_sql_radio=0;"; |
| | | returnStr += "\r\ntry{\r\n String outStr_"+id+"=\"\";\r\nint i_sql_radio=0;"; |
| | | returnStr += "\r\n sql = \"" |
| | | + DBHelper.replaceBr(panelBean.initialValue.getValLinShi(DBHelper.getValue(map, "SqlScript"), true)) + "\";"; |
| | | returnStr += "\r\n SRS = build.getSqlRowSet(DBHelper.getValRepShi(sql,session,docMap, false));"; |
| | |
| | | + "\").equals(SRS.getObject(2))||(\"" |
| | | + panelBean.initialValue.getValLinShi(DBHelper.getValue(map, "initValue"), false) |
| | | + "\").equals(SRS.getObject(1))){"; |
| | | returnStr += " outStr += \" checked='checked' \";"; |
| | | returnStr += "}else{outStr += \"\";}%>"; |
| | | returnStr += "<input <%=outStr%> name=\"" + id + "Radio\" type=\"radio\" id=\"" + id |
| | | returnStr += " outStr_"+id+" += \" checked='checked' \";"; |
| | | returnStr += "}else{outStr_"+id+" += \"\";}%>"; |
| | | returnStr += "<input <%=outStr_"+id+"%> name=\"" + id + "Radio\" type=\"radio\" id=\"" + id |
| | | + "_<%=i_sql_radio%>\" value=\"<%=SRS.getString(1)%>\" onclick=\"getRad('" + id |
| | | + "')\"><%=SRS.getString(2)%> "; |
| | | returnStr += " <%i_sql_radio++;}}finally {}%>"; |