#1 2014-11-03 15:03:32

itSDS
Member
From: Germany
Registered: 2014-04-24
Posts: 516

Set different View Folder for different MVCApplication

Hi AB, i found the place in the source where ViewTemplateFolder is initialized.

But i don't see the place where i can set this Parameter as i wan't

Can you please specify this in the Example.


Rad Studio 12.1 Santorini

Offline

#2 2014-11-03 19:57:35

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: Set different View Folder for different MVCApplication

The sample use a standard TMVCRunOnRestServer with automatic configuration.

The easiest is to create your own TMVCViewsMustache instance, and specify it to the TMVCRunOnRestServer.Create() constructor.

Offline

Board footer

Powered by FluxBB