APAR status
Closed as program error.
Error description
= handleCity, */ children = []} ]} ]}; 2) Add tree nodes in the DojoAccordionContainer tab selected event: function TabSelected(e event in) SysLib.writeStdout('TabSelected'); treeNodes widget[2]; treeNode DojoTreeNode; treeNodes[1]=new DojoTreeNode { id = 'NA', text = 'North America', children = [ new DojoTreeNode { id = 'CA', text = 'Canada' }, new DojoTreeNode { id = 'US', text = 'USA' } ]}; treeNodes[2]=new DojoTreeNode { id = 'EU', text = 'Europe', children = [ new DojoTreeNode { id = 'GR', text = 'Greece'}, new DojoTreeNode { id = 'IT', text = 'Italy'} ]}; tree DojoTree = AccordionContainer.children[AccordionContainer.selection].childr en[1]; tree.children = treeNodes; 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: * **************************************************************** DojoTree widget needs a unique ID for each instance, it will throw an error if the id of a DojoTree instance is duplicated in the dojo system. When dynamically assign new DojoTreeNode to the children of a DojoTree, it will cause the duplicated id for that DojoTree, the error message like below: Could not create Dojo Widget. See DojoTree.createDojoWidget(), rendering step=4, error=Tried to register widget with id==dijit_Tree_1 but that id is already registered Below is the sample code which can cause this issue: function Button_onClick(event Event in) treeNodes widget[2]; treeNodes[1]=new DojoTreeNode { id = "NA", text = "North America", children = [ new DojoTreeNode { id = "CA", text = "Canada" }, new DojoTreeNode { id = "US", text = "USA" } ]}; treeNodes[2]=new DojoTreeNode { id = "EU", text = "Europe", children = [ new DojoTreeNode { id = "GR", text = "Greece"}, new DojoTreeNode { id = "IT", text = "Italy111"} ]}; Tree1.children = treeNodes; end
Problem conclusion
Create a unique id for each DojoTree instance internally.
Temporary fix
Comments
APAR Information
APAR number
PM32589
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