IBM Support

PI53555: JSF ViewScope implicit objects are not resolved in JSP pages

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Resolution of EL ViewScope Implicit Objects in JSP files
    does not work.  For example, the following code defined in a
    JSP file:
    
    <f:view>
    <h:form id="form1">
    <c:set target="${viewScope}" property="test"
    value="testValue2" />
    <h:outputText id="foo1" value="#{viewScope.test}" />
    </h:form>
    </f:view>
    
    Will result in the following Exception:
    
    javax.servlet.jsp.JspTagException:
    at
    org.apache.taglibs.standard.tag.common.core.SetSupport.doEnd
    Tag(SetSupport.java:195)
    ...
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Liberty    *
    *                  Profile version 8.5.5 users of JavaServer   *
    *                  Faces (JSF) Apache MyFaces 2.2              *
    ****************************************************************
    * PROBLEM DESCRIPTION: JSF ViewScope implicit objects are not  *
    *                      resolved in JavaServer Pages (JSP)      *
    *                      files                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Resolution of Expression Language (EL) ViewScope implicit
    objects in JSP files does not work.  For example, the following
    code defined in a JSP file:
    
    <f:view>
    <h:form id="form1">
    <c:set target="${viewScope}" property="test" value="testValue2"
    />
    <h:outputText id="foo1" value="#{viewScope.test}" />
    </h:form>
    </f:view>
    
    Will result in the following Exception:
    
    javax.servlet.jsp.JspTagException:
    at
    org.apache.taglibs.standard.tag.common.core.SetSupport.doEndTag(
    SetSupport.java:195)
    ...
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI53555

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-12-04

  • Closed date

    2015-12-14

  • Last modified date

    2015-12-14

  • 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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • R855 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
14 October 2021