1 Reply Latest reply on Apr 7, 2011 4:57 PM by andrewwheeler

    Conversation annotations

    andrewwheeler

      I see that the Seam Faces module includes annotations for @Begin and @End. Not much in the documentation or example usage though.


      Any way I thought I'd try and use these undocumented features by annotating a function as:


           @PostConstruct
           @Begin
           protected void postConstruct() {
           }



      This doesn't seem to start a conversation. Can anyone explain how this works? Is it meant to do something? Without any documentation I was just taking a stab in the dark. Perhaps I should just read the source code - who needs documentation anyway.


      I shall return to the straight and narrow and continue with:




           @PostConstruct
           protected void postConstruct() {
                if (conversation.isTransient())
                     conversation.begin();
           }