首页 > 其他 > 详细

struts标签,<s:textfield>嵌套<s:property>的问题

时间:2015-03-04 12:29:53      阅读:497      评论:0      收藏:0      [点我收藏+]
错误:org.apache.jasper.JasperException: /front/orderList.jsp(110,122) equal symbol expected
 
<s:textfield name="orderInfo.num" size="20" value="%{count}" onchange="changeCount(this.value,‘<s:property value=‘foodid’>‘)"></s:textfield>
struts2标签不能嵌套使用,应改为
<s:textfield name="orderInfo.num" size="20" value="%{count}" onchange="changeCount(this.value,‘%{foodid}‘)"></s:textfield>
 
 
<input type="text" id="employee_<s:property value="#plotDetail.ctaskId" />" />//将此变为可以回显的
修改为:
<s:textfield  id="employee_%{#plotDetail.ctaskId}" value="%{#plotDetail.employee}"></s:textfield>
 

struts标签,<s:textfield>嵌套<s:property>的问题

原文:http://www.cnblogs.com/hanxue53/p/4312781.html

(4)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!