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

Child not allowed in org.zkoss.zhtml.Input (with open & close tags)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.0
    • 8.0.0
    • Components, ZHTML
    • None
    • Java 8 tomcat 7 zk 8.0.0-RC

    • ZK 8.0.1

      This is OK <x:input xmlns:x="xhtml"/>, but this (with open & close tags) gives exception

      <x:input xmlns:x="xhtml">
      </x:input>

      org.zkoss.zk.ui.UiException: Child not allowed in org.zkoss.zhtml.Input
      	at org.zkoss.zk.ui.AbstractComponent.checkParentChild(AbstractComponent.java:1168)
      	at org.zkoss.zk.ui.AbstractComponent.insertBefore(AbstractComponent.java:1190)
      	at org.zkoss.zk.ui.impl.AbstractUiFactory.newComponent(AbstractUiFactory.java:130)
      	at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:901)
      	at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:870)
      	at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:745)
      	at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:709)
      	at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:916)
      	at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:870)
      

            ChunfuChang ChunfuChang
            trongdd trongdd
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: