0

selecteditem can not match the model in listbox etc.

asked 2013-04-19 09:51:30 +0800

fjjay gravatar image fjjay
1

updated 2013-04-19 10:11:42 +0800

I use zk6.5.2. I found listbox selected default item by match the object between the selecteditem and listitem directly. So the object id of two above must be same for matched. When they are simple object such as String or Long, the object id will be same. but my selecteditem and listitems are
complicated object and created in different way, so their object id must not be same. But their id property are same.

In this situation, how can I code the listbox in a simply way?

delete flag offensive retag edit

Comments

Not clear what you want to achieve here Can you elaborate it more

sjoshi ( 2013-04-19 10:05:13 +0800 )edit
Be the first one to answer this question!
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
1 follower

RSS

Stats

Asked: 2013-04-19 09:51:30 +0800

Seen: 7 times

Last updated: Apr 19 '13

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