| Code: |
| <?xml version="1.0" encoding="ISO-8859-1" ?>
<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component"> <jsp:directive.page contentType="text/html"/> <f:view> <ice:outputDeclaration doctypeRoot="html" doctypePublic="-//W3C//DTD HTML 4.01 Transitional//EN" doctypeSystem="http://www.w3.org/TR/html4/loose.dtd" /> <html> <head></head> <body> <ice:form id="test"> <h:dataTable value="#{headerViewBean.mainMenus}" var="item"> <h:outputText value="#{item.subText}"><!-- no warning --> </h:outputText> </h:dataTable> <ice:dataTable value="#{headerViewBean.mainMenus}" var="menu"> <ice:outputText value="#{menu.subText}" ><!-- "menu cannot be resolved" --> </ice:outputText> </ice:dataTable> </ice:form> </body> </html> </f:view> </jsp:root> |