First time here? Check out the FAQ!
Hello,
after the upgrade, when displaying following *.zul
<window border="normal" id="messageLogin" width="700px">
<grid id="gdMessageLocation"
model="@{messageLogin$composer.messages}" width="700px"
oddRowSclass="none-odd" fixedLayout="true" sclass="accountTable">
<columns visible="false">
<column width="140px" />
<column align="left" />
<column width="70px" align="left" />
....
the @{messageLogin$composer.messages} evaluation does not acces the getMessages() method in the composer = data binding does not work. The composer is a subclass of GenericForwardComposer. Note that I have set both org.zkoss.zk.ui.composer.autowire.zscript and org.zkoss.zk.ui.composer.autowire.xel to true.
Hello abcd123,
From the provided code, i noticed that you have not associated it with a controller.
Please look at the provided url for more information:
http://books.zkoss.org/wiki/ZK%20Developer's%20Reference/MVC/Controller
*Note. You should also recheck your two custom properties at the following url:
http://www.zkoss.org/javadoc/7.0.3/zk/org/zkoss/zk/ui/util/GenericForwardComposer.html
Best Regards,
Darksu
Asked: 2014-10-06 15:46:39 +0800
Seen: 9 times
Last updated: Oct 11 '14