Revision history [back]

click to hide/show revision 1
initial version

answered 2013-01-31 16:46:47 +0800

kryselmire gravatar image kryselmire

EUREKA!!

The issue is not with the listbox populating itself, but instead with the layout it is held withing. This has been added to the ZK Bug Tracker: ZK-1604

For those of you that manage to stumble onto the same issue I did, Here is the cause:

This error is due to the following pattern of containers/objects. [code]

<borderlayout>

<columnlayout> <columnchildren> <listbox model="@load(vm.dataset)"> .... </listbox> </columnchildren> </columnlayout>
</borderlayout>

[/code] The initial load does not cause any problems. But once the data is refreshed, a window appears on the UI with the above error.

If the columnlayout is removed as so: [code] <borderlayout>

<listbox model="@load(vm.dataset)"> .... </listbox>
</borderlayout> [/code] the error does not appear on data reload.

EUREKA!!

The issue is not with the listbox populating itself, but instead with the layout it is held withing. This has been added to the ZK Bug Tracker: ZK-1604

For those of you that manage to stumble onto the same issue I did, Here is the cause:

This error is due to the following pattern of containers/objects. [code]

<borderlayout>
    

<center> <columnlayout> <columnchildren> <listbox model="@load(vm.dataset)"> .... </listbox> </columnchildren> </columnlayout>
</borderlayout>

</center> </borderlayout>

[/code] The initial load does not cause any problems. But once the data is refreshed, a window appears on the UI with the above error.

If the columnlayout is removed as so: [code] [code]

<borderlayout>
    

<center> <listbox model="@load(vm.dataset)"> .... </listbox>
</center> </borderlayout>

[/code] the error does not appear on data reload.

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