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

$init() will call twice on Keikai component

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 10.0.0
    • 10.0.0.FL
    • None
    • Security Level: Jimmy

      Steps to Reproduce

      1. Run ZK 10 FL version on Keikai component

      Current Result

      Only one caption is allowed: zul.layout.West

      Expected Result

      No error

      Debug Information

      zss.FormulabarWest = zk.$extends(zul.layout.West, {
      	_zclass: 'zss-west',
      	$o: zk.$void, //owner, fellows relationship no needed
         	$init: function (wgt) {
                      this.$supers(zss.FormulabarWest, '$init', []);
      		this._cssflex = false;
         		this.setFlex(true);
         		this.setBorder(0);
         		this.setSplittable(true);
         		this.setCollapsible(false);
         		this.setSclass('zsformulabar-west');
         		this.setSize('265px');
         		var cave = this.cave = new zss.FormulabarWestCave(wgt);
         		this.appendChild(cave);
         	},
      
      

      The zss.FormulabarWest#$init() will be invoked twice.

      Workaround

      None

            jumperchen jumperchen
            jumperchen jumperchen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: