je utiliser La gestion d'événement actions avec selectOneRadio: quand je click sur aller simple....la date de retour et l'heure de retour disparaise
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
<h:panelGroup>
	            	<h:selectOneRadio  binding="#{reservation.ar}"   >
	            <f:selectItem itemLabel="Aller Simple"  id="Aller" />	
	             <f:selectItem itemLabel="Aller Retour"  id="AllerRetour"  />
	             <a4j:support event="onclick" actionListener="#{reservation.traiter}" />	
	            		</h:selectOneRadio>
 
	            	</h:panelGroup>

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
 
 <rich:calendar id="DateRetour" binding="#{reservation.dateRetour}" >
 
                  </rich:calendar>
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
 
<h:selectOneMenu style=" width : 163px;"  id="HeurRetour" binding="#{reservation.dateRetour}">
 
                  </h:selectOneMenu>
le managed bean
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
 
package vol;
 
import javax.faces.component.html.HtmlCommandButton;
import javax.faces.event.ActionEvent;
 
public class reservation {
 
	private HtmlCommandButton ar;
	private HtmlCommandButton dateRetour;
	private HtmlCommandButton heureRetour;
 
	public HtmlCommandButton getDateRetour() {
		return dateRetour;
	}
 
	public void setDateRetour(HtmlCommandButton dateRetour) {
		this.dateRetour = dateRetour;
	}
 
	public HtmlCommandButton getHeureRetour() {
		return heureRetour;
	}
 
	public void setHeureRetour(HtmlCommandButton heureRetour) {
		this.heureRetour = heureRetour;
	}
 
	public HtmlCommandButton getAr() {
		return ar;
	}
 
	public void setAr(HtmlCommandButton ar) {
		this.ar = ar;
	}
 
	public void traiter(ActionEvent e) {
		String id = e.getComponent().getId();
		if (id.equals("Aller")) {
		dateRetour.setDisabled(true);
		heureRetour.setDisabled(true);
		}
		if (id.equals("AllerRetour")) {
			dateRetour.setDisabled(false);
			heureRetour.setDisabled(false);
		}
		}	
 
 
}
mais l'erreur est la suivante :

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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
 
 
30 mai 2011 18:35:29 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_25\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/i386;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;$PATH:\C:\Program Files\developpement\tomcat\bin;;C:\PROGRA~1\FICHIE~1\MUVEET~1\030625
30 mai 2011 18:35:29 org.apache.tomcat.util.digester.SetPropertiesRule begin
ATTENTION: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:clientPage' did not find a matching property.
30 mai 2011 18:35:30 org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
30 mai 2011 18:35:30 org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
30 mai 2011 18:35:30 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1358 ms
30 mai 2011 18:35:30 org.apache.catalina.core.StandardService startInternal
INFO: Démarrage du service Catalina
30 mai 2011 18:35:30 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.14
30 mai 2011 18:35:31 org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: 
        http://java.sun.com/jsf/html
     is already defined
