IBM Support

PK50788: USING CSS "WHITE-SPACE: PRE" IN TD CAUSES JSF TO BREAK COMPATIBI LITY WITH PRIOR VERSIONS DUE TO HTML TABLE LAYOUT CHANGES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The generated HTML source code from JSF 1.1 base version (eqival
    ent IBM or Sun) jsf-impl.jar has no carriage returns, but the ne
    wer JSF 1.1_02 RI HTML contains a number of carriage returns bet
    ween JavaScript entries. This can cause HTML table layout to app
    ear corrupted and backwards compatibility to be affected.
    
    ************************************************
    Extract from Rational Application Developer V7 jsp source code
    ************************************************
    ?style??!-- .dGyo { white-space: pre; } //--??/style?
     ...
    ?TD class='dGyo'??h:inputText id='text5' maxlength='10'??hx:inpu
    tHelperAssist autoTab='true' validation='true'/??f:convertNumber
     pattern='#,##0.00;(#,##0.00)'/??/h:inputText??/TD?
    ************************************************
    [1.1 JSF generated HTML with no carriage returns]
    ?TD class='dGyo'??input id='form1:text5' type='text' name='form1
    :text5' maxlength='10' /??/TD?
    
    [1.1_02 JSF generated HTML with carriage returns]
    ?TD class='dGyo'?
    
    ?script type='text/JavaScript' language='JavaScript' src='/RADIO
    Web/.ibmjsfres/hxclient_core_v3_0_1.js'??/script?
    
    ?script type='text/JavaScript' language='JavaScript' src='/RADIO
    Web/.ibmjsfres/hxclient_S_v3_0_1_ja.js?viewLocale=ja_JP'??/scrip
    t?
    ?script type='text/JavaScript' language='JavaScript'?
    if (hX_5) hX_5.setResourceServer('/RADIOWeb/.ibmjsfres');
    ?/script??input id='form1:text5' type='text' name='form1:text5'
    maxlength='10' /??/TD?
    

Local fix

Problem summary

  • Line feeds in generated ?script? messed up table styles.
    

Problem conclusion

  • New context param introduced to remove line feeds,
    
    Fix delivered in Rational Application Developer V7007
    update.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK50788

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-08-09

  • Closed date

    2008-06-27

  • Last modified date

    2008-06-27

  • 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

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R700 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 June 2008