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

Combobox does not bind properly bind to string with Specialcharakter (e.g. ä,ö,ü)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 7.0.6.1
    • Components
    • None

      The Combobox component does not bind to special charakters (äöü). One gets a null String.
      Example:

      public class ContactEditVM {
      
          private String test;
      
          public String getTest() {
              return test;
          }
      
          public void setTest(String test) {
              this.test = test;
          }
      }
      
      <zk xmlns="http://www.zkoss.org/2005/zul">
          <window apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('avokado.addresses.ContactEditVM')" width="100%" vflex="min">
      combobox model="@bind(vm.values)" selectedItem="@bind(vm.test)" width="100%" />
      </window>
      </zk>
      

            Unassigned Unassigned
            NetLaborlw NetLaborlw
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: