provider.setStatus(status);
provider.setTargetPath(path);
return provider;
} else {// asta4d page
try {
Page page = Page.buildFromPath(result.toString());
if (page == null) {
return new TemplateNotFoundException(result.toString());
} else {
Asta4DPageProvider provider = DeclareInstanceUtil.createInstance(Asta4DPageProvider.class);
provider.setPage(page);