0

Listbox multiple bug

asked 2012-06-21 12:40:01 +0800

wnederhof gravatar image wnederhof
33 2

updated 2012-06-21 12:41:55 +0800

Hi all,

I found a possible bug in ZK 6.

When I have a listbox like this:

<listbox checkmark="true" multiple="true" model="@<composer.students>">
	<listhead>
		<listheader>Naam</listheader>
		<listheader>Groep</listheader>
	</listhead>
	<listitem self="@{each=printStudent}">
		<listcell label="@{printStudent.name}" ></listcell>
		<listcell label="@{printStudent.group}" ></listcell>
	</listitem>
</listbox>

The multiple argument is ignored. However, when the model argument is not set and instead I use placeholder list items, it is possible to check multiple items again.

Am I doing something wrong here or is this a bug?

Thank you,

Wouter

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-06-21 12:42:15 +0800

wnederhof gravatar image wnederhof
33 2

updated 2012-06-21 12:42:25 +0800

Ps. It shows @ { $composer.students } as @<composer.students> in this forum...

link publish delete flag offensive edit

answered 2012-06-25 02:19:31 +0800

MontyPan gravatar image MontyPan
435 3
http://xitop.blogspot.com...

Sorry... Can you provide complete code?
Maybe the reason is in composer.

ps. Suggest post your code on gist or other service-provider :)

Regards,
Monty

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-06-21 12:40:01 +0800

Seen: 129 times

Last updated: Jun 25 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More