This content has been marked as final. Show 2 replies
You need to set the child view attribute and view link name for both inner and outer table for the Table in Table to work. Can you paste first 4 lines from the detail#0 part of the NPE, you had already made null checks so I am wondering where the exception is coming from. Indicate the line which throws the NPE from your code.
Thanks for taking time. I was getting NPE at "innerTable.setAttributeValue(VIEW_LINK_NAME,"XXCC_VL"); ". After so many trial and error work finally I could get thru with the problem and now its working fine.
My observations are below.
(1) some how (how i really dont know, i would appreciate if you can add useful information to it), even though i created AM after View Link being created my view link was not appearing for both of the Views displayed in AM. (Please note that I have two VOs and one one VL). Thus I could select VL for only one VO instead of two in the first trial.
(2) the problem was solved after i reated VL and AM and when I selected VL for both VOs, then my problem was solved half way. The remaining solution includes I have changed view link name that I have used in "innerTable.setAttributeValue(VIEW_LINK_NAME,"XXCC_VL"); " to "XXCC_VL1" instead of "XXCC_VL".
Thanks indeed Ramkumar.