3 Replies Latest reply on Mar 16, 2006 12:01 AM by gavin.king

    Request for @In: Don't inject null

      Hi,

      I've a request for the @In annotation.
      In my component I've two fields which are injected. Because I use the component for additional requests, which don't have values for those two fields, I would appreciate a parameter to tell Seam to not inject the fields if there isn't a request parameter.
      If I use @In without parameters Seam tolds me, that there has to be a value. And if I use @In(required=false), Seam injects null. If there was a @In(dontNullify=true) or sth. my component would receive the initial values for those two fields which then are kept over several requests.
      Is that possible?

      Regards
      Newlukai