Hi Experts,
Need your help.
I have the following context structure:
UserInfo : node, singletone=true
****UserMachines : node, singletone=true
*********MachinesInformation : node, singletone=false ( there is a supply function for this node)
*********locale : attribute
*********version : attribute
****name : attribute
****type : attribute
UserMachines node is bound to Table. MachinesInformation is bound to TextView elements.
When there is at least 1 element in UserMachines node everything works OK. But when there are no machines to enter to the node ( UserMachines is empty) i get the following exception:
com.sap.tc.webdynpro.progmodel.context.ContextException: Node(SingleUserCompView.UserInfo.UserMachines): no child node 'MachineInformation' at index -1
at com.sap.tc.webdynpro.progmodel.context.Paths.followPath(Paths.java:880)
at com.sap.tc.webdynpro.progmodel.context.Paths.followPath(Paths.java:852)
at com.sap.tc.webdynpro.progmodel.context.Paths.createAttributePointer(Paths.java:91)
at com.sap.tc.webdynpro.progmodel.view.UIElement.getVisible(UIElement.java:619)
at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.MatrixLayoutAdapter$Cells.doNext(MatrixLayoutAdapter.java:362)
.....
I could not understand what is wrong. Please help me.
Regards,
Slavik.
Edited by: Stanislav Lvovsky on Jul 2, 2009 4:47 PM
Edited by: Stanislav Lvovsky on Jul 2, 2009 4:49 PM