您的位置:程序门 -> java -> j2ee / ejb / jms



appfuse的问题:struts


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


appfuse的问题:struts
发表于: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>
发表于:2007-09-29 17:25:021楼 得分:0
帮楼主顶了
发表于:2008-01-04 16:12:032楼 得分:0
你问的什么?


快速检索

最新资讯
热门点击