Advertisement
Guest User

Untitled

a guest
Jul 1st, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. *Error:*
  2. Method setViewModel not found for class org.zkoss.zul.Window
  3.  
  4. *Reason*
  5. Missing closing paranthesis for @init.
  6.  
  7. *Bad:*
  8. <window title="Search" width="600px" border="normal"
  9. apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('com.example.SearchVM'">
  10.  
  11. instead of
  12. *OK:*
  13. <window title="Search" width="600px" border="normal"
  14. apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('com.example.SearchVM')">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement