IBM Support

PM32594: DojoContentPane error id==dijit_layout_ContentPane_0_wrapper is already registered

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • = TabSelected,
    children =[]};
    
    2) Add panes in the onConstructionFunction of the handler:
    
        function start()
    
            contentPanes widget[2];
            contentPanes[1] = new DojoContentPane{title = 'title1',
    children =[]};
            contentPanes[2] = new DojoContentPane{title = 'title2',
    children =[]};
    
            AccordionContainer.children = contentPanes;
        end
    
    3) Preview the handler in RBD or in an external Web browser: the
    error is raised
    
    
    Workaround:
    None
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The problem is that DojoContentPane can not be created
    dynamically for a Container, such as DojoAccordionContainer,
    it will throw a duplicated wrapper id error.
    
    Below is the sample code which causes this issue:
        function createPanes()
     contentPanes widget[2];
     contentPanes[1] = new DojoContentPane{title = "title
    1-1", children =[]};
     contentPanes[2] = new DojoContentPane{title = "title
    2-2", children =[]};
    
     AccordionContainer.children = contentPanes;
        end
    
    The root cause is that Dojo Cantainer will create a wrapper
    widget for each DojoContentPane in its children, and id for
    each wrapper widget is the DojoContentPane's Id plus a fixed
    word "wrapper". The DojoContentPane id will be unregisterred
    when it's destroyed, but the wrapper's id is not.
    

Problem conclusion

  • Unregister all the wrappers' IDs  in a Container when
    destroying the Container widget.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM32594

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-02-14

  • Closed date

    2011-03-31

  • Last modified date

    2011-03-31

  • 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

  • R801 PSN

       UP

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

Document Information

Modified date:
31 March 2011