start adding support for Models objects from Ezc

This commit is contained in:
2021-05-31 18:59:20 +02:00
parent 22de3322ae
commit 6e4f8f5191
9 changed files with 62 additions and 3 deletions

View File

@@ -34,7 +34,6 @@
#include "cat.h"
namespace Winix
{
@@ -68,6 +67,23 @@ void Cat::MakeGet()
}
cur->request->send_as_attachment = cur->request->IsParam(L"attachment");
// temporary for tests
////////////////////////////////////////////////////////////
foo1.subject = L"subject <h2>from</h2> foo1";
foo2.subject = L"subject <strong>from</strong> foo2";
foo1.item_content.content_raw = L"raw content from foo1";
foo2.item_content.content_raw = L"raw content from foo2";
foo1.set_connector(model_connector);
foo2.set_connector(model_connector);
return_model(L"foo1", foo1);
return_model(L"foo2", foo2);
////////////////////////////////////////////////////////////
}