0

zk 10 clientmvvm apply template boolean status not working as expected

asked 2023-12-07 15:50:52 +0800

wastemails gravatar image wastemails
130 1 2

updated 2023-12-07 15:54:08 +0800

   <div apply="org.zkoss.clientbind.ClientBindComposer" viewModel="@id('vm') @init('blah.blahah.TestVM')>  

    <apply template="@load(vm.variable)">
            <template name="true">
                <label value="This is true label"/>
            </template>
            <template name="false">
                <label value="This is false label"/>
            </template>
    </apply> 

    <button onClick="@command('updateVariable')"/>

</div>
delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2023-12-19 22:31:00 +0800

MDuchemin gravatar image MDuchemin
2560 1 6
ZK Team

Good catch

Posted ticket: https://tracker.zkoss.org/browse/ZK-5603

link publish delete flag offensive edit
0

answered 2024-01-12 17:56:45 +0800

MDuchemin gravatar image MDuchemin
2560 1 6
ZK Team

https://tracker.zkoss.org/browse/ZK-5603

Resolved, fix will be available in next Freshly

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2023-12-07 15:50:52 +0800

Seen: 11 times

Last updated: Jan 12

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