IBM Support

PM64286: STYLESHEET IS NOT RENDERED FOR A PORTLET FACELET. SINCE A PORTLET IS A FRAGMENT, IT REQUIRES SPECIAL HANDLING

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Stylesheet is not rendered for a portlet facelet
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Customers using the outputStylesheet tag    *
    *                  to apply a stylesheet on a portlet facelet  *
    *                  in a JavaServer Faces (JSF) 2.0 portlet     *
    *                  project on WebSphere Portal Server 8.0      *
    ****************************************************************
    * PROBLEM DESCRIPTION: A Stylesheet specified in an            *
    *                      outputStylesheet tag in a portlet       *
    *                      facelet is not applied at runtime.      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The outputStylesheet tag is designed to work with  the h:head
    tag but since the portlet facelet is a fragment and does not
    contain a head tag, the stylesheet is not applied on a
    portlet facelet at runtime .
    

Problem conclusion

  • The JSF 2.0 Portlet Bridge was updated to  add the stylesheet
    specified in the portlet facelet using the outputStylesheet
    tag in the head section of  a portal page. Thus the stylesheet
    would be applied on a portlet facelet. You need to add the
    container runtime option in portlet.xml to render a stylesheet
    in a portlet facelet. That is:
    
    <container-runtime-option>
      <name>javax.portlet.renderHeaders</name>
      <value>true</value>
    </container-runtime-option>
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.5 and 8.5.0.1.  Please refer to the Recommended
    Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM64286

  • 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-05-09

  • Closed date

    2012-09-14

  • Last modified date

    2012-09-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

    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