@Override protected void doLayout() {
...
_Each0.render(dtdList, new Each.DoBody<DBObject>(){
public void render(final DBObject dtd, final int _size, final int _index, final boolean _isOdd, final String _parity, final boolean _isFirst, final boolean _isLast) {
// line 7
p(" <li>\n" +
" <h5 class='hideshowDTD {index:");// line 7
p(_index);// line 9
p("}'>");// line 9
p(dtd.get("package") + "." + dtd.get("name"));// line 9
p("</h5>\n" +
" <p id='json_");// line 9
p(_index' class='hide'>${JSON.serialize(dtd)}</p> // HERE THE PROBLEM BEGINs
<div class='align_right'>
<a href=');// line 10
p("#' class='loadDTD {index:");// line 12
p(_index);// line 12
p("}'>load</a> |\n" +
" <a href='#' class='hideshowDTD {index:");// line 12
p(_index);// line 13
p("}'>hide/show</a>\n" +
" </div>\n" +
" </li>\n" +
" ");// line 13
}
}
);
// line 7
p(" </ul>");// line 16
}
}
template
generated code