As far as i know your attempt works right.

@Out outjects to the context from which the value was injected, or in case of 
no injection to the surrounding context.

When you click the register button, you are in a temporary conversation.
When you outject a value it will go to this temporary conversation.

After executing the register action, the temporary conversation gets deleted 
(and with it your value for debug)
when rendering the registered page, a new temporary conversation is created 
(with no debug value).


What changes could you make?
1. indroduce long running conversations (Set RegisterAction to CONVERSATION 
Scope and mark register with @Begin)

2. Create a sessionscoped bean which holds your debug value. Inject and outject 
debug value

Ciao,
Carsten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942389#3942389

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942389


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to