<script type="text/javascript">
<!--
function addData(){
location.href='${lowerName}.do?method=preAdd';
}
function deleteData(){
document.all["waitProgress1"].style.display="";
var msg1 = "<fmt:message key="common.noData"/>";
if (hasCheckChkBox('${lowerName}Form',msg1)){
if(confirm("<fmt:message key="common.deleteMessage"/>")){
${lowerName}Form.action="<c:out value="${ctx}"/>/system/${lowerName}.do?method=delete";
${lowerName}Form.submit();
}
}
}
function withDraw(){
document.all["waitProgress1"].style.display="";
var msg1 = "<fmt:message key="common.noData"/>";
if (hasCheckChkBox('${lowerName}Form',msg1)){
if(confirm("<fmt:message key="common.withdraw"/>")){
${lowerName}Form.action="<c:out value="${ctx}"/>/system/${lowerName}.do?method=delete";
${lowerName}Form.submit();
}
}
}
function pubLish(){
document.all["waitProgress1"].style.display="";
var msg1 = "<fmt:message key="common.noData"/>";
if (hasCheckChkBox('${lowerName}Form',msg1)){
if(confirm("<fmt:message key="common.publish"/>")){
${lowerName}Form.action="<c:out value="${ctx}"/>/system/${lowerName}.do?method=delete";
${lowerName}Form.submit();
}
}
}
function editData(){
document.all["waitProgress1"].style.display="";
var msg1= "<fmt:message key="common.spilthMsg"/>";
var msg2= "<fmt:message key="common.noData"/>";
if (checkEditBox('${lowerName}Form',msg1,msg2)){
${lowerName}Form.action="<c:out value="${ctx}"/>/system/${lowerName}.do?method=preUpdate";
${lowerName}Form.submit();
}
}
-->
</script>
<!--
function addData(){
location.href='${lowerName}.do?method=preAdd';
}
function deleteData(){
document.all["waitProgress1"].style.display="";
var msg1 = "<fmt:message key="common.noData"/>";
if (hasCheckChkBox('${lowerName}Form',msg1)){
if(confirm("<fmt:message key="common.deleteMessage"/>")){
${lowerName}Form.action="<c:out value="${ctx}"/>/system/${lowerName}.do?method=delete";
${lowerName}Form.submit();
}
}
}
function withDraw(){
document.all["waitProgress1"].style.display="";
var msg1 = "<fmt:message key="common.noData"/>";
if (hasCheckChkBox('${lowerName}Form',msg1)){
if(confirm("<fmt:message key="common.withdraw"/>")){
${lowerName}Form.action="<c:out value="${ctx}"/>/system/${lowerName}.do?method=delete";
${lowerName}Form.submit();
}
}
}
function pubLish(){
document.all["waitProgress1"].style.display="";
var msg1 = "<fmt:message key="common.noData"/>";
if (hasCheckChkBox('${lowerName}Form',msg1)){
if(confirm("<fmt:message key="common.publish"/>")){
${lowerName}Form.action="<c:out value="${ctx}"/>/system/${lowerName}.do?method=delete";
${lowerName}Form.submit();
}
}
}
function editData(){
document.all["waitProgress1"].style.display="";
var msg1= "<fmt:message key="common.spilthMsg"/>";
var msg2= "<fmt:message key="common.noData"/>";
if (checkEditBox('${lowerName}Form',msg1,msg2)){
${lowerName}Form.action="<c:out value="${ctx}"/>/system/${lowerName}.do?method=preUpdate";
${lowerName}Form.submit();
}
}
-->
</script>