[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2794) Make Seam EL more extensible and unified

Anthony Whitford (JIRA) jira-events at lists.jboss.org
Fri Nov 21 02:07:36 EST 2008


    [ https://jira.jboss.org/jira/browse/JBSEAM-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12439219#action_12439219 ] 

Anthony Whitford commented on JBSEAM-2794:
------------------------------------------

I too would be interested in seeing SeamELResolver become a CompositeELResolver that we can then extend.

We have a use case where we would like to add "logical properties" to special POJOs.  We would like to hook our special EL resolver in so that the logical properties can be evaluated.  This resolver doesn't need a dependency on Seam.

Right now, I would need to extend SeamELResolver rather than "plug" into a CompositeELResolver.

> Make Seam EL more extensible and unified
> ----------------------------------------
>
>                 Key: JBSEAM-2794
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-2794
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 2.1.0.A1
>            Reporter: Michael Youngstrom
>            Assignee: Michael Youngstrom
>             Fix For: The future
>
>         Attachments: el.patch
>
>
> I'm currently having some trouble dealing with ELResolvers in Seam and JSF.
> 1.  It is not very easy to add ELResolvers to Seam (e.g. SpringELResolver must be put in the end of the resolver chain when it should be one of the first.)
> 2.  When executing outside a FacesRequest you have to use the Seam ELResolver infrastructure which doesn't see any of the JSF ELResolvers
> 3. It would be nice to have a little more control over the order of ELResolvers since I have run into a few recursive situations as EL can sometimes sneak it's way into situations where EL is used in the SeamELResolver to resolve EL.
> I believe that all of the above can be solved by:
> 1. Turn the SeamELResolver into a CompositeELResolver where a Seam Component can manage the included ELResolvers.
> 2. Add the above single SeamCompositeELResolver to the faces-context.xml.  Making it so custom ELResolvers can be managed in a single place in Seam for both Faces and non Faces requests.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list