Revision history [back]

click to hide/show revision 1
initial version

asked 2013-02-21 10:38:02 +0800

karry gravatar image karry

generic cast

Hi, ZK 6.5 had supported generic. It is great. But when I override components, it make some trouble. For example I use MyListitem to render in a Listbox. In before, the follow code is ok.

List<mylistitem> items = listbox.getItems();

But now, it will cause compile error. There are many codes have this problem. How could I solve this problem quickly? Thank you.

generic cast

Hi, ZK 6.5 had supported generic. It is great. But when I override components, it make some trouble. For example I use MyListitem to render in a Listbox. In before, the follow code is ok.

List<mylistitem>

List<MyListitem> items = listbox.getItems();

listbox.getItems();

But now, it will cause compile error. There are many codes have this problem. How could I solve this problem quickly? Thank you.

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