When I run example "icefaces",I debug class LoggedInInterceptor.But I
found :
import javax.faces.event.PhaseId;
|
| import org.jboss.seam.annotations.Interceptor;
| import org.jboss.seam.contexts.Contexts;
| import org.jboss.seam.contexts.Lifecycle;
| import org.jboss.seam.interceptors.B
You probably misunderstand.
The comlete code is here:
import javax.faces.event.PhaseId;
|
| import org.jboss.seam.annotations.Interceptor;
| import org.jboss.seam.contexts.Contexts;
| import org.jboss.seam.contexts.Lifecycle;
| import org.jboss.seam.interceptors.BijectionInterceptor;
When I run example "icefaces",I debug class LoggedInInterceptor.But I
found :
| Method method = invocation.getMethod();
| if ( method.getReturnType().equals(void.class) )
| {
|return null;
| }
|
Why "return n
I met this problem.Finally I find the length of "username" and "password" are
not allowed less than 5.I input string which length is less than 5.Maybe this
demo is not perfect,it throws exception for this validation.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopi