|
Hi Ken, Thanks for your response. What if you have a column on the web page that for example shows the headlines of the lastest X news items or a random collection of photos. This logic has nothing to do with the actual action that is being invoked, so loading this view data from each and every action where it might be needed seems pretty awkward and breaks separation of concerns. Wrapping this in a view component that loads the data autonomously seems to be a way to encapsulate this feature and make it easily reusable. But this requires DB access during view rendering. Those items are more or less pure view related features, that's why I found this solution reasonable. But of course I'm willing to learn - how can I better handle this situation? Regards, Andre
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en -~----------~----~----~----~------~----~------~--~--- |
- ExecuteWhen.AfterRendering Andre Loker
- Re: ExecuteWhen.AfterRendering Ken Egozi
- Re: ExecuteWhen.AfterRendering Andre Loker
- Re: ExecuteWhen.AfterRendering Ken Egozi
- Re: ExecuteWhen.AfterRendering Andre Loker
- Re: ExecuteWhen.AfterRendering Ken Egozi
- Re: ExecuteWhen.AfterRendering Rafael Teixeira
- Re: ExecuteWhen.AfterRendering Andre Loker
