IBM Support

PM97188: usage of setStyle() or setAttribute() methods error

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment: windows
    Product name: IBM? Rational? Business Developer
    
    Program Version    :  9.0
    Description.
    Its observed that the usage of the setStyle() or setAttribute()
    methods of a widget results in unexpected errors.
    In the example scenario where the errors occur the goal is to
    set a multicolor gradient as background for container widgets
    like divs and spans etc to be able to manipulate the colors of
    the gradient at runtime.
    
    Running a handler and selecting applicable buttons to implement
    the required operation will produce varying errrors eg:
    a) Filling div by setting a style property with css statements
    throws:
    Invalid character
    [CRRUI2094E] Here are the EGL function calls leading to this
    error:
        Div.Widget.setStyle() [native JavaScript]
        /testRuiGradient/EGLSource/myPackage/myHandler.egl() at line
    68
        /testRuiGradient/EGLSource/myPackage/myHandler.egl() [native
    JavaScript]
    [CRRUI1083E] An error occurred while the click browser event was
    being handled.
    [CRRUI2002E] Widget.setStyle
    An error occurred inside myHandler: 'fileName' is null or not an
    object
    [CRRUI2095E] Could not find the EGL function calls leading to
    this error.
    
    b) Filling div by setting attribute property with style throws:
    [CRRUI1083E] An error occurred while the click browser event was
    being handled.
    [CRRUI2002E] Widget.setAttribute
    An error occurred inside myHandler: Member not found.
    [CRRUI2094E] Here are the EGL function calls leading to this
    error:
        Div.Widget.setAttribute() [native JavaScript]
        myHandler.button_div_setAttribute_click() [native
    JavaScript]
        Button.Widget.runEventHandlers() [native JavaScript]
        Event click() [native JavaScript]
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    RUI widget setStyle does not work when the style value
    contains ":"; At the same time setAttribute does not work to
    set style.
    

Problem conclusion

  • RUI widget setStyle and setAttribute can work properly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM97188

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-17

  • Closed date

    2014-05-22

  • Last modified date

    2014-05-22

  • 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 BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R900 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
02 November 2021