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

Buttons not working / wicket error in user admin screen

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • r2.03.00 (m10 - scalability)
    • None
    • None
    • svn rev 15899

    Description

      • log in to the CMS
      • open CMS administration tab
      • click on User Administration
      • click on a user
      • click on Set group memberships
      • nothing happens, but an error is logged:

      12.01.2009 11:53:39 ERROR [org.apache.wicket.RequestCycle.logRuntimeException():1437] Unable to find component with id 'user-local-memberships' in [MarkupContainer [Component id = panel]]. This means that you declared wicket:id=user-local-memberships 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:/home/niels/dev/hippo-ecm/trunk/quickstart/war/target/work/webapp/WEB-INF/lib/hippo-ecm-addon-cms-admin-2.03.00-SNAPSHOT.jar!/org/hippoecm/frontend/plugins/cms/admin/users/SetMembershipsPanel.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>
        <wicket:message key="user-membership-available-groups"/>
        <div class="hippo-controlpanel-actions">
        <form wicket:id="form">
        <select wicket:id="local-groups">
        <option>group1</option>
        </select>
        <input value="add" type="button" wicket:id="submit"/>
        </form>
        </div>
        <span wicket:id="user-local-memberships"></span>
        <table class="hippo-list-details">
        <tr wicket:id="local-memberships">
        <td><label wicket:id="local-membership"/></td>
        <td><li class="delete-16 icon-16" wicket:id="remove"/></td>
        </tr>
        </table>
        <span wicket:id="user-external-memberships"></span>
        <ul class="admin-user-memberships">
        <li wicket:id="external-memberships">
        <label wicket:id="external-membership"/>
        </li>
        </ul>
        </wicket:panel>
        </html>
        , index = 17, current = '<span wicket:id="user-local-memberships">' (line 28, column 5)]
        org.apache.wicket.markup.MarkupException: Unable to find component with id 'user-local-memberships' in [MarkupContainer [Component id = panel]]. This means that you declared wicket:id=user-local-memberships 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:/home/niels/dev/hippo-ecm/trunk/quickstart/war/target/work/webapp/WEB-INF/lib/hippo-ecm-addon-cms-admin-2.03.00-SNAPSHOT.jar!/org/hippoecm/frontend/plugins/cms/admin/users/SetMembershipsPanel.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>
        <wicket:message key="user-membership-available-groups"/>
        <div class="hippo-controlpanel-actions">
        <form wicket:id="form">
        <select wicket:id="local-groups">
        <option>group1</option>
        </select>
        <input value="add" type="button" wicket:id="submit"/>
        </form>
        </div>
        <span wicket:id="user-local-memberships"></span>
        <table class="hippo-list-details">
        <tr wicket:id="local-memberships">
        <td><label wicket:id="local-membership"/></td>
        <td><li class="delete-16 icon-16" wicket:id="remove"/></td>
        </tr>
        </table>
        <span wicket:id="user-external-memberships"></span>
        <ul class="admin-user-memberships">
        <li wicket:id="external-memberships">
        <label wicket:id="external-membership"/>
        </li>
        </ul>
        </wicket:panel>
        </html>
        , index = 17, current = '<span wicket:id="user-local-memberships">' (line 28, column 5)]
        at org.apache.wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:464)
        at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1344)
        at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1476)
        at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:639)
        at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java: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:1297)
        at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1476)
        at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:639)
        at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java: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(AjaxRequestTarget.java:785)
        at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:662)
        at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:577)
        at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104)
        at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java: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.java:200)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.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.java:395)
        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

      Attachments

        Activity

          People

            niels Niels van Kampenhout (Oud) (Inactive)
            niels Niels van Kampenhout (Oud) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: