VelocityEngine engine = new VelocityEngine(getProperties());
engine.init();
Branch branch = TransactionalPluginBranchService.getInstance().get(branchId);
Topic topic = new Topic();
topic.setBranch(branch);
TopicDto dto = new TopicDto(topic);
Map<String, Object> data = getDefaultModel(request);
data.put("breadcrumbList", breadcrumbBuilder.getForumBreadcrumb(topic));
data.put("topicDto", dto);
model.addAttribute("content", VelocityEngineUtils.mergeTemplateIntoString(engine,
"org/jtalks/jcommune/plugin/questionsandanswers/template/questionForm.vm", "UTF-8", data));