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

application converters not work: Cannot find converter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: 8.0.1
    • Fix Version/s: None
    • Component/s: Databind, Databind 2
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.0.1 S3

      Description

      application converters does not work
      zk.xml:
      <library-property>
      <name>org.zkoss.bind.appConverters</name>
      <value>jsr310=ru.simplex_software.school_mark.view.Jsr310Converter</value>
      </library-property>
      .zul
      <datebox value="@bind(vm.lesson.date) @converter('jsr310')"/>

      when view page in console:
      org.zkoss.zk.ui.UiException: Cannot find converter:jsr310
      at org.zkoss.bind.impl.BinderImpl.getConverter(BinderImpl.java:484)
      at org.zkoss.bind.impl.PropertyBindingImpl.getConverter(PropertyBindingImpl.java:99)
      at org.zkoss.bind.impl.SavePropertyBindingImpl.getComponentValue(SavePropertyBindingImpl.java:109)
      at org.zkoss.bind.impl.SavePropertyBindingImpl.save(SavePropertyBindingImpl.java:130)
      at org.zkoss.bind.impl.PropertyBindingHandler.doSaveBinding(PropertyBindingHandler.java:110)
      at org.zkoss.bind.impl.PropertyBindingHandler.doSaveEvent(PropertyBindingHandler.java:165)
      at org.zkoss.bind.impl.BinderImpl.doSaveEvent(BinderImpl.java:1729)
      at org.zkoss.bind.impl.BinderImpl.access$1200(BinderImpl.java:117)
      at org.zkoss.bind.impl.BinderImpl$CommandEventListener.onEvent0(BinderImpl.java:1444)
      at org.zkoss.bind.impl.BinderImpl$CommandEventListener.onEvent(BinderImpl.java:1412)
      at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:3007)
      ......
      zk version 8.0.1.FL.20151201

        Attachments

          Activity

            People

            Assignee:
            SEFI SEFI
            Reporter:
            dmrzh3 dmrzh3
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: