这是页面中条件查询的部分,可以实现
状态:
<div class="search01">
类型:<s:select id="type" name="qm.type" cssClass="text01" headerKey="" headerValue="----请选择----" list="#{'...'}"></s:select>
</div>
executeScripts="true">
/s:div
<s:if test="#session.pageSession.problem_status!=null">
var problem_status = <s:property value="#session.pageSession.problem_status"/>;
setTimeout(function(){$('#probelm_status').setSelectedValue(problem_status);},1);
</s:if>
<s:if test="#session.pageSession.type!=null">
var type = <s:property value="#session.pageSession.type"/>;
setTimeout(function(){$('#type').setSelectedValue(type);},1);
</s:if>
/s:div
我是哪里错了,还是有需要在其他文件中写什么么?