当我尝试命名我的a4j:commandButton
按价值<<
像那样
<a4j:commandButton id="myButton"
value="<<"
render="myGrid"
styleClass="style_btn"
disabled="false" />
发生错误
我的调试轨迹
Error Traced[line: 88] The value of attribute "value" associated with an element type "null" must not contain the '<' character.] with root cause
javax.faces.view.facelets.FaceletException: Error Parsing /screens/s1.xhtml: Error Traced[line: 88] The value of attribute "value" associated with an element type "null" must not contain the '<' character.
at com.sun.faces.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:390)
at com.sun.faces.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:364)
Use XML/HTML 实体 http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references插入<
or >
在 XML 文件中:
value="<<"
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)