[jboss-user] [JBoss Seam] - Re: Why PAGE context variable = NULL

nguyenhaugiang do-not-reply at jboss.com
Sun Dec 23 21:05:08 EST 2007


Pete,
I have exactly same problem.

In the case action A render page a, from page a call an method of action B:
                   A -> a -> B
A and B share the same page scope

next we do the same thing:
                   B -> b -> C
B and C share the same page scope

So, if we declare page scope field with @in @out in A, B, C,
we can pass data from A -> B -> C by using page scope
is that right?

The problem is that in flow A -> a -> B -> b -> C, 
page context is destroy if after invoking B, 
page flow is redirected to page b.
(Page context still "alive" if render)

The difference is render(OK) and redirect(fail).

Any help would be appreciated.
Thanks,
Giang



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

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



More information about the jboss-user mailing list