why dont you start a vote to have this changed back to pre-1.4.2 behavior. if enough people agree we would have no problem applying the change.
-igor On Fri, Feb 5, 2010 at 1:13 AM, Girts Ziemelis <[email protected]> wrote: > According to the developers this was a "bug" in a the original "enclosure" > implementation, which allowed NOT to add all child components (if enclosure > is not shown on page). Now since version 1.4.2 it is "corrected". > So you have to add both object_title_classification_prefix, and > object_title_classification in both cases, when enclosure IS displayed and > when it is NOT. > For the same reason I am still on 1.4.1, so this is only my guess ... > > See mailing list archives for enclosure related topics, e.g. > http://old.nabble.com/Re:-enclosure-changes-in-1.4.4-p26763772.html > > Girts Ziemelis > > On 02/05/2010 12:06 AM, Chris Colman wrote: >> >> I've found the problem with any version after 1.4.2. With 1.4.2 I seem >> to be able to use enclosures just fine - even when the children are >> supplied by a component resolver - but any 1.4.3, 1.4.4 and 1.4.5 cause >> problems. I haven't yet tried 1.4.6 but from what you're saying it >> probably has the same problem. >> >> Chris Colman >> Step Ahead Software >> http://develop.stepaheadsoftware.com >> >> >>> >>> -----Original Message----- >>> From: Roman Uhlig Maxity.de [mailto:[email protected]] >>> Sent: Friday, 5 February 2010 2:23 AM >>> To: [email protected] >>> Subject: Re: wicket enclosure not finding child!? >>> >>> >>> I just upgraded from 1.4.1 to 1.4.6 and now I'm getting this error too >>> without changing anything else in my source code: >>> >>> 04 Feb 2010 16:01:20,352 ERROR [org.apache.wicket.RequestCycle:1521] >>> Could not find child with id: object_title_classification_prefix in >>> >> >> the >> >>> >>> wicket:enclosure >>> org.apache.wicket.WicketRuntimeException: Could not find child with >>> >> >> id: >> >>> >>> object_title_classification_prefix in the wicket:enclosure >>> at >>> >>> >> >> org.apache.wicket.markup.html.internal.Enclosure.checkChildComponent(Enc >> >>> >>> losure.java:220) >>> at >>> >>> >> >> org.apache.wicket.markup.html.internal.Enclosure.ensureAllChildrenPresen >> >>> >>> t(Enclosure.java:262) >>> at >>> >>> >> >> org.apache.wicket.markup.html.internal.Enclosure.onComponentTagBody(Encl >> >>> >>> osure.java:169) >>> at >>> org.apache.wicket.Component.renderComponent(Component.java:2619) >>> at >>> org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1512) >>> at org.apache.wicket.Component.render(Component.java:2450) >>> at >>> org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229) >>> at >>> >>> >> >> org.apache.wicket.markup.resolver.EnclosureResolver.resolve(EnclosureRes >> >>> >>> olver.java:61) >>> at >>> >>> >> >> org.apache.wicket.markup.resolver.ComponentResolvers.resolve(ComponentRe >> >>> >>> solvers.java:81) >>> at >>> >>> >> >> org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1418) >> >>> >>> at >>> >>> >> >> org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer >> >>> >>> .java:1577) >>> at >>> >>> >> >> org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.jav >> >>> >>> a:1501) >>> at >>> org.apache.wicket.Component.renderComponent(Component.java:2619) >>> at >>> org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1512) >>> at org.apache.wicket.Component.render(Component.java:2450) >>> at >>> >>> >> >> org.apache.wicket.markup.repeater.AbstractRepeater.renderChild(AbstractR >> >>> >>> epeater.java:122) >>> at >>> >>> >> >> org.apache.wicket.markup.repeater.AbstractRepeater.onRender(AbstractRepe >> >>> >>> ater.java:103) >>> at org.apache.wicket.Component.render(Component.java:2450) >>> at >>> >>> >> >> org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1414) >> >>> >>> at >>> >>> >> >> org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer >> >>> >>> .java:1577) >>> at >>> >>> >> >> org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.jav >> >>> >>> a:1501) >>> at >>> org.apache.wicket.Component.renderComponent(Component.java:2619) >>> at >>> org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1512) >>> at org.apache.wicket.Component.render(Component.java:2450) >>> at >>> org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229) >>> at >>> >>> >> >> org.apache.wicket.markup.resolver.MarkupInheritanceResolver.resolve(Mark >> >>> >>> upInheritanceResolver.java:66) >>> at >>> >>> >> >> org.apache.wicket.markup.resolver.ComponentResolvers.resolve(ComponentRe >> >>> >>> solvers.java:81) >>> at >>> >>> >> >> org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1418) >> >>> >>> at >>> >>> >> >> org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer >> >>> >>> .java:1577) >>> at >>> >>> >> >> org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.jav >> >>> >>> a:1501) >>> at >>> org.apache.wicket.Component.renderComponent(Component.java:2619) >>> at >>> org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1512) >>> at org.apache.wicket.Component.render(Component.java:2450) >>> at >>> org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229) >>> at >>> >>> >> >> org.apache.wicket.markup.resolver.MarkupInheritanceResolver.resolve(Mark >> >>> >>> upInheritanceResolver.java:73) >>> at >>> >>> >> >> org.apache.wicket.markup.resolver.ComponentResolvers.resolve(ComponentRe >> >>> >>> solvers.java:81) >>> at >>> >>> >> >> org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1418) >> >>> >>> at >>> org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1528) >>> at org.apache.wicket.Page.onRender(Page.java:1565) >>> at org.apache.wicket.Component.render(Component.java:2450) >>> at org.apache.wicket.Page.renderPage(Page.java:914) >>> at >>> >>> >> >> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget >> >>> >>> .respond(BookmarkablePageRequestTarget.java:261) >>> at >>> >>> >> >> org.apache.wicket.request.AbstractRequestCycleProcessor.respond(Abstract >> >>> >>> RequestCycleProcessor.java:105) >>> at >>> >>> >> >> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java >> >>> >>> :1258) >>> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) >>> at >>> >> >> org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) >> >>> >>> at >>> >> >> org.apache.wicket.RequestCycle.request(RequestCycle.java:545) >> >>> >>> at >>> >>> >> >> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479 >> >>> >>> ) >>> at >>> >>> >> >> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java: >> >>> >>> 312) >>> at >>> >>> >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown >> >>> >>> Source) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown >>> >> >> Source) >> >>> >>> at >>> >> >> org.apache.catalina.core.StandardWrapperValve.invoke(Unknown >> >>> >>> Source) >>> at >>> >> >> org.apache.catalina.core.StandardContextValve.invoke(Unknown >> >>> >>> Source) >>> at org.apache.catalina.core.StandardHostValve.invoke(Unknown >>> Source) >>> at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown >>> Source) >>> at org.apache.catalina.core.StandardEngineValve.invoke(Unknown >>> Source) >>> at org.apache.catalina.connector.CoyoteAdapter.service(Unknown >>> Source) >>> at org.apache.coyote.http11.Http11Processor.process(Unknown >>> Source) >>> at >>> >>> >> >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( >> >>> >>> Unknown Source) >>> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(Unknown >>> Source) >>> at java.lang.Thread.run(Thread.java:619) >>> >>> >>> HTML (edited): >>> >>> <wicket:enclosure child="object_title_classification"> >>> <img wicket:id="object_title_classification_prefix" border="0" >>> alt="" /> >>> <img wicket:id="object_title_classification" border="0" alt="" >>> /> >>> </wicket:enclosure> >>> >>> Kind regards, >>> Roman >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
