Hallo Cummunity.
ich habe eine JSF-Application, die bisher nur aus einer Seite besteht. In der Seite baue ich eine Datatable auf. Fehlt da eine Library? Ich habe sowohl die JSL-Api als auch die impl eingebunden (siehe bild)
Muss ich noch eine Jar linken?
Ich verwende Tomcat und MyFaces von Apache.
Eclipse meldet:
NLS missing message: CANNOT_FIND_FACELET_TAGLIB in: org.eclipse.jst.jsf.core.validation.internal.facelet.messages index.xhtml /JDO-IT/WebContent line 5 Facelet Validator
Webpage warnt:
Warning: The page /index.xhtml declares namespace http://java.sum.com/jsf/core and uses the tag f:facet , but no TagLibrary associated to namespace.
Grüße
ich habe eine JSF-Application, die bisher nur aus einer Seite besteht. In der Seite baue ich eine Datatable auf. Fehlt da eine Library? Ich habe sowohl die JSL-Api als auch die impl eingebunden (siehe bild)
Muss ich noch eine Jar linken?
Ich verwende Tomcat und MyFaces von Apache.
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sum.com/jsf/core"> [B][COLOR="Sienna"]<!-- <=== wohl der übeltäter --->[/COLOR][/B]
<h:head>
<title>JDO-IT Startseite</title>
<link rel="stylesheet" type="text/css" href="css/layout.css" />
</h:head>
<h:body>
<h:form>
<h:commandButton action="#{jDOSessionBean.getAllTasks}" value="Refresh" />
<h:commandButton action="#{jDOSessionBean.createTask}" value="New..." />
</h:form>
<br />
<h:dataTable value="#{jDOSessionBean.tasks}" var="listitem" styleClass="taskTable">
<h:column>
<f:facet name="header">Id</f:facet>
<h:outputText value="#{listitem.id}"></h:outputText>
</h:column>
<h:column>
<f:facet name="header">Task</f:facet>
<h:outputText value="#{listitem.name}"></h:outputText>
</h:column>
</h:dataTable>
</h:body>
</html>
Eclipse meldet:
NLS missing message: CANNOT_FIND_FACELET_TAGLIB in: org.eclipse.jst.jsf.core.validation.internal.facelet.messages index.xhtml /JDO-IT/WebContent line 5 Facelet Validator
Webpage warnt:
Warning: The page /index.xhtml declares namespace http://java.sum.com/jsf/core and uses the tag f:facet , but no TagLibrary associated to namespace.
Grüße