<%@ page contenttype= "Text/html;charset=utf-8" language= "java"%><%String Pltmcomcdedw= "Configure.platform.editPltmComCde_DW"; String Cpkid= Request.getparameter ("Cpkid");%>//Initialize to get the information currently being modifiedfunction init () {var cpkid= "<%=CPkId%>"; if(Cpkid! =NULL&& Cpkid! = ") {Tool.sendxmlbyservicenocheck (["<%=pltmComCdeDW%>"], "pltmcomcdebizaction", "Getpltmcomcdebyid", "<%=CPkId%>") } } //Save (Add/Update)function Savecommcde () {if(Tool.sendxmlbyservice (["<%=pltmComCdeDW%>"], "pltmcomcdebizaction", "SAVEORUPDATEPLTMCOMCDE") {Tool.alert (tool.getresultmsg ()); Window.returnvalue=true; Self.close (); } Else{var msg=tool.getresultmsg (); if(msg! = "") Tool.alert (Tool.getresultmsg ()); }} function Addtest () {Tool.insertrow (["<%=pltmComCdeDW%>"], [],true); var rowNum= Tool.getrownum (["<%=pltmComCdeDW%>"]); Tool.setattrvalue (["<%=pltmComCdeDW%>"], ' ccde ', ' eeee ', RowNum); }</script> Createwithnodata= "true" > <modification type= "grid_edit" title= "Association platform General Code Edit" showfilter= "false" Width= "630" > <buttons> <!--onclick= "Addcoinsurer ()"-< Button beanid= "-" beanname= "-" ishidden= "false" methodid= "-" onclick= "Addtest ()" Name= "Btn_add" type= "Insert" value= " "/> <button beanid="-"beanname="-"ishidden=" false "methodid="-"name=" Btn_add "type=" dele TE "value=" "/> <button type=" Custom "value=" Save "onclick=" Savecommcde () "/> <button type= "Custom" value= "Off" onclick= "Self.close ()"/> </buttons> </modification> </ialabour:dataWindow> </ialabour:form> </ialabour:body> Beantool.map2bean (Map,obj)