-
FEATURED COMPONENTS
First time here? Check out the FAQ!
![]() | 1 | initial version | |
If your prefix n
mean zk 'native' namespace, then native HTML tags don't support data binding.
See https://www.zkoss.org/wiki/ZKDeveloper%27sReference/UIPatterns/HTMLTags
![]() | 2 | No.2 Revision |
If your prefix n
mean zk 'native' namespace, then native HTML tags don't support data binding.
See https://www.zkoss.org/wiki/ZKDeveloper%27sReference/UIPatterns/HTMLTags
You can replace it with xhtml component set like:
<zk xmlns:n="native" xmlns:x="xhtml">
<zscript><![CDATA[
ListModelList items = new ListModelList();
items.add("a");
items.add("b");
]]></zscript>
<div apply="org.zkoss.bind.BindComposer">
<x:ul children="@load(items)">
<template name="children">
<n:li>${each}</n:li>
</template>
</x:ul>
</div>
</zk>
![]() | 3 | No.3 Revision |
If your prefix n
mean zk 'native' namespace, then native HTML tags don't support data binding.
See https://www.zkoss.org/wiki/ZKDeveloper%27sReference/UIPatterns/HTMLTags
You can replace it with with:
<forEach>
<zk xmlns:n="native" xmlns:x="xhtml">
<zscript><![CDATA[
ListModelList items = new ListModelList();
items.add("a");
items.add("b");
]]></zscript>
<div apply="org.zkoss.bind.BindComposer">
<zscript>
<!-- native with forEach -->
<n:ul>
<forEach items="@init(items)">
<n:li>${each}</n:li>
</forEach>
</n:ul>
</div>
</zk>
![]() | 4 | No.4 Revision |
If your prefix n
mean zk 'native' namespace, then native HTML tags don't support data binding.
See https://www.zkoss.org/wiki/ZKDeveloper%27sReference/UIPatterns/HTMLTags
You can replace it with:
set or <forEach>
:
<zk xmlns:n="native" xmlns:x="xhtml">
</zk>