Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1309

Hook Faces Application.createValueBinding / createMethodBinding so that the Expression Language enhancements are available to all bindings created

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 1.2.1.GA
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Currently the expression language extensions are only available from facelets views. If the Faces Application is hooked into then the createMethodBinding/createValueBinding can be extended to support the extensions as well.

      The issue is that currently you cannot do this :

      FacesContext.getCurrentInstance().getApplication().createValueBinding("#

      {s:hasPermission('g','g',null)}

      ");

      Likewise if you are in a faces request this also failes (due to it delegating to the facesContext)

      Expressions.instance().createValueBinding("#

      {s:hasPermission('g','g',null)}

      ");

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                cmrudd Chris Rudd
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: