日期:2014-05-16 浏览次数:20465 次
<%
String actionUrl = request.getContextPath() + "/DispatchAction.do";
EiInfo info = (EiInfo)request.getAttribute("ei");
String formula = info.getCellStr("inqu_status", 0, "formula");
if(formula != null && formula.length() >= 6 ) {
formula = formula.substring(0, 6);
}
String str = "Model = '" + formula+"'";
%>
<EF:EFSelect blockId="result_status" ename="target" row="0" etc="size='20'; style='width: 320px; font-size: 15px;' ondblclick='getValue(this)'">
<EF:EFTableOption beanName="targetCode" conj="-" condition="<%=str %>" />
</EF:EFSelect>
function getValue(selectTag){
var value = selectTag.value; //获得现在得值
}
<bean id="targetCode"
class="com.baosight.iplat4j.ed.domain.SelectDefineBean">
<property name="tableName" value="XVCA.TCAAS15" />
<property name="valueColumnName" value="TARGET_DESC" />
<property name="labelColumnName" value="TARGET" />
<property name="condition" value="" />
<property name="orderBy" value="TARGET asc, MODEL asc" />
</bean>
function getValue(selectTag){
var value = selectTag.value; //获得现在得值
var TARGET=selectTag.options[ selectTag.selectedIndex ].text