[jboss-user] [JBoss Seam] - who can help me?I am stamped by Interceptor of seam

2007-01-22 Thread diyun2008
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

[jboss-user] [JBoss Seam] - Re: one question about Interceptor

2007-01-21 Thread diyun2008
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;

[jboss-user] [JBoss Seam] - one question about Interceptor

2007-01-21 Thread diyun2008
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

[jboss-user] [JBoss Seam] - Re: Validation fails in registration example

2007-01-10 Thread diyun2008
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