Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-2858

Creating compound type with Annotated layout does not work

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Outdated
    • None
    • r2.07.00
    • None
    • None

    Description

      create new compound type with layout Annotated results in stacktrace:
      Fix or remove Annotated if too complex.

      21.07.2009 11:54:40 ERROR [org.apache.wicket.RequestCycle.logRuntimeException():
      1437] Unable to find component with id 'extension.main' in [MarkupContainer [Com
      ponent id = preview]]. This means that you declared wicket:id=extension.main in
      your markup, but that you either did not add the component to your page at all,
      or that the hierarchy does not match.
      [markup = jar:file:/C:/projects/hippo-ecm-trunk/quickstart/war/target/work/webap
      p/WEB-INF/lib/hippo-ecm-addon-defaultcontent-frontend-2.07.00-SNAPSHOT.jar!/org/
      hippoecm/defaultcontent/Annotated.html
      <!--

      • Copyright 2008 Hippo
        *
      • Licensed under the Apache License, Version 2.0 (the "License");
      • you may not use this file except in compliance with the License.
      • You may obtain a copy of the License at
        *
      • http://www.apache.org/licenses/LICENSE-2.0
        *
      • Unless required by applicable law or agreed to in writing, software
      • distributed under the License is distributed on an "AS IS" BASIS,
      • WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      • See the License for the specific language governing permissions and
      • limitations under the License.
        -->
        <html>
        <wicket:panel>
        <table class="hippo-defaultcontent">
        <tr>
        <td style="width: 80%;" wicket:id="extension.main">[ main ]</td>
        <td class="hippo-editor-metadata">
        <div wicket:id="extension.select">[ mixin selector ]</div>
        <div wicket:id="extension.mixins">[ mixin editors ]</div>
        </td>
        </tr>
        </table>
        </wicket:panel>
        </html>
        , index = 5, current = '<td style="width: 80%;" wicket:id="extension.main">' (li
        ne 20, column 7)]
        org.apache.wicket.markup.MarkupException: Unable to find component with id 'exte
        nsion.main' in [MarkupContainer [Component id = preview]]. This means that you d
        eclared wicket:id=extension.main in your markup, but that you either did not add
        the component to your page at all, or that the hierarchy does not match.
        [markup = jar:file:/C:/projects/hippo-ecm-trunk/quickstart/war/target/work/webap
        p/WEB-INF/lib/hippo-ecm-addon-defaultcontent-frontend-2.07.00-SNAPSHOT.jar!/org/
        hippoecm/defaultcontent/Annotated.html
        <!--
      • Copyright 2008 Hippo
        *
      • Licensed under the Apache License, Version 2.0 (the "License");
      • you may not use this file except in compliance with the License.
      • You may obtain a copy of the License at
        *
      • http://www.apache.org/licenses/LICENSE-2.0
        *
      • Unless required by applicable law or agreed to in writing, software
      • distributed under the License is distributed on an "AS IS" BASIS,
      • WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      • See the License for the specific language governing permissions and
      • limitations under the License.
        -->
        <html>
        <wicket:panel>
        <table class="hippo-defaultcontent">
        <tr>
        <td style="width: 80%;" wicket:id="extension.main">[ main ]</td>
        <td class="hippo-editor-metadata">
        <div wicket:id="extension.select">[ mixin selector ]</div>
        <div wicket:id="extension.mixins">[ mixin editors ]</div>
        </td>
        </tr>
        </table>
        </wicket:panel>
        </html>
        , index = 5, current = '<td style="width: 80%;" wicket:id="extension.main">' (li
        ne 20, column 7)]
        at org.apache.wicket.markup.MarkupStream.throwMarkupException(MarkupStre
        am.java:464)
        at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:134
        4)
        at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContai
        ner.java:1476)
        at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContai
        ner.java:639)
        at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.ja
        va:112)
        at org.apache.wicket.Component.renderComponent(Component.java:2480)
        at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1411)

      at org.apache.wicket.Component.render(Component.java:2317)
      at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:129
      7)
      at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContai
      ner.java:1476)
      at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContai
      ner.java:639)
      at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.ja
      va:112)
      at org.apache.wicket.Component.renderComponent(Component.java:2480)
      at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1411)

      at org.apache.wicket.Component.render(Component.java:2317)
      at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:129
      7)
      at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContai
      ner.java:1476)
      at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContai
      ner.java:639)
      at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.ja
      va:112)
      at org.apache.wicket.Component.renderComponent(Component.java:2480)
      at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1411)

      at org.apache.wicket.Component.render(Component.java:2317)
      at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:129
      7)
      at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContai
      ner.java:1476)
      at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContai
      ner.java:639)
      at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.ja
      va:112)
      at org.apache.wicket.Component.renderComponent(Component.java:2480)
      at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1411)

      at org.apache.wicket.Component.render(Component.java:2317)
      at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:129
      7)
      at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContai
      ner.java:1476)
      at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContai
      ner.java:639)
      at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.ja
      va:112)
      at org.apache.wicket.Component.renderComponent(Component.java:2480)
      at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1411)

      at org.apache.wicket.Component.render(Component.java:2317)
      at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:129
      7)
      at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContai
      ner.java:1476)
      at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContai
      ner.java:639)
      at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.ja
      va:112)
      at org.apache.wicket.Component.renderComponent(Component.java:2480)
      at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1411)

      at org.apache.wicket.Component.render(Component.java:2317)
      at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:129
      7)
      at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContai
      ner.java:1476)
      at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContai
      ner.java:639)
      at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.ja
      va:112)
      at org.apache.wicket.Component.renderComponent(Component.java:2480)
      at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1411)

      at org.apache.wicket.Component.render(Component.java:2317)
      at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:129
      7)
      at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContai
      ner.java:1476)
      at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.
      java:1401)
      at org.apache.wicket.Component.renderComponent(Component.java:2480)
      at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1411)

      at org.apache.wicket.Component.render(Component.java:2317)
      at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:129
      7)
      at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContai
      ner.java:1476)
      at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContai
      ner.java:639)
      at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.ja
      va:112)
      at org.apache.wicket.Component.renderComponent(Component.java:2480)
      at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1411)

      at org.apache.wicket.Component.render(Component.java:2317)
      at org.apache.wicket.Component.renderComponent(Component.java:2420)
      at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequest
      Target.java:785)
      at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxReques
      tTarget.java:662)
      at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.ja
      va:577)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(Abstr
      actRequestCycleProcessor.java:104)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.j
      ava:1181)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
      355)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.ja
      va:200)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
      Handler.java:1084)
      at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(Co
      ncurrentLoginFilter.java:54)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
      Handler.java:1084)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
      60)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
      a:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
      81)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
      26)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)

      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
      lerCollection.java:206)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.
      java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
      52)
      at org.mortbay.jetty.Server.handle(Server.java:324)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:50
      5)
      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpCo
      nnection.java:829)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
      va:395)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.j
      ava:488)

      Attachments

        Activity

          People

            fvlankvelt Frank van Lankvelt (Inactive)
            swesten Stephan Westen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: