You should use sections for that, right? Or maybe I didnt understand the question. Can you post your intended viewcomponent's view code?
On Wed, Apr 15, 2009 at 8:57 AM, Jan Limpens <[email protected]> wrote: > to illustrate... > > <div class="tile"> > <div class="left" style="background-image: url(!{ImgSrc})"> > <a href="!{Url}">!{Title}</a> > </div> > <div class="right"> > <p class="article-link"> > <a class="info bold no-underline" href="!{Url}">!{Title}</a> > </p> > <div style="display: none"> > <a href="!{PopUpUrl}">Description</a> > </div> > <div> > here should by body go! > </div> > </div> > </div> > > If I call Context.RenderBody inside Render(), it will render the body before > the view and not where it is supposed to be. > > 2009/4/15 Jan Limpens <[email protected]> >> >> Hello, >> >> did not find this in the docs: >> >> what's the equivalent of a layout's ${ChildOutput} in a viewcomponent? I >> would want to avoid to have to put the whole complicated html of this >> component into my code, just so I can can call RenderBody()... >> >> -- >> Jan > > > > -- > Jan > > > > -- Cheers, hammett http://hammett.castleproject.org/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
