Why variable mode = NULL when inject, outject to PAGE scope:

  | @Stateful
  | @Name("listAction")
  | @Scope(SESSION)
  | @Restrict("#{identity.loggedIn}")
  | public class ListAction implements
  |             IListAction {
  | .........
  |     @In(required = false)
  |     @Out(required = false, scope = ScopeType.PAGE)
  |     private String mode;
  | ..........
  | }
  | 

  | @Stateful
  | @Name("regAction")
  | @Restrict("#{identity.loggedIn}")
  | public class RegAction implements IRegAction {
  | 
  |     ...........
  |     @In(required = false)
  |     @Out(required = false, scope = ScopeType.PAGE)
  |     private String mode;
  | ..........
  | }
  | 
This is my pages.xml

  | <page view-id="/list.xhtml" login-required="true">
  |     <navigation from-action="#{regAction.init}">
  |             <begin-conversation flush-mode="manual" />
  |             <redirect view-id="/register.xhtml" />
  |     </navigation>
  | </page>
  | 

If I use render intstead of redirect, variable mode != NULL. Is this Seam's bug?

Please show me cause of this problem, thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113672
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to