Bonjour tt le monde,
Voila je veux utiliser des composant de tomahawk dans mon developement web Jsf et donc j'aurai besoin de quoi pour pouvoir l'utiliser (jar,biblioteques ....??)
Merci d'avance
Version imprimable
Bonjour tt le monde,
Voila je veux utiliser des composant de tomahawk dans mon developement web Jsf et donc j'aurai besoin de quoi pour pouvoir l'utiliser (jar,biblioteques ....??)
Merci d'avance
juste le jar tomahawk devrait suffire si tu utilise MyFaces.
si tu utilise l'implémentation de sun je ne sais pas si tomahawk va marcher.
si t as la distri de myfaces-all tu as deja les composant tomahawk a disposition tu n as donc rien d autres à faire (mise a part de l importation de la taglib dans ta pages jsf)Citation:
Envoyé par Shivan
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 :(:(
voila ma page jsf:Code:javax.faces.component.html.HtmlDataTable
Code:
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>
perso j avais ce type d erreur quand j essayais d utiliser tomahawk avec l importation de taglib de tobago