ICEfaces
  1. ICEfaces
  2. ICE-1279

Error Messaging: when using jsp tags in a Facelets environment

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 1.6DR#3, 1.6
    • Component/s: QA
    • Labels:
      None
    • Environment:
      any

      Description

      If we have any way to detect when a user is trying to use a JSP tag in a Facelets context, it would be great if we could generate an error. A lot of people either don't know or forget that JSP and Facelets are mutually exclusive.

        Activity

        Hide
        Mark Collette added a comment -

        I made a Facelets TagDecorator, that will detect JSP tags, and log a debug message. It doesn't stop the JSP tag from being outputted as text, though, since the page developer might be doing that intentionally.

        Subversion 13449
        icefaces\core\src\com\icesoft\faces\facelets\D2DFaceletViewHandler.java
        icefaces\core\src\com\icesoft\faces\facelets\JspTagDetector.java

        Show
        Mark Collette added a comment - I made a Facelets TagDecorator, that will detect JSP tags, and log a debug message. It doesn't stop the JSP tag from being outputted as text, though, since the page developer might be doing that intentionally. Subversion 13449 icefaces\core\src\com\icesoft\faces\facelets\D2DFaceletViewHandler.java icefaces\core\src\com\icesoft\faces\facelets\JspTagDetector.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: