Affects Version/s: 1.1_01
Fix Version/s: 1.0
Operating System: All
URL: http://forum.java.sun.com/thread.jsp?forum=427&thread=563322&start=0&range=15#2779348ShowOperating System: All Platform: All URL: http://forum.java.sun.com/thread.jsp?forum=427&thread=563322&start=0&range=15#2779348
there is datatable nested in datable and commandlink within. sth like:
xxx and zzz are both ListDataModel objects (explicitly created). in bean action
i'm trying to get current row data from zzz, sth like:
YYYClass yyyInstance = (YYYClass) xxx
WWWClass wwwInstance = (WWWClass ) yyyInstance
when i click on the link, the exception is thrown in the second getRowData:
it seems that the current row index is -1.
everything is fine only when i click on any link in last row of the first
table (nevermind the row in nested table).
i've investigated the problem a little. it seems, that index in zzz data model
is always set only in the last instance of yyy.zzz, nevermind which row in
first table was clicked.
workaround is to use <f:param> for passing values needed in action processing.
in issue header i've put url to forum topic with similar problem description.