Hi Ron
I think you pretty much got it right.
For
|___Component
|___Contrib Table
Step 1: the loop is rendering itself
2: in the first iteration a component with current parameters and an id, let's
say myComp is being created, and renders itself
3: in the second iteration the same component with the id myComp is given
different parameters, and renders itself again
4: and so on in the next iterations
5: the loop ends. The index/ value are deleted, and so is myComp
6: the page is displayed
7: the user presses sort link on one column of one of the tables.
8: the sort link requests for the component myComp (why? In order to retrieve
table parameters from it, I suppose)
9: the returned myComp is not initialized.
10: the table tries to get its parameters from myComp
11: null pointer exception
Very simple. Seems like a trivial thing to do, doesnt it?
-------------------- m2f --------------------
Sent from www.TapestryForums.com
Read this topic online here: <<topic_link>>
http://www.tapestryforums.com/viewtopic.php?p=13315#13315
-------------------- m2f --------------------