0 Replies Latest reply on Jul 25, 2009 1:28 AM by Arbi Sookazian

    New knowledgebase article in design patterns section

    Arbi Sookazian Master

      I just posted this regarding Manager component pattern (@Unwrap) under design patterns.  Enjoy.


      http://seamframework.org/Documentation/ManagerComponentPatternExampleWithUnwrapStartupAndCreateAnnotations


      I'd like to hear about real-world use cases of using @Unwrap, I know there's several instances in the Seam API.  Specifically, why you would replace @Factory with @Unwrap and when?


      I've recently run into some stale data problems with @Factory and back button, etc. that I had to manually set to null so the @Factory methods would re-fire and refresh the data/ListDataModels for the dataTables.


      Does anybody use @Unwrap with @DataModel??