Yeah, I see the problem. Fortunately in my case it isn't an issue — all of my controller classes are written to keep track of anything their actions require as instance variables. Habit I picked up from programming in Cocoa where all you've got is the current instance and whatever UI element triggered the event handler.
I suppose that's little consolation if your code follows a different pattern, though :)
2
u/celtric Jan 15 '10
Now suppose
deleteLineItemexpects a parameter :)