IBM Support

PM87898: DojoTree presenting leaf nodes as expandable nodes when defining them directly in the main tree construction

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • =
    handleCity, */ children = []};
    
    - Declare the DojoTreeNodes outside the declaration of the
    DojoTree
    
    treeNodes DojoTreeNode[] = [
     new DojoTreeNode { id = 'NA', text = 'North America', children
    = [
     new DojoTreeNode { id = 'CA', text = 'Canada' },
     new DojoTreeNode { id = 'US', text = 'USA' }
     ]},
     new DojoTreeNode { id = 'EU', text = 'Europe', children = [
     new DojoTreeNode { id = 'GR', text = 'Greece'},
     new DojoTreeNode { id = 'IT', text = 'Italy'}
     ]}
    ];
    
    - Append the nodes to the tree
    
    Tree1.appendChildren(treeNodes as Widget[]);
    

Local fix

Problem summary

  • When create a dojo tree, its leaf nodes some times have folder
    icon shown.
    

Problem conclusion

  • It has been fixed in 8016, 8511, 90 and later. The solution to
    the problem is that each time a tree node is added to a tree,
    its children is leaving undefined if it is a leaf node which
    dojo will consider it as leaf nodes and render the file icon
    instead of folder.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM87898

  • 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

    2013-04-26

  • Closed date

    2013-10-28

  • Last modified date

    2013-10-28

  • 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 PSY

       UP

  • R850 PSY

       UP

  • R900 PSY

       UP

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

Document Information

Modified date:
06 January 2022