From: Paul H. <pa...@lo...> - 2008-12-22 04:34:50
|
On 22/12/2008, at 1:52 PM, Paul Hoadley wrote: > I haven't quite got it---I can display the nested lists, but the > action method on the inner lists isn't seeing updated arrays. Is > your $items just an instance variable, or does it have corresponding > methods? I've got list="$items", but to get the content I assume I > need something like this: > > public NSArray<Item> itemList() { > return sectionIter.sortedItems(); > } > > Small typo: I've got list="$itemList", not "$items", so it does actually match and call that method pasted above. > I've tried a public ivar NSArray<Item> itemList, as well as a setter > to set that variable, but neither seem to get the ivar updated to > the appropriate array when the inner action method fires. In fact, > itemList is null. I'm still doing something wrong here, though. -- Paul. w http://logicsquad.net/ h http://paul.hoadley.name/ |