in 1.5 you can use getMarkup() and you can move your code to onMarkupAttached()
-igor On Fri, Jun 24, 2011 at 12:39 PM, Adriano dos Santos Fernandes <adrian...@gmail.com> wrote: > Hi! > > I want to add some components to the hierarchy dynamically based on the > wicket:id presents in the HTML. > > Basically, I want to check if an used wicket:id was not explicitly added > (with add method) by the user and then (in some cases) add it. > > But I'm having trouble to do that. I tried with IComponentResolver, but then > I needed to use autoAdd but I can't afford the component being removed. > > So I'm trying in onBeforeRender, but how do I can query the markup to see > the list of child wicket:id's of a given component? > > > Adriano > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org