Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-16295

JSF XHTML Validator is too restrictive when analyzing method return types

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • LATER
    • None
    • upstream
    • None

      The validator reports that only "String" may be returned from JSF action methods, but this is actually not the case. Any object may be returned, and .toString() will be called on it before JSF processes the navigation case.

        1. scr.png
          scr.png
          78 kB
        2. scr2.png
          scr2.png
          122 kB
        3. Screen Shot 2013-12-12 at 3.22.28 PM.png
          Screen Shot 2013-12-12 at 3.22.28 PM.png
          50 kB
        4. Screen Shot 2013-12-12 at 3.22.40 PM.png
          Screen Shot 2013-12-12 at 3.22.40 PM.png
          54 kB

            jmaury@redhat.com Jeff MAURY
            lincolnthree Lincoln Baxter III (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: