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

chosenbox rendering inconsistently and losing selections

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.0
    • 7.0.5
    • Components
    • Security Level: Jimmy
    • ZK 8.0.1
    • None

      running the attached example shows, that already selected items are rendered using the HTML generated in the ItemRenderer, while the choices only display escaped markup.
      When selecting a new value the escaped markup is added to the box in the escaped form.

      the ItemRenderer API docs state HTML markup is possible http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zul/ItemRenderer.html

      When invalidating the chosenbox, previously selected items are lost.

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

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 30 minutes Original Estimate - 30 minutes
                30m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 3 hours
                3d 3h