Setting an @In(create=true) @Out(required=false) var = null is probably the
easiest way to clear a variable and have it be recreated on next invocation.
You can use the Contexts methods explicitly, but they add LOC and greater
coupling to Seam internals.
View the original post :
http://www.jbo
I think the better do like this:
Contexts.removeFromAllContexts(name);
or
Contexts.getSessionContext().remove(name);
because "set" does not remove variable.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957255#3957255
Reply to the post :
http://www.jboss.co
Try setting the variable to null:
Contexts.getSessionContext().set("user", null);
You can read more about this under section "2.1.8. Context variables" in the
documentation.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957248#3957248
Reply to the post :