Hi ,

 

I had downloaded Wicket 1.3.4 for the Autocomplete issue with IE.

 

Now the AutoComplete works fine. But when I click on the table with
Pagination, I get the following error.

 


Unexpected RuntimeException

WicketMessage: Unable to find component with id 'first' in
[MarkupContainer [Component id = navigator, page =
com.osi.nx.objeditor.ClassBuilder, path =
0:classattrpanel:panel:navigator.DataViewClassTable$3, isVisible = true,
isVersioned = false]]. This means that you declared wicket:id=first 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:/Documents%20and%20Settings/uxp1/.m2/repository/org/apache/w
icket/wicket/1.3.4/wicket-1.3.4.jar!/org/apache/wicket/markup/html/navig
ation/paging/PagingNavigator.html

<!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You 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 xmlns:wicket>
<body>
  <wicket:panel>
        <a wicket:id="first">&lt;&lt;</a>&nbsp;<a
wicket:id="prev">&lt;</a>
    <span wicket:id="navigation">
                 <a href="#" wicket:id="pageLink"><span
wicket:id="pageNumber">5</span></a>
    </span>
    <a wicket:id="next">&gt;</a>&nbsp;<a wicket:id="last">&gt;&gt;</a>
  </wicket:panel>
</body>
</html>
, index = 3, current = '<a wicket:id="first">' (line 21, column 2)]

Root cause:

org.apache.wicket.markup.MarkupException: Unable to find component with
id 'first' in [MarkupContainer [Component id = navigator, page =
com.osi.nx.objeditor.ClassBuilder, path =
0:classattrpanel:panel:navigator.DataViewClassTable$3, isVisible = true,
isVersioned = false]]. This means that you declared wicket:id=first 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:/Documents%20and%20Settings/uxp1/.m2/repository/org/apache/w
icket/wicket/1.3.4/wicket-1.3.4.jar!/org/apache/wicket/markup/html/navig
ation/paging/PagingNavigator.html

<!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You 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 xmlns:wicket>
<body>
  <wicket:panel>
        <a wicket:id="first">&lt;&lt;</a>&nbsp;<a
wicket:id="prev">&lt;</a>
    <span wicket:id="navigation">
                 <a href="#" wicket:id="pageLink"><span
wicket:id="pageNumber">5</span></a>
    </span>
    <a wicket:id="next">&gt;</a>&nbsp;<a wicket:id="last">&gt;&gt;</a>
  </wicket:panel>
</body>
</html>
, index = 3, current = '<a wicket:id="first">' (line 21, column 2)]
     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:2481)
     at
org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1411)
     at org.apache.wicket.Component.render(Component.java:2318)
     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:2481)
     at
org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1411)
     at org.apache.wicket.Component.render(Component.java:2318)
     at org.apache.wicket.Component.renderComponent(Component.java:2421)
     at
org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTar
get.java:752)
     at
org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTa
rget.java:649)
     at
org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:
564)
     at
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(Abstract
RequestCycleProcessor.java:104)
     at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java
:1177)
     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1248)
     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349)
     at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
     at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387
)
     at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:
199)
     at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1084)
     at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
     at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2
16)
     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(ContextHandler
Collection.java:206)
     at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a: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(HttpConne
ction.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)


Markup


The problem is in
"jar:file:/C:/Documents%20and%20Settings/uxp1/.m2/repository/org/apache/
wicket/wicket/1.3.4/wicket-1.3.4.jar!/org/apache/wicket/markup/html/navi
gation/paging/PagingNavigator.html": 


<!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You 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 xmlns:wicket>
<body>
  <wicket:panel>
    <a wicket:id="first">&lt;&lt;</a>&nbsp;<a wicket:id="prev">&lt;</a>
    <span wicket:id="navigation">
          <a href="#" wicket:id="pageLink"><span
wicket:id="pageNumber">5</span></a>
    </span>
    <a wicket:id="next">&gt;</a>&nbsp;<a wicket:id="last">&gt;&gt;</a>
  </wicket:panel>
</body>
</html>

display page view
<http://localhost:8080/ClassBuilderProto/?wicket:interface=:1:displayPag
eViewLink::ILinkListener::>  

 

Could you please help me out.

 

Thanks and regards,

Umesh Paliwal

 

Reply via email to