锘??xml version="1.0" encoding="utf-8" standalone="yes"?>精品久久久国产,精品国产成人av,国产午夜视频在线观看http://www.aygfsteel.com/liuyxit/category/9593.html鍏變韓閰搞佺敎銆佽嫤銆佽荊zh-cnThu, 01 Mar 2007 18:26:37 GMTThu, 01 Mar 2007 18:26:37 GMT60- Struts涓簲鐢╯howModalDialog(妯″紡紿楀彛)http://www.aygfsteel.com/liuyxit/articles/39629.html涓夊垁嫻併伄閫嗛涓夊垁嫻併伄閫嗛Thu, 06 Apr 2006 08:43:00 GMThttp://www.aygfsteel.com/liuyxit/articles/39629.htmlhttp://www.aygfsteel.com/liuyxit/comments/39629.htmlhttp://www.aygfsteel.com/liuyxit/articles/39629.html#Feedback0http://www.aygfsteel.com/liuyxit/comments/commentRss/39629.htmlhttp://www.aygfsteel.com/liuyxit/services/trackbacks/39629.html
// 璁懼畾鍏沖洟紿楀彛鐨勫紑鍏?/span>
request.setAttribute( " close " , " NO " );
閫氬父鎴戜滑鍦ㄥ紑鍙慦EB搴旂敤鏃朵細鐢ㄥ埌showModalDialog(妯″紡紿楀彛)鏉ュ鍔犳垨淇敼璁板綍,鑰屽簲鐢ㄦ垨璁劇疆涓嶅綋鏃朵細閫犳垚姝誨驚鐜垨欏甸潰嫻佽漿閿欒錛屼互涓嬪鎴戝湪Struts涓婂簲鐢╯howModalDialog(妯″紡紿楀彛)鏃跺疄鐜版柟娉曟弿榪幫細
銆銆搴旂敤鐨勬儏鍐碉細
銆銆1.鍦ㄧ洰褰曟爲鐨勫彸閿崟涓婇夋柊澧烇紝寮瑰嚭鏂板紿楀彛--showModalDialog(妯″紡紿楀彛)銆?br />銆銆2.褰曞叆鏁版嵁鍚巗ubmit錛岃皟鐢ˋction淇濆瓨鏁版嵁銆?br />銆銆3.鍦ˋction鍒ゆ柇淇濆瓨鏄惁鍑洪敊錛屽嚭閿欐椂榪斿洖鏂板紿楀彛鎻愮ず閿欒錛屾垚鍔熷悗鍏抽棴寮瑰嚭鐨勬柊紿楀彛騫跺埛鏂扮埗欏甸潰鐨勫垎綾繪爲銆?/p>
浠g爜綆鍐欏涓嬶細
鐩綍鏍戦〉闈細
< A HREF ="javascript: addTree();" > 鏂板鑺傜偣 </ A >
< SCRIPT language ='JavaScript' type ='text/javascript' >
function addTree(){
// 鐢ㄤ簬鍑嗗鏂板欏甸潰鎵闇鐨勫厓绱犲噯澶?/span>
var URL = " treeAction.do?method=add&parentid= " ;
if (d.getSelected() == null ){
URL = URL + ' 0 ';
} else {
URL = URL + tree.getSelected();
}
// alert(URL);
window.showModalDialog(URL,window, " center:true; " );
}銆
</ SCRIPT >
鏂板欏甸潰--showModalDialog(妯″紡紿楀彛)錛?br />
<% @ include file = " /include/jsp/taglib.jsp " %>
<!-- save ok! LiuYX -->
< logic:equal name ="close" value ="OK" >
< script language ="javascript" >
<!--
// alert("here");
var parentWindow = window.dialogArguments;
parentWindow.location.reload();
window.close();
// -->
</ script >
</ logic:equal >
<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >
< html:html lang ="true" >
< head >
< html:base target ="_self" />
< title > Add Form </ title >
< meta http-equiv ="pragma" content ="no-cache" >
< meta http-equiv ="cache-control" content ="no-cache" >
< meta http-equiv ="expires" content ="0" >
< meta http-equiv ="description" content ="cate edit" >
</ head >
< body >
< html:errors />
<!-- add begin -->
< html:form action ="/treeAction.do?method=update" method ="post" >
< html:hidden property ="parentid" />
< table border ="0" align ="center" >
< tr >
< td >< bean:message bundle ="ar1" key ="catename" /> : </ td >
< td >
< html:text property ="catename" />
</ td >
</ tr >
< tr ></ tr >
< tr >
< td align ="center" >< html:submit >< bean:message bundle ="ar1" key ="button.save" /></ html:submit ></ td >
< td align ="center" >< html:button property ="button" onclick ="javascript:window.close();" >< bean:message bundle ="ar1" key ="button.cancel" /></ html:button ></ td >
</ tr >
</ table >
</ html:form >
</ body >
</ html:html >
鏈鍚庡湪Action涓垽鏂柊澧炴槸鍚︽垚鍔?鎴愬姛鍒欙細
// 璁懼畾鍏沖洟紿楀彛鐨勫紑鍏?/span>
request.setAttribute( " close " , " OK " );
鍚﹀垯錛?/p>
// 璁懼畾鍏沖洟紿楀彛鐨勫紑鍏?/span>
request.setAttribute( " close " , " NO " );

]]>
主站蜘蛛池模板:
安乡县|
泸定县|
邓州市|
东丽区|
乐亭县|
神农架林区|
区。|
玉山县|
姚安县|
龙泉市|
恩施市|
吉隆县|
类乌齐县|
滁州市|
邓州市|
济阳县|
冕宁县|
灵山县|
佛教|
阿合奇县|
察隅县|
桂林市|
县级市|
和平县|
乌拉特前旗|
辽阳县|
宁南县|
沁阳市|
浦东新区|
新平|
清流县|
彩票|
郯城县|
林周县|
密山市|
樟树市|
桐梓县|
库尔勒市|
永吉县|
岱山县|
桑植县|