A vrai dire j'utilise eclipse (obligé !!) et j'ai copier le jar de tomahawk dans le lib de tomcat et j'importe les tag dans ma page jsf mais je recois une erreur lors de l'execution 

javax.faces.component.html.HtmlDataTable
voila ma page jsf:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
| <?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:t="http://myfaces.apache.org/tomahawk"
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:ql="http://qlogic.net/web/jsf"
xmlns:hx="http://www.ibm.com/jsf/html_extended">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" />
<f:view>
<html>
<head>
<title>Réferentiel Commun</title>
<link href="css/basic.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<f:loadBundle basename="ma.gov.bkam.sibam.referentiel.view.referentiel_messages" var="example_messages" />
<h:messages />
<h:form>
<t:dataTable binding="#{LectureBanquePageBean.banques}" var="listC" headerClass="sgC_Tabl_Titre" rowClasses="sgC_Tabl_Ligne1,sgC_Tabl_Ligne2" id="data" rows="3" preserveDataModel="true">
<h:column>
<f:facet name="header">
<h:outputText value="code" styleClass="dtHeaderStyle" />
</f:facet>
<h:outputLabel id="code" value="#{listC.code}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Code client"/>
</f:facet>
<h:outputText value="#{listC.code}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Raison sociale"/>
</f:facet>
<h:outputText value="#{listC.nom}"/>
</h:column>
<f:facet name="footer">
<t:dataScroller id="scroll_1"
for="data"
fastStep="10"
pageCountVar="pageCount"
pageIndexVar="pageIndex"
styleClass="scroller"
paginator="true"
paginatorMaxPages="9"
paginatorTableClass="paginator"
paginatorActiveColumnStyle="font-weight:bold;"
immediate="true"
actionListener="#{scrollerList.scrollerAction}"
>
<f:facet name="first" >
<t:graphicImage url="img/arrow-first.gif" border="1" />
</f:facet>
<f:facet name="last">
<t:graphicImage url="img/arrow-last.gif" border="1" />
</f:facet>
<f:facet name="previous">
<t:graphicImage url="img/arrow-previous.gif" border="1" />
</f:facet>
<f:facet name="next">
<t:graphicImage url="img/arrow-next.gif" border="1" />
</f:facet>
<f:facet name="fastforward">
<t:graphicImage url="img/arrow-ff.gif" border="1" />
</f:facet>
<f:facet name="fastrewind">
<t:graphicImage url="img/arrow-fr.gif" border="1" />
</f:facet>
</t:dataScroller>
</f:facet>
</t:dataTable>
</h:form>
</body>
</html>
</f:view>
</jsp:root> |
Partager