views:

6

answers:

0

Is there any way to use placeholder similar to WebForms in NVelocity View Engine (.vm files)?

Today I've got a component containing everything for the <head>, but I wish to specify additional tags from each view page like it can easily be done in ASP.NET WebForms / MVC:

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server"></asp:Content>

If this is not possible directly trough NVelocity View Engine, do I have any other alternatives other than using a blank MasterPage and adding all markup in each view page?