struts标签,<s:textfield>嵌套<s:property>的问题
2015-03-04 11:16
429 查看
错误: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>
<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 2标签 <s:textfield> 样式问题
- struts 2标签 <s:textfield> 样式问题
- struts标签之<s:textfield>的取值问题
- struts 2标签 <s:textfield> 样式问题
- struts 2标签 <s:textfield> 样式问题
- struts2 <s:textfield> 标签与<s:property>标签value值设置为action属性值或者对象的属性值
- <s:textfield>标签的tr问题
- struts2 在<s:form>之间添加<s:textfield>或其他标签是出现可能的错误
- struts2 <s:textfield> value属性设置问题
- struts2标签中<s:textfield>中label不显示
- <s:textfield></s:textfield>,<s:date>,<s:property>获取值
- eclipse的jsp文件中option里嵌套<c:if></c:if>标签飘红问题的解决
- Struts2:struts2中的 <s:textfield />标签:日期格式化输出
- 在使用struts标签时,把<s:if>中的test写成了text
- struts2 <s:textfield> value属性默认值问题
- <s:textfield>中用标签库如何取得session中的值
- <s:textfield>自动换行问题
- struts <html:text> 标签基本属性
- 在JS里面,取struts的<html:form>标签里面的<html:text property="title"/>值
- 关于微信小程序<text>标签用flex布局不能居中的问题解决