Ticket #24 (closed defect: fixed)
Render all views after all event-handlers are complete
| Reported by: | joe.rinehart | Owned by: | joe.rinehart |
|---|---|---|---|
| Priority: | low | Milestone: | 2.0 Beta 1 Bugfixes |
| Version: | 1.0.01 | Severity: | enhancement |
| Keywords: | Cc: |
Description
In Model-Glue 1.x, all views were rendered after all event-handlers were complete and the onQueueComplete message had been broadcast.
As-is, Model-Glue 2.x renders views in a per-event-handler manner, with the result that onQueueComplete fires after all views are rendered. This breaks applications where onQueueComplete is used to load constants needed in views.
Restore this to its original behavior, but leave the getView() method in the EventContext? - listeners to OnRequestEnd? will be able to get the rendered results of views and use them in a read-only manner (for purposes like e-mail).
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)