I'm afraid forcing the reader to enter credentials isn't going to
increase your comment count.
Nevertheless here are some suggestions:
A)
Use PropertyListView and you won't have to twiddle with the item's model.
B)
IMHO passing the container into EditableQuestionPanel isn't a good idea
- why should it know anything about its parent? Instead I'd add a hook
method into EditableQuestionPanel so that it can notify about changes.
The containing QuestionEditPanel can then do whatever it needs to update
itself on an Ajax request.
C)
Why is QuestionNavigationPanel concerned with the model object of one of
its ancestors?
QuestionEditPanel should use a LoadableDetachableModel to always work on
up-to-date data. When notified of changes (see hook method above) it can
detach its model explicitly so the data is fetched again from your
QuestionProcessor.
Hope this helps
Sven
pieter claassen wrote:
Hi Guys,
Here is a blog entry on how I update listviews in listviews with Ajax.
http://skeptical-inquirer.blogspot.com/2009/11/updating-listview-in-listview-with-ajax.html
I would appreciate any comments to help me improve this pattern.
Cheers,
Pieter
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]