-
FEATURED COMPONENTS
First time here? Check out the FAQ!
If this code correct.
<listbox nonselectableTags='??'>
<listitem><listcell><button/></listcell></listitem>
<listitem><listcell><button/></listcell></listitem>
</listbox>
If possible if i want to be able to select it with a button but not with another button? what can i accomplish this..
Hello
This is not correct first mistake is listbox can not have listcell as child and you will get org.zkoss.zk.ui.UiException: Unsupported child for Listbox: Listcell null as exception,
you can't put ?? in nonselectableTags the tag names should be html tags or space if you want to include all tags.
<listbox nonselectableTags="">
<listitem><listcell><textbox/></listcell></listitem>
<listitem><listcell><button label="button"/></listcell></listitem>
<listitem><listcell><h:input xmlns:h="native"/></listcell></listitem>
<listitem><listcell><datebox/></listcell></listitem>
</listbox>
A sample fiddle is here
http://zkfiddle.org/sample/2qgtm92/1-listbox-nonselectableTags-sample
for more details about nonSelectableTags refer to. http://books.zkoss.org/wiki/ZKComponentReference/Data/Listbox#Nonselectable_Tags
Harish.
Asked: 2015-04-13 14:22:56 +0800
Seen: 20 times
Last updated: Apr 14 '15
wrong valueException come in front of modal popup [closed]
Use parameters in a conditional @command
Problems with multiple press and onCtrlKey
MVVM @save on the fly [closed]
Unable to activate destroyed desktop
org.zkoss.zk.ui.UiException: java.lang.ClassNotFoundException
How to put a image or Letter over image on a specific XY Coordinate