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

share listmodelist cause un-predictable reload

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.5.3
    • Fix Version/s: 6.5.4
    • Component/s: Components
    • Labels:
      None

      Description

      1.when share a listmodel with listbox and grid.
      2.select any item of listbox will cause grid reload.

      <zk>
      	<window title="CHT1" border="normal" hflex="1" vflex="1">
      	<zscript><![CDATA[
      	    class Obj {
      	    	String str;
      	    	public Obj(String str){
      	    		this.str = str;
      	    	}
      	    	
      	    	public String toString(){
      	    		return str+"-"+new Date().getTime();
      	    	}
      	    }
      	                  
      		ListModelList model = new ListModelList();
      		model.add(new Obj("A"));
      		model.add(new Obj("B"));
      		model.add(new Obj("C"));
      	]]></zscript>
      		<listbox model="${model}" onSelect="//"></listbox>
      		<grid model="${model}"></grid>
      	</window>
      </zk>
      

        Activity

        Hide
        jumperchen jumperchen added a comment -

        Bug fixed since 7/26/2013

        Show
        jumperchen jumperchen added a comment - Bug fixed since 7/26/2013

          People

          • Assignee:
            jumperchen jumperchen
            Reporter:
            dennis dennis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: