IBM Support

PM72533: ERROR USING EL METHOD EXPRESSION FOR METHODS WITH PARAMETERS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • By using a method expression in the Expression Language (EL)
    within a JavaServer Faces (JSF) Facelet, it should be possible
    to call a method with parameters in a bean.
    
    For example, using a expression:
    
    #{testBean.testMethod('testString')}
    
    should call the method testMethod(String parameter) in an
    object of the TestBean class.  Furthermore, it should be
    possible to call methods in nested beans.
    For example, an expression:
    
    #{testBean.testObject.testMethod('myString')}
    
    should call the method testMethod(String parameter) on the
    testObject-variable in the object of the TestBean class.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Version    *
    *                  8.0 and 8.5 users of the Expression         *
    *                  Language (EL).                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Method expressions with parameters      *
    *                      can not be accessed.                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An EL expression that calls an object's method with a
    parameter can not find the method and will fail with the
    following exception:
    javax.faces.el.MethodNotFoundException:
    javax.el.MethodNotFoundException: /test.xhtml at line 15 and
    column 90
    action="#{testBeanA.testBeanB.testParametersMethod('.')}":
    Method not found:
    com.test.TestBeanB.testParametersMethod()
    at
    javax.faces.component._MethodExpressionToMethodBinding.invoke(_M
    ethodExpressionToMethodBinding.java:92)
    at
    org.apache.myfaces.application.ActionListenerImpl.processAction(
    ActionListenerImpl.java:100)
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM72533

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-10

  • Closed date

    2012-11-28

  • Last modified date

    2013-03-19

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 PSY

       UP

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 October 2021