5 Replies Latest reply on Dec 10, 2005 10:06 PM by gavin.king

    Setting @Out(scope=CONVERSATION) variable to null has not im

    alextemnokhod

      Hi all,

      Please help to solve a little problem. Setting @Out(scope=CONVERSATION) variable to null has not immediate effect (after setting outjected variable to null in Invoke Application phase, that variable is still exists in the next Render Response phase - why?), so I have to use conversationContext.remove() or boolean flag like 'isVisible'.
      Is it possible to avoid this?

       @Out(required=false, scope=ScopeType.CONVERSATION)
       @Valid
       private Category category;
      
       ...
      
       <h:form rendered="#{category != null}"> -- form still rendered just after setting 'category' variable to null