IBM Support

PM49956: JSF 2 ISSUE EL EXPRESSIONS WITHIN A COMPOSITE COMPONENT ARE NOT RESOLVED FOR THE <H:INPUTSTYLESHEET/> TAG.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The <h:outputStylesheet> is not interpreted when it is inserted
    into a composite component and it uses an Expression Language
    (EL) expression of type "#{cc.attrs.myattribute}
    In the generated source code, we can see that the CSS
    stylesheet is not included. There is no error message in the
    log.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Version    *
    *                  8.0 users of MyFaces JavaServer Faces       *
    *                  (JSF).                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: EL expressions within a Composite       *
    *                      Component are not resolved for the      *
    *                      <h:inputStyleSheet/> tag.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    EL such as #{cc.attrs.myattribute} in the "name" attribute of
    a <h:inputStyleSheet/> tag is not resolved correctly when used
    within a JSF Composite Component. Since the EL is not
    resolved, the stylesheet is not included as expected. If the
    value of the "name" attribute is hard coded then the
    stylesheet is displayed as expected, for example:
    <h:outputStylesheet library="skins" name="test.css"
    target="head" />
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM49956

  • 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

    2011-10-13

  • Closed date

    2011-11-21

  • Last modified date

    2012-03-09

  • 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

[{"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:
28 October 2021