this is already fixed in trunk -igor
On 9/10/07, Kent Tong <[EMAIL PROTECTED]> wrote: > > > > Kevin Liu-4 wrote: > > > > Unable to find component with id 'userName' in [MarkupContainer > > [Component id = _relative_path_prefix_14, page = > > com.cmip.web.pages.TopFrame, path = > > > 3:topForm:_relative_path_prefix_13:_relative_path_prefix_14.WebMarkupContainer, > > isVisible = true, isVersioned = true]]. This means that you declared > > wicket:id=userName in your markup, but that you either did not add the > > component to your page at all, or that the hierarchy does not match. > > > > Please file a bug report at http://issues.apache.org/jira/browse/WICKET. > The > bug is, > RelativePathPrefixHandler creates auto-components but are not marking them > as > transparent resolver: > > public boolean resolve(MarkupContainer container, MarkupStream > markupStream, ComponentTag tag) > { > if (WICKET_RELATIVE_PATH_PREFIX_CONTAINER_ID.equals( > tag.getId())) > { > final Component wc; > String id = > WICKET_RELATIVE_PATH_PREFIX_CONTAINER_ID + > container.getPage > ().getAutoIndex(); > if (tag.isOpenClose()) > { > wc = new WebComponent(id); > } > else > { > //problem: > wc = new WebMarkupContainer(id); > //I think it should be: > //wc = new > TransparentWebMarkupContainer(id); > } > container.autoAdd(wc, markupStream); > return true; > } > return false; > } > > > -- > View this message in context: > http://www.nabble.com/How-to-handle-these-nested-%3Ctable%3E-tags-tf4412208.html#a12595047 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