30 mai 2011 18:35:31 org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsf/core is already defined
30 mai 2011 18:35:32 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b16-p02) for context '/clientPage'
30 mai 2011 18:35:33 com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.
log4j:WARN No appenders could be found for logger (org.ajax4jsf.application.AjaxStateManager).
log4j:WARN Please initialize the log4j system properly.
30 mai 2011 18:35:36 org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["http-bio-8080"]
30 mai 2011 18:35:36 org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
30 mai 2011 18:35:36 org.apache.catalina.startup.Catalina start
INFO: Server startup in 6132 ms
30 mai 2011 18:35:38 org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: No TLD files were found in [jndi:/localhost/clientPage/WEB-INF/lib/junit-3.8.2.jar]. Consider adding the JAR to to the tomcat.util.scan.DefaultJarScanner.jarsToSkip in CATALINA_BASE/catalina.properties
30 mai 2011 18:35:38 org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: No TLD files were found in [jndi:/localhost/clientPage/WEB-INF/lib/cglib-nodep-2.1_3.jar]. Consider adding the JAR to to the tomcat.util.scan.DefaultJarScanner.jarsToSkip in CATALINA_BASE/catalina.properties
30 mai 2011 18:35:38 org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: No TLD files were found in [jndi:/localhost/clientPage/WEB-INF/lib/richfaces-api-3.3.1.GA.jar]. Consider adding the JAR to to the tomcat.util.scan.DefaultJarScanner.jarsToSkip in CATALINA_BASE/catalina.properties
30 mai 2011 18:35:38 org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: No TLD files were found in [jndi:/localhost/clientPage/WEB-INF/lib/jsf-api.jar]. Consider adding the JAR to to the tomcat.util.scan.DefaultJarScanner.jarsToSkip in CATALINA_BASE/catalina.properties
30 mai 2011 18:35:38 org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: No TLD files were found in [jndi:/localhost/clientPage/WEB-INF/lib/common-annotations.jar]. Consider adding the JAR to to the tomcat.util.scan.DefaultJarScanner.jarsToSkip in CATALINA_BASE/catalina.properties
30 mai 2011 18:35:38 org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: No TLD files were found in [jndi:/localhost/clientPage/WEB-INF/lib/persistence.jar]. Consider adding the JAR to to the tomcat.util.scan.DefaultJarScanner.jarsToSkip in CATALINA_BASE/catalina.properties
30 mai 2011 18:35:38 org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: No TLD files were found in [jndi:/localhost/clientPage/WEB-INF/lib/mysql-connector-java-5.0.6-bin.jar]. Consider adding the JAR to to the tomcat.util.scan.DefaultJarScanner.jarsToSkip in CATALINA_BASE/catalina.properties
30 mai 2011 18:35:38 org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: No TLD files were found in [jndi:/localhost/clientPage/WEB-INF/lib/antlr-2.7.6.jar]. Consider adding the JAR to to the tomcat.util.scan.DefaultJarScanner.jarsToSkip in CATALINA_BASE/catalina.properties
30 mai 2011 18:35:38 org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: No TLD files were found in [jndi:/localhost/clientPage/WEB-INF/lib/richfaces-impl-3.3.1.GA.jar]. Consider adding the JAR to to the tomcat.util.scan.DefaultJarScanner.jarsToSkip in CATALINA_BASE/catalina.properties
30 mai 2011 18:35:39 org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: No TLD files were found in [jndi:/localhost/clientPage/WEB-INF/lib/spring.jar]. Consider adding the JAR to to the tomcat.util.scan.DefaultJarScanner.jarsToSkip in CATALINA_BASE/catalina.properties
30 mai 2011 18:35:40 org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: No TLD files were found in [jndi:/localhost/clientPage/WEB-INF/lib/dom4j-1.6.1.jar]. Consider adding the JAR to to the tomcat.util.scan.DefaultJarScanner.jarsToSkip in CATALINA_BASE/catalina.properties
30 mai 2011 18:35:40 org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: No TLD files were found in [file:/C:/Program%20Files/Java/jdk1.6.0_25/jre/lib/ext/sunmscapi.jar]. Consider adding the JAR to to the tomcat.util.scan.DefaultJarScanner.jarsToSkip in CATALINA_BASE/catalina.properties
30 mai 2011 18:35:41 org.apache.catalina.core.ApplicationDispatcher invoke
GRAVE: "Servlet.service()" pour la servlet jsp a lancé une exception
org.apache.jasper.JasperException: /pages/acceuil.jsp (line: 145, column: 13) L'attribut actionListener est incorrect pour le tag selectItem d'après la TLD indiquée
	at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:41)
	at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
	at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:236)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1259)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:870)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1539)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:889)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1539)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:889)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1539)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:889)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1539)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
	at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2434)
	at org.apache.jasper.compiler.Node$Root.accept(Node.java:475)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
	at org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1789)
	at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:216)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:372)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:339)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
	at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
	at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442)
	at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)
	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:317)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:204)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:182)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:311)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
30 mai 2011 18:35:41 com.sun.faces.lifecycle.LifecycleImpl phase
ATTENTION: executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@1aa8241) threw exception
javax.faces.FacesException: org.apache.jasper.JasperException: /pages/acceuil.jsp (line: 145, column: 13) L'attribut actionListener est incorrect pour le tag selectItem d'après la TLD indiquée
	at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:413)
	at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442)
	at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)
	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:317)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:204)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:182)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:311)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.jasper.JasperException: /pages/acceuil.jsp (line: 145, column: 13) L'attribut actionListener est incorrect pour le tag selectItem d'après la TLD indiquée
	at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:41)
	at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
	at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:236)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1259)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:870)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1539)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:889)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1539)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:889)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1539)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:889)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1539)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
	at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2434)
	at org.apache.jasper.compiler.Node$Root.accept(Node.java:475)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
	at org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1789)
	at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:216)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:372)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:339)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
	at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
	... 31 more
30 mai 2011 18:35:41 org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: Servlet.service() for servlet [Faces Servlet] in context with path [/clientPage] threw exception [/pages/acceuil.jsp (line: 145, column: 13) L'attribut actionListener est incorrect pour le tag selectItem d'après la TLD indiquée] with root cause
org.apache.jasper.JasperException: /pages/acceuil.jsp (line: 145, column: 13) L'attribut actionListener est incorrect pour le tag selectItem d'après la TLD indiquée
	at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:41)
	at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
	at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:236)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1259)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:870)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1539)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:889)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1539)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:889)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1539)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:889)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1539)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
	at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2434)
	at org.apache.jasper.compiler.Node$Root.accept(Node.java:475)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
	at org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1789)
	at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:216)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:372)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:339)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
	at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
	at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442)
	at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)
	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:317)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:204)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:182)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:311)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
la page complète :

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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
 
 
<%@ page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
 
 
<f:view>
<html>
<head>
	<title>reservation en ligne</title>
	<link rel="stylesheet" type="text/css" href="style/style.css">
</head>
 
<body leftmargin=0 topmargin=0 marginheight="0" marginwidth="0" background="images/ciel_bleu.jpg">
<table width="762" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
 
    <td width="794" height="29" background="images/fon01.gif"> 
      <table width="503" border="0" cellspacing="0" cellpadding="0">
        <tr> 
 
          <td width="1">
 
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr> 
    <td height="172"><img src="images/avion3.jpg" width="762" height="172"></td>
 
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="794" align="center" background="images/fon_menu.gif">
  <tr>
	<td width="3"><img src="images/menu01.gif" width="3" height="42" alt="" border="0"></td>
	<td width="788">
 
<table border="0" cellpadding="0" cellspacing="0">
<tr>
	<td width="28%"><p class="menu01"><a href="acceuil.html">RECHERCHE</a></p></td>
	<td width="23"><img src="images/desin_m.gif" alt="" width="24" height="42" border="0"></td>
	<td width="27%"><p class="menu01"><a href="">SELECTION</a></p></td>
	<td width="23"><img src="images/desin_m.gif" alt="" width="24" height="42" border="0"></td>
	<td width="27%"><p class="menu01"><a href="">RESERVATION</a></p></td>
	<td width="23"><img src="images/desin_m.gif" alt="" width="24" height="42" border="0"></td>
	<td width="25%"><p class="menu01"><a href="">PAIEMENT</a></p></td>	
</tr>
</table>
 
	</td>
 
	<td width="79" align="right"><img src="images/menu02.gif" width="3" height="42" alt="" border="0"></td>
</tr>
</table>
<div align="center"><img src="images/main01.gif" width="759" height="5" alt="" border="0"></div>
<table border="0" cellpadding="0" cellspacing="0" width="759" align="center">
<tr valign="top">
	<td background="images/fon_left.gif"><img src="images/fon_left.gif" width="3" height="13" alt="" border="0"></td>
	<td width="753" bgcolor="#FFFFFF">
<p class="px5">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr valign="top">
	<td  align="left" style=" width : 210px;">
<!-- left -->
<table border="0" cellpadding="0" cellspacing="0">
<tr>
	            <td colspan="3" height="23" bgcolor="#777777" style="FONT-WEIGHT: bold; FONT-FAMILY: 'Times New Roman'; FONT-SIZE: medium; COLOR: #ffffff;"><img src="images/puce1.gif" > Gerer vos reservation</td>
</tr>
<tr>
	<td colspan="3" bgcolor="#CCCCCC"><img src="mageis/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr>
	<td width="1" rowspan="3" bgcolor="#CCCCCC"><img src="images/px1.gif" width="1" height="1" alt="" border="0"></td>
	<td bgcolor="#EF9400" height="3"><img src="images/px1.gif" width="1" height="1" alt="" border="0"></td>
	<td width="1" rowspan="3" bgcolor="#CCCCCC"><img src="images/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr>
	            <td width="227"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<h:panelGrid columns="2">
 
 
<h:outputText value="Login : " />
 
<h:inputText value="" style=" width : 140px;"/>
 
<h:outputText value="Password : " style=" width : 140px;"/>
<h:inputSecret value="" style=" width : 140px;"  />
 
</h:panelGrid>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td align="center" valign="middle" height="30">
<h:commandButton value="CONNECTION" />
 
 
 
</td>
</tr>
</table>
 
	</td>
</tr>
 
 
<tr>
	<td background="images/t_fon.gif" height="28"><img src="images/px1.gif" width="1" height="1" alt="" border="0" style="width : 4px; height : 1px;"></td>
</tr>
<tr>
	<td colspan="3" align="right"><img src="images/t_bot.gif" width="229" height="9" alt="" border="0"></td>
</tr>
</table>
<!-- /left -->
	</td>
	<td width="80%">
<!-- right -->
 
<table border="0" cellpadding="0" cellspacing="0" style=" width : 515px;">
<tr>
	<td colspan="3" height="25" bgcolor="#777777" style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: medium; FONT-WEIGHT: bold; COLOR: #ffffff;"><img src="images/puce1.gif" > Trouver votre vol</td>
