view.afterPropertiesSet();
return view;
}
protected String generateViewSource(String viewName, GrailsDomainClass domainClass) throws IOException {
Writer sw = new FastStringWriter();
templateGenerator.generateView(domainClass, viewName,sw);
return sw.toString();
}