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

Allow custom-attribute setting for checkmarkDeselectOthers

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Normal Normal
    • 8.5.2
    • 8.5.1.2
    • Components
    • Security Level: Jimmy
    • None
    • ZK 8.5.2 S1, ZK 8.5.2 S2

      currently

      Listbox setting for checkmarkDeselectOthers is retreived from library property only
      https://www.zkoss.org/wiki/ZK_Configuration_Reference/zk.xml/The_Library_Properties/org.zkoss.zul.listbox.checkmarkDeselectOthers
      https://github.com/zkoss/zk/blob/master/zul/src/org/zkoss/zul/Listbox.java#L3459
      This means that the setting must be activated or disabled for all listboxes in the application.

      Improvement

      Use Utils testAttribute to check for custom attribute, then default to library property
      https://github.com/zkoss/zk/blob/master/zul/src/org/zkoss/zul/Listbox.java#L3472
      This would allow developer to override the global setting on a case-by-case need

            klyvechen klyvechen
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified