| 发表于:2007-09-05 22:09:29 楼主 |
1、父窗口:javascaript <script type= "text/javascript "> <!-- function openchild(){ var k = window.showmodaldialog( "customers.html?method=findname ", "window ", "dialogwidth:700px;dialogheight:700px "); if(k != null) document.getelementbyid( "insuredperson ").value = k; } //--> 2、通过这个customers.html?method=findname访问customeraction的findname方法弹出页面 3、customernamelist.jsp的部分代码 <html:form action= "customers " method= "post " styleid= "customerform " target= "_self "> <inscrm:label styleclass= "desc " key= "customerform.customname " /> <html:errors property= "customname " /> <html:text property= "customname " styleid= "customname " styleclass= "text medium " /> <html:submit styleclass= "button " property= "method.findname " onclick= "bcancel=false "> <fmt:message key= "button.search "/> </html:submit> </html:form> 这个做查询的时候怎么就在弹出的窗口刷新 <display:table name= "customerlist " cellspacing= "0 " cellpadding= "0 " id= "customerlist " pagesize= "5 " class= "table customerlist " requesturi= " "> <display:column property= "customname " sortable= "true " headerclass= "sortable " titlekey= "customerform.customname " /> <display:column property= "customsex " sortable= "true " headerclass= "sortable " titlekey= "customerform.customsex " /> <display:column property= "identifynumber " sortable= "true " headerclass= "sortable " titlekey= "customerform.identifynumber " /> </display:table> |
|
|
|
|