@Override
public String content() throws AppException {
List<Task> tasks = TasksController.userTask(CurrentUser.getUserID(), CurrentUser.getEffectNodes());
AbstractHtmlElementTag ulElement = null;
TagWriter writer = null;
try {
ulElement = this.mainElement(createTaskTag(tasks));
writer = new TagWriter(new CharArrayWriter());
ulElement.doTag(writer);
return writer.getWritedString();
} catch (JspException ex) {
Logger.getLogger(DefaultTasksTemplate.class.getName()).log(Level.SEVERE, null, ex);
} catch (IOException ex) {
Logger.getLogger(DefaultTasksTemplate.class.getName()).log(Level.SEVERE, null, ex);