Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
*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