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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.0.0
    • Fix Version/s: 8.0.0
    • Component/s: Components, ZHTML
    • Labels:
      None
    • Environment:

      Java 8 tomcat 7 zk 8.0.0-RC

    • gh.sprint.customfield.default.name:
      ZK 8.0.1

      Description

      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)
      

        Activity

        Hide
        ChunfuChang ChunfuChang added a comment -

        fixed since 2015/10/05

        Show
        ChunfuChang ChunfuChang added a comment - fixed since 2015/10/05

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Agile