Let's say I have a common UI feature on my site like so (I'm simplifying here, obviously in the real world the element might be more complex) that is replecated on many pages:
<div class="section"> <!-- content here --> </div> I can (obviously) use <lift:surround> to do this on any page in my site like so: <lift:surround with="section" at="content"> <!-- content here> </lift:surround> But what if my common UI element contains 2 (or more) non contiguous blocks like so: <div class="section"> <div class="header"> <!-- header here --> </div> <div class="content"> <!-- content here --> </div> </div> Is there any simple way for me to abstract this sort of thing away in lift such that I can do something like(ish) this: <lift:surround with="section"> <lift:header> <b>A header</b> <lift:header> <lift:content> Some Content </lift:content> </lift:surround> -harryh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---