Hi, Use it as #add(), the only difference is that you have to add it for each request (thus in #onBeforeRender() or onConfigure()) because it is dropped automatically at the end of the request.
On Sat, Feb 25, 2012 at 7:11 AM, Martin Makundi <martin.maku...@koodaripalvelut.com> wrote: >> if the component is stateless you can autoadd it in onbeforerender(), >> such components are removed at the end of the request > > I tried to google for an example of using autoAdd, but did not find > anything solid. > > How would this be used to have a component (for example a label) > autoAdded so that it would dissolve itself before page serialization? > > ** > Martin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org