viewcode:
<% component Tile, {...@entity: item}: %>
bla
<% end %>
I could use sections, but I wonder what would be their advantage?
RenderSection() or RenderBody() work more or less the same way, from what I
can tell.
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 go my body! ${ChildOutput} // edit, but does not
> change a thing
> > </div>
> > </div>
> > </div>
>
--
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
-~----------~----~----~----~------~----~------~--~---