bonjour a tous
l'orsque j'execute mon programme ça passe bien mais au navigateyr rien n'est afficher avez vous une idee c quoi le pb voila le code de la page .
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich"> <head> <title>Richfaces tutorial</title> </head> <body> <rich:panel style="border:0;width:60%;text-align:center"> <h:form> <rich:panel> <f:facet name="header"> <h:outputText value="Exemple a4j" /> </f:facet> <h:selectOneMenu value="${person.name}"> <f:selectItem itemLabel="Pierre" itemValue="Pierre" /> <f:selectItem itemLabel="Paul" itemValue="Paul" /> <f:selectItem itemLabel="Jacques" itemValue="Jacques" /> <a4j:support event="onclick" reRender="text"> </a4j:support> </h:selectOneMenu> <h:outputText value="Selected name: ${person.name}" id="text" style="font-weight:bold;" /> </rich:panel> </h:form> </rich:panel> </body> </html>
Partager