-
FEATURED COMPONENTS
First time here? Check out the FAQ!
my zul code is follow:** <listbox status="@ref(currentPage.data)">
<listitem> <listcell label="order 1"/> <listcell label="@load(status)"/> </listitem> </listbox> when i run the zul,it throws the follow exception:**
Unsupported child for Listbox: <Label null>
your code snipped was containing some non breaking space characters (you can see that in a hex editor) for whitespace between tags only normal spaces,tabs linebreaks are ignored.
non breaking spaces are considered letters and produce an implicit label in zul - hence the error message.
here the corrected snippet:
<listbox status="@ref(currentPage.data)">
<listitem>
<listcell label="order 1"/>
<listcell label="@load(status)"/>
</listitem>
</listbox>
Asked: 2017-12-22 08:43:44 +0800
Seen: 29 times
Last updated: Dec 22 '17