Revision history [back]

click to hide/show revision 1
initial version

answered 2021-08-09 18:29:38 +0800

hawk gravatar image hawk

http://hawkphoenix.blogsp... ZK Team

If the error is

org.zkoss.zel.PropertyNotFoundException: Property 'title' not found on type DocumentWindow

Then it's expected.

Because ZK loads a property by getter of DocumentWindow, it contains getDocuementTitle() instead of getTitle(). The member field can be title or mytitle. So if you use vm.title and no getTitle() found in the ViewModel, ZK will throw Property 'title' not found.

If the error is

org.zkoss.zel.PropertyNotFoundException: Property 'title' not found on type DocumentWindow

Then it's expected.

Because ZK loads a property by getter of DocumentWindow, it contains getDocuementTitle()getDocumentTitle() instead of getTitle(). The member field can be title or mytitle. So if you use vm.title and no getTitle() found in the ViewModel, ZK will throw Property 'title' not found.

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