start adding support for Models objects from Ezc
This commit is contained in:
@@ -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);
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user