Is ZK's old Data Binding still availble in zkui0.5.6

24 views
Skip to first unread message

chu...@gmail.com

unread,
May 18, 2013, 8:07:58 AM5/18/13
to zk-ui...@googlegroups.com
I've upgraded my zkui plugin to 0.5.6 and my grails is 1.3.7.

In the 3.8 chapter - "ZK's old Data Binding" of the <<Grails ZK UI Plugin - Reference Documentation>> (http://xiaochong.github.io/zkui/manual-0.5/guide/index.html), it gives a data binding example:

----begin----
In the gsp view:

<z:window id="win" apply="test.TestComposer,org.zkoss.zkplus.databind.AnnotateDataBindingComposer">
<z:textbox value="@{win#composer.username}"/>
<z:/window>

In the test.TestComposer:

class TestComposer{
def username="test"

def afterCompose = {Component comp ->

}
}
----end----

I tried this example in my enviroment, but it didn't work. So I doubt that the new version of the plugin (or the zk6.5.2) is not supported the old databinding anymore. Could anybody please to help me to confirm this? Thanks a lot in advance!!

Reply all
Reply to author
Forward
0 new messages