Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-672

faces scaffold generated app breaks on ambiguity of property and method "search" when Seam Faces present

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.0.6.Final
    • Fix Version/s: 1.1.0.Final
    • Component/s: Scaffold
    • Labels:
      None

      Description

      The backing beans carry the property "search" for form field based dynamic query and the method search() to invoke the selection.
      After adding Seam3 Faces module to the project the application fails on "Search" because the ELResolver will take the method search() instead of the property "search" first:

      Caused by: javax.el.PropertyNotFoundException: /searchTest/search.xhtml @34,90 value="#

      {searchTestBean.search.name}

      ": Target Unreachable, 'search' returned null

      remedy:

      • rename property "search" to "example"

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                shadogray Thomas Frühbeck
                Reporter:
                shadogray Thomas Frühbeck
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: