uel
  1. uel
  2. UEL-27

Method parameters only work on 'top-level' managed beans

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When using JSF 2's 'method parameters' feature:

      #

      {fooBean.add(42)}

      The evaluation fails when trying on a child object:

      #

      {fooBean.foo.add(42)}

      As a workaround you can use:

      <ui:param name="_foo" value="#

      {fooBean.foo}

      "/>
      #{_foo.add(42)}

      But this seems like it should work without needing ui:param?

      See attached test case.

      Copied from <http://java.net/jira/browse/JAVASERVERFACES-2254>.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ed Burns
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: