[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Troubles with using PhaseListener implementation
Serrg Blues
do-not-reply at jboss.com
Fri Mar 16 11:10:24 EDT 2007
"gcoleman" wrote : It looks like your class com.fabulous_valley.web.MyPhaseListener does implement the PhaseListener interface.
this code of MyPhaseListener :
| package com.fabulous_valley.web;
|
|
| import javax.faces.event.PhaseListener;
| import javax.faces.event.PhaseEvent;
| import javax.faces.event.PhaseId;
|
| public class MyPhaseListener implements PhaseListener {
| public void afterPhase(PhaseEvent event) {}
|
| public void beforePhase(PhaseEvent event) {
| final PhaseId phase = event.getPhaseId();
| // ... some code ...
| }
|
| public PhaseId getPhaseId() {
| return PhaseId.ANY_PHASE;
| }
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028806#4028806
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028806
More information about the jboss-user
mailing list