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

tbeditor is missing binding annotations in lang-addon.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 8.0.3
    • 8.0.3
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.0.4 S1

      Steps to Reproduce

      http://zkfiddle.org/sample/24r7k/1-tbeditor-missing-bind-annotations
      run fiddle

      Actual Result

      binding doesn't trigger, value is not updated

      Expected Result

      binding trigger, value is updated in proxy / bean

      Debug Info

      missing annotations from tbeditor component declaration in zkamx.jar/metainfo/zk/lang-addon.xml

      	<component>
      		<component-name>tbeditor</component-name>
      		<component-class>org.zkoss.zkmax.zul.Tbeditor</component-class>
      		<widget-class>zkmax.inp.Tbeditor</widget-class>
      		<mold>
      			<mold-name>default</mold-name>
      			<mold-uri>mold/tbeditor.js</mold-uri>
      			<css-uri>css/tbeditor.css.dsp</css-uri>
      		</mold>
      	</component>
      

      Root Cause

      Workaround

      add attached lang-addon to project, enable in zk.xml with:
      https://www.zkoss.org/wiki/ZK%20Configuration%20Reference/zk.xml/The%20language-config%20Element

            DevChu DevChu
            MDuchemin MDuchemin
            Votes:
            1 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 - 20 minutes
                20m