Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2841

Unselecting a Navitem form Java does update the UI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 7.0.7, 8.0.1
    • 7.0.6
    • Components
    • Security Level: Jimmy
    • None
    • ZK 7.0.7
    • None

      in this example the buttons to select a navitem dynamically work, but the unselect buttons have no effect on the client side

      <zk>
      	click "select 1" to select a navitem, clicking "unselect 1" should update the UI
      	<navbar orient="vertical">
      		<nav label="test" open="true">
      			<navitem id="ni1" label="test1"/>
      			<navitem id="ni2" label="test2"/>
      		</nav>
      	</navbar>
      	
      	<button onClick="ni1.setSelected(true)" label="select 1"/>
      	<button onClick="ni1.setSelected(false)" label="unselect 1"/>
      	<button onClick="ni2.setSelected(true)" label="select 2"/>
      	<button onClick="ni2.setSelected(false)" label="unselect 2"/>
      </zk>
      

            wenninghsu wenninghsu
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d