showModalDialog 传值到action
山叶溪 2015-03-12 08:24:30 showModalDialog 传值到action如何获取
show-odal-ialog
var articlelearn = new Object();
var cw=correctString.replace(/&/g,",").replace(/"|"|'|\.|\?|!/g,"");
var lw=lessString.replace(/&/g,",").replace(/"|"|'|.|\?|!/g,"");
articlelearn.correctWords=cw;
articlelearn.lessWords=lw;
var retValue = window
.showModalDialog('${ctx}/teacher/ReviewWordDialog.do?articlelearn.id='+$("#articlelearnId").val()+'&student.studentLevel=${student.studentLevel}',
articlelearn,
"dialogWidth=600px;dialogHeight=450px;scroll=no;"
+"center=yes;status=no;dialogLeft:"+bleft+"px;dialogTop:"+btop+"px;");
前台你码如上,由于传递的数据量较大,直接放在url后面传不过去,所以用object对像传递到java后台,但不知怎么获取,请大神们帮忙