[JBoss jBPM] - Will jbpm 3.2 Beta2 Suite be released?
by stelecta
Hi,
was wondering, if jbpm 3.2 Beta2 suite will be released, as the roadmap says that 19.01.2007 should have been the release date for that.
I write my thesis on workflow-systems and chose jbpm for an implementation of a test system in a organisation. As i am not an Information Science student i am not able to build files from the cvs (yet). The Beta1 release comes with the navigation-bug which causes, that when the user finishes a task an error message is displays (although the token is fired correctly). I've read on the forum, that this is caused because of a typo and the issue is fixed in current versions inside the cvs.
Thanks in advance for your answer. Any hint is appreciated...
BTW: You are doing a great job, guys! I've been observing the development of different systems during the last few month. The JSF-based Web-App finally led me to the choice of jbpm for my studies. Thank you!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004833#4004833
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004833
19 years, 3 months
[JBoss Seam] - who can help me?I am stamped by Interceptor of seam
by 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.BijectionInterceptor;
| import org.jboss.seam.interceptors.BusinessProcessInterceptor;
| import org.jboss.seam.interceptors.ConversationInterceptor;
| import org.jboss.seam.interceptors.RemoveInterceptor;
| import org.jboss.seam.interceptors.ValidationInterceptor;
|
| @Interceptor(around={BijectionInterceptor.class, ValidationInterceptor.class,
| ConversationInterceptor.class, BusinessProcessInterceptor.class},
| within=RemoveInterceptor.class)
| public class LoggedInInterceptor
| {
|
| @AroundInvoke
| public Object checkLoggedIn(InvocationContext invocation) throws Exception
| {
| boolean isLoggedIn = Contexts.getSessionContext().get("loggedIn")!=null;
| if ( Lifecycle.getPhaseId()==PhaseId.INVOKE_APPLICATION )
| {
| if (isLoggedIn)
| {
| return invocation.proceed();
| }
| else
| {
| return "login";
| }
| }
| else
| {
| if ( isLoggedIn )
| {
| return invocation.proceed();
| }
| else
| {
|
| Method method = invocation.getMethod();
| if ( method.getReturnType().equals(void.class) )
| {
| return null;
| }
|
| else
| {
| return method.invoke( invocation.getTarget(), invocation.getParameters() );
| }
| }
| }
| }
|
| }
Why "return null" not "return 'login'" in red fragment.
I clicked link "http://localhost:8000/seam-registration/main.seam?cid=2" ,
it did not return to "login" page.
So I fixed "retrun null" above to "return 'login'",
but it still did not return to "login" page.
Through logging, I found if "Lifecycle.getPhaseId()!=PhaseId.INVOKE_APPLICATION",
it will never be redirect to new page.
How can I redirect to new page in Interceptor,
and who can tell me how does Interceptor work?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004831#4004831
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004831
19 years, 3 months