@param markupStream * Null, if the parent container is able to provide the markup. Else the markup * stream to be used to render the component.
-igor On Tue, Feb 28, 2012 at 7:55 PM, Martin Makundi <martin.maku...@koodaripalvelut.com> wrote: > Nope. It requires MarkupStream as its parameter and I seem to always > get an exception when using for example getAssociatedMarkupStream as > paramter. > > ** > Martin > > 2012/2/27 Martin Grigorov <mgrigo...@apache.org>: >> 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 >> > > --------------------------------------------------------------------- > 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