Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3332

c:catch tag apparently doesn't work when using facelets.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.0.2.Final
    • JSF
    • Hide

      Create a facelet page that has a c:catch component in it. Inside the c:catch make a expression that will throw a user exception.

      Show
      Create a facelet page that has a c:catch component in it. Inside the c:catch make a expression that will throw a user exception.

      When using the JSTL c:catch tag inside JSP pages, and I access an EL expression that throws a custom exception, the tag works fine.
      But when I use it with facelets, the c:catch is ignored and a HTTP500 message is sent to the client.

        1. ccatchthrowsexceptionanyway.png
          ccatchthrowsexceptionanyway.png
          63 kB
        2. ccatchdemo.xhtml
          0.5 kB
        3. Boom.java
          0.7 kB

              ssilvert@redhat.com Stan Silvert
              abmpicoli_jira Alexander Picoli (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: