nvelocity

For loop in NVelocity.

Does NVelocity support #for loops? I've looked through the documentation and all I could find was the #foreach loop. I want to loop over a 2 dimensional array. ...

Alternatives to NTidy and other ports, need to format html with custom tokens

Looking to format (automated, in application) some html / nvelocity templates. Tidy seems to be the answer for this, however all the .Net ports seem to be problematic and not very well maintained. Most rely on unmanaged code under the covers and that starts imposing other restrictions on the project. For example, to use the code asso...

I want to configure NVelocity with MVC2, Please Help...

I want to configure NVelocity with MVC2, Please Help... ...

Does NVelocity support foreach.count?

I'm using the NVelocity from the Castle project and according to the velocity specs I should be able to access the loop counter like this: $foreach.counter But I can't get it to work so I suspect that it has not been implemented in NVelocity. Can anyone confirm this? ...

ASP.NET WebForms Placeholder for NVelocity View Engine

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="ser...