According to schema file at "http://www.zkoss.org/2005/zul/zul.xsd" and "dist/xsd/zul.xsd" you can't put a <listitem> element inside a <template> element. However, many samples and PDF docs at zkoss.org use this feature in such a way.