</tr>
<tr>
	<td colspan="3" bgcolor="#CCCCCC"><img src="images/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr>
	<td rowspan="3" bgcolor="#CCCCCC" style=" width : 1px;"><img src="images/px1.gif" width="1" height="1" alt="" border="0" style="width : 1px; height : 1px;"></td>
	<td bgcolor="#EF9400" height="3"><img src="images/px1.gif" width="1" height="1" alt="" border="0"></td>
	<td width="1" rowspan="3" bgcolor="#CCCCCC"><img src="images/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr>
	            <td width="450"> <p class="left" style="color: #FF6600;">
	            <h:form>
	            <table cellspacing="" cellpadding="" width="100%">
	            	<tr>
	            	<td  style=" width : 68% ">
	            	<h:panelGroup>
	            	<h:selectOneRadio  binding="#{reservation.ar}"   >
	            <f:selectItem itemLabel="Aller Simple"  id="Aller" />	
	             <f:selectItem itemLabel="Aller Retour"  id="AllerRetour"  />
	             <a4j:support event="onclick" actionListener="#{reservation.traiter}" />	
	            		</h:selectOneRadio>
 
	            	</h:panelGroup>
	            	<td style=" width : 79px;"></td>
	            	<td  style=" width : 30%">
	            	<h:panelGroup>
 
	            	<h:selectBooleanCheckbox value="true"  title="click" id="checkbox"  />
	            	<h:outputText value=" Escale"/><h:outputText/>
 
 
	            	</h:panelGroup>
	            	</td>
	            	<tr>
	            </table>
	            </h:form>
                  <table style=" width : 100% ;">
                  <tr>
                  	  <th>
                  <h:outputText value=" Depart" style="width : 33%; "/>
                  </th>
                  <th>
                  <h:outputText value=" Arrive" style="width : 33%; " />
                  </th>
                  <th>
                  <h:outputText value=" Compagnie Aerienne" style="width : 33%; "/>
                  </th>
				  </tr>
                  <tr>
                  <td><h:selectOneMenu style=" width : 163px;">
                  	  <code:selectItems value="" />
                  </h:selectOneMenu>
				  </td>
                  <td>
                  <h:selectOneMenu style=" width : 163px;" >
                  	  <code:selectItems value="" />
                  </h:selectOneMenu>
				  </td>
                  <td>
                  <h:selectOneMenu>
                  	  <code:selectItems value="" />
                  </h:selectOneMenu></td>
 
                  </tr>
                  <tr>
                  <th>
                  <h:outputText value="Date depart" style="width : 33%; "/>
                  </th>
                  <th>
                  <h:outputText value="Date retour" style="width : 33%; " />
                  </th>
                  <th>
                  <h:outputText value=" Classe" style="width : 33%; "/>
                  </th>
                  </tr>
                  <tr>
                  <td>
                  <rich:calendar >
 
                  </rich:calendar>
 
                  </td>
                  <td>
                  <rich:calendar id="DateRetour" binding="#{reservation.dateRetour}" >
 
                  </rich:calendar>
 
                  </td>
                  <td>
                  <h:selectOneMenu style=" width : 126px;">
 
                  </h:selectOneMenu>
                  </td>
                  </tr>
                  <tr>
                  <th>
                  <h:outputText value=" Heure  depart" style="width : 33%; "/>
                  </th>
                  <th>
                  <h:outputText value=" Heure retour" style="width : 33%; " />
                  </th>
                  <th>
                  <h:outputText value=" Nombre De Passager" style="width : 33%; "/>
                  </th>
                  </tr>
                  <tr>
                   <td>
 
                  <h:selectOneMenu style=" width : 163px;">
 
                  </h:selectOneMenu>
                  </td>
                  <td>
 
                  <h:selectOneMenu style=" width : 163px;"  id="HeurRetour" binding="#{reservation.dateRetour}">
 
                  </h:selectOneMenu>
                  </td>
                  <td>
                  <h:selectOneMenu style=" width : 126px;">
 
                  </h:selectOneMenu>
                  </td>
                  </tr>
                  <tr style=" height : 45px;">
                  <td colspan="3" align="center">
                  <h:commandButton value="RECHERCHER" style=" width : 104px; height : 27px;"/>
 
                  </td>
                  </tr>
                  </table>
 
 
	</td>
</tr>
<tr>
	<td background="images/t_fon.gif" height="28"><img src="images/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr>
	<td colspan="3" align="right"><img src="images/t_bot.gif" width="229" height="9" alt="" border="0"></td>
</tr>
</table>
<!-- /right -->
	</td>
</tr>
</table>
<br>
	</td>
	<td background="images/fon_right.gif"><img src="images/fon_right.gif" width="3" height="10" alt="" border="0"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="759" align="center">
<tr>
	<td colspan="2" background="images/fon_bot.gif" height="42" align="right"> 
    </td>
</tr>
<tr align="center">
	<td width="270" height="80"><img src="images/viewlogo.aspx.png" width="129" height="60" alt="" border="0"></td>
	<td width="490"><p align="center" style="color: #FFFFFF;"> &copy; .</p></td>
</tr>
</table>
 
</body>
</html>
 
</f:view>
je pense que j'ai mal utiliser actionListener avec selectOneRadio...