[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-492) NPE in ParamMethodExpression

Stan Silvert (JIRA) jira-events at jboss.com
Sun Nov 19 14:50:41 EST 2006


    [ http://jira.jboss.com/jira/browse/JBSEAM-492?page=comments#action_12347413 ] 
            
Stan Silvert commented on JBSEAM-492:
-------------------------------------

I have verified that the problem is with resolving EL variables, which we don't yet support in param expressions.  I am looking into adding this feature right now.  It will be a Facelets-only feature because EL variables are not supported with JSF 1.1/JSP.

Unfortunately, I don't think we can use the suggested fix attached to this issue.  The problem is that in the suggested fix, findParamTypes() has to resolve part of the expression at construction time by calling ve.getValue().  Because these are deferred expressions, we shouldn't evaluate the values early like that.  The targets of the expression might not yet exist.

So, I'm going to try to implement this the way Jacob suggested a long time ago when I was trying this out with JSF 1.2.

> NPE in ParamMethodExpression
> ----------------------------
>
>                 Key: JBSEAM-492
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-492
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>         Environment: jboss seam cvs head
> jsf-ri 1.2.03
> facelets 1.1.11
>            Reporter: Stas Garifulin
>         Assigned To: Stan Silvert
>            Priority: Blocker
>             Fix For: 1.1.0.CR1
>
>         Attachments: MethodExpressionHelper.java, seam-simple.zip
>
>
> Forum thread:
> http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985161#3985161

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

        



More information about the seam-issues mailing list