Skip to content

Instantly share code, notes, and snippets.

@DamianFekete
Created July 1, 2016 09:45
Show Gist options
  • Save DamianFekete/e322efd0d10d362ec3fc94b01400768c to your computer and use it in GitHub Desktop.
Save DamianFekete/e322efd0d10d362ec3fc94b01400768c to your computer and use it in GitHub Desktop.
*Error:*
Method setViewModel not found for class org.zkoss.zul.Window
*Reason*
Missing closing paranthesis for @init.
*Bad:*
<window title="Search" width="600px" border="normal"
apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('com.example.SearchVM'">
instead of
*OK:*
<window title="Search" width="600px" border="normal"
apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('com.example.SearchVM')">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment