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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---