thanks, I'l downgrade from 1.4.2 to 1.4.1. On Sun, Oct 18, 2009 at 7:41 PM, Girts Ziemelis <[email protected]>wrote:
> If you are using 1.4.2, there is a known problem with enclosures, which has > been fixed in 1.4 snapshot: > https://issues.apache.org/jira/browse/WICKET-2506 > > Either upgrade to snapshot or downgrade to 1.4.1. > > > Sam Zilverberg wrote: > >> i'm getting the following error: >> >> WicketMessage: Could not find child with id: serial in the >> wicket:enclosure >> >> Root cause: >> >> org.apache.wicket.WicketRuntimeException: Could not find child with id: >> serial in the wicket:enclosure >> at >> >> org.apache.wicket.markup.html.internal.Enclosure.checkChildComponent(Enclosure.java:210) >> at >> >> org.apache.wicket.markup.html.internal.Enclosure.ensureAllChildrenPresent(Enclosure.java:249) >> at >> >> org.apache.wicket.markup.html.internal.Enclosure.onComponentTagBody(Enclosure.java:169) >> at org.apache.wicket.Component.renderComponent(Component.java:2626) >> etc etc.... >> >> this is the part of my html that has the wicket:enclosure in it: >> <html xmlns:wicket> >> <wicket:extend> >> <form wicket:id="deviceForm"> >> <div style="float: left; width: 30%;"> >> <table cellspacing="0" cellpadding="2"> >> <wicket:enclosure child="serial"> >> <tr> >> <td><wicket:message key="serial">Serial</wicket:message></td> >> <td><input type="text" wicket:id="serial" size="40" >> maxlength="32" /></td> >> </tr> >> </wicket:enclosure> >> etc etc... >> >> and in the java code i'm adding the component with id "serial" to the form >> "deviceForm". >> >> anyone has any idea why this is happening? >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
