I *think* (not sure at all, please someone correct me if I'm wrong) that it depends on the view engine being used. Each view engine has its own IViewComponentContext implementation with a different way of registering sections. For example, BrailViewComponentContext has a RegisterSection that registers Boo's ICallable. AspView's ViewComponentContext has a RegisterSection that registers a ViewComponentSectionRendereDelegate. And so on. So you could downcast the IViewEngineContext to the concrete implementation and call its specific RegisterSection.
On Aug 20, 2:46 pm, Gauthier Segay <[email protected]> wrote: > In a custom viewcomponent, I'm using DiggStylePagination. > > The custom viewcomponent is only made of code (no template rendering), > so I init an instance of the pager component and call render in my own > render method. > > My problem is that I need to override the default prev/next sections, > but can't find a straight forward way to do so only from the code. > > Any idea how to achieve this? > > Thanks for your help --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
