3 Replies Latest reply on Oct 30, 2007 10:25 AM by Pete Muir

    EL silent failure:

    Jeremy Norris Newbie

      If a bean name is referenced in EL that does not exist, it is silently ignored. Is there a way to configure the EL resolver to throw and exception in this case? (An exception is thrown when a property of a bean is not found, but not when the root bean name itself is not found).

      I am using Seam 1.2.1 and whatever EL resolver comes with that. I notice that in Seam 2.0.0.CR3, jboss-el.jar is used. Is there documentation somewhere for this EL implementation?

        • 1. Re: EL silent failure:
          Pete Muir Master

           

          "jnorris10" wrote:
          If a bean name is referenced in EL that does not exist, it is silently ignored. Is there a way to configure the EL resolver to throw and exception in this case? (An exception is thrown when a property of a bean is not found, but not when the root bean name itself is not found).


          No.

          I am using Seam 1.2.1 and whatever EL resolver comes with that. I notice that in Seam 2.0.0.CR3, jboss-el.jar is used. Is there documentation somewhere for this EL implementation?


          el-ri. The docs for jboss-el are in the Seam reference docs in the EL chapter.

          • 2. Re: EL silent failure:
            Jeremy Norris Newbie

            What is the motivation for silently failing? Wouldn't it be much more desirable to have an exception thrown? Am I missing something about EL that makes this hard or unwanted?

            • 3. Re: EL silent failure:
              Pete Muir Master

              I'm not entirely sure, but this is the behaviour of JSF not Seam. I would ask on the JSF RI forum and post a trackback here.