Revision history [back]

click to hide/show revision 1
initial version

answered 2013-08-14 18:52:11 +0800

phdsong gravatar image phdsong

This seems to explain why List<string> works good for model.

http://books.zkoss.org/wiki/ZKDeveloper'sReference/MVC/View/Renderer/Combobox_Renderer

When a combobox is assigned with a model, a default renderer is assigned too. The default renderer will assume that the combobox displays the data as a string. If you want to display more sophisticated information or retrieve a particular field of the data, you have to implement ComboitemRenderer to handle the rendering.

This seems to explain why List<string> works good for model.

http://books.zkoss.org/wiki/ZKDeveloper'sReference/MVC/View/Renderer/Combobox_RendererCombobox Renderer

When a combobox is assigned with a model, a default renderer is assigned too. The default renderer will assume that the combobox displays the data as a string. If you want to display more sophisticated information or retrieve a particular field of the data, you have to implement ComboitemRenderer to handle the rendering.

This seems to explain why List<string> works good for model.

Combobox Renderer

When a combobox is assigned with a model, a default renderer is assigned too. The default renderer will assume that the combobox displays the data as a string. If you want to display more sophisticated information or retrieve a particular field of the data, you have to implement ComboitemRenderer to handle the rendering.

This seems to explain why List<string> works good for model.

Combobox Renderer

When a combobox is assigned with a model, a default renderer is assigned too. The default renderer will assume that the combobox displays the data as a string. If you want to display more sophisticated information or retrieve a particular field of the data, you have to implement ComboitemRenderer to handle the rendering.

